Friday, March 29, 2013

HyperV Annoyance: An error occurred while attempting to snapshot the selected virtual machine - Access denied : Solution

I recently moved to Windows 8 and one of its best features is the Hyper-V role on the client SKU. At times, when I import VHDs from my friends and try to create a snapshop, the HyperV throws an error saying "An error occurred while attempting to snapshot the selected virtual machine: Access denied"

This is because of an ACL mis-configuration and can be fixed in a jiffy.

Note: This is my quick and dirty method of fixing the issue. Not sure if it is the recommended one.

Solution:

  • Login as the administrator of the machine

  • Right click on the folder in which you have placed the VHD and click on Properties


p1

  • Go to Security tab and click on Advanced


p2

  • Click on Enable Inheritance  and check "Replace all child object permission entries with inheritable permission entries from this object"


p3

  • Click Apply


This should resolve the security permission issue.

GraphQL

GraphQL What is GraphQL It is a specification laid out by Facebook which proposed an alternative way to query and modify data. Think o...