Fix: Hyper-V R2 Account Permission Error on Guest VM

The following error may appear if you restore a virtual hard disk (VHD) and attempt to attach it to a new guest virtual machine (or child partition) in Hyper-V R2:

[Window Title]
New Virtual Machine Wizard

[Main Instruction]
The server encountered an error while configuring hard disk on virtualMachineName.

[Content]
Failed to add device ‘Microsoft Virtual Hard Disk’.

User Account does not have permission to open attachment.

Cannot get information for attachment ‘C:\ClusterStorage\Volume1\virtualMachineName\virtualMachineName_disk_1.vhd’

Account does not have permission to open attachment.

[Expanded Information]
‘virtualMachineName’ failed to add device ‘Microsoft Virtual Hard Disk’. (Virtual machine ID  - - - - )

‘virtualMachineName’: User account does not have permission required to open attachment ‘C:\ClusterStorage\Volume1\virtualMachineName\virtualMachineName_disk_1.vhd’. Error: ‘General access denied error’ (0×80070005). (Virtual machine ID  - - - - )

‘virtualMachineName’: Cannot get information for attachment ‘C:\ClusterStorage\Volume1\virtualMachineName\virtualMachineName_disk_1.vhd’. (Virtual machine ID  - - - - )

‘virtualMachineName:  account does not have permission required to open attachment ‘C:\ClusterStorage\Volume1\virtualMachineName\virtualMachineName_disk_1.vhd’. Error: ‘General access denied error’ (0×80070005). (Virtual machine ID  - - - - )

[^] Hide details  [Close]

This error is caused by the file level NTFS permissions that were restored together with the VHD. The resolution is simple: navigate to the folder containing the affected VHDs, call out the VHD’s properties, go to the Security tab and change permissions to inherit from the parent folder.

Technorati tags: Hyper-V, Windows Server 2008 R2

No Comments »

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.