Hyper-V, CSV en een machine “High Available” maken lukt niet. “IDE/ATAPI Account does not have sufficient privilege”

Je wilt een Virtual Machine High Available maken in je Hyper-V cluster omgeving en je krijgt onderstaande error.

‘VMName’: IDE/ATAPI Account does not have sufficient privilege to open attachment
‘E:\VMs\VMName\Disk0.vhd. Error: ‘General access denied error’ (0x80070005). (Virtual Machine ID 5FC5C385-BD98-451F-B3F3-1E50E06EE663)
Zoals de error (0x80070005) aangeeft gaat het hier om een “Permissions” verhaal op de VM files. Gelukkig is hier een goed artikel over te vinden.

To resolve this issue, add the Virtual Machine SID to the virtual hard disk (.vhd) file or to the snapshot file (.avhd).
http://support.microsoft.com/kb/2249906

Citaat:
“To add the Virtual Machine SID to a .vhd or .avhd file, follow these steps:

  1. 1.     Note the Virtual Machine ID that is listed in the “‘General access denied error’ (0x80070005)” error message.For example, consider the following error message:  


‘VMName’: IDE/ATAPI Account does not have sufficient privilege to open attachment
‘E:\VMs\VMName\Disk0.vhd. Error: ‘General access denied error’ (0x80070005). (Virtual
Machine ID 5FC5C385-BD98-451F-B3F3-1E50E06EE663)


In this example, the Virtual Machine ID is 5FC5C385-BD98-451F-B3F3-1E50E06EE663.

  1. 2.     Open an elevated command prompt.
  2. 3.     To give the Virtual Machine ID (SID) access to the .vhd or .avhd file, type the following command, and then press ENTER:

icacls <Path of .vhd or .avhd file> /grant “NT VIRTUAL MACHINE\<Virtual Machine ID from step 1>”:F

For example, to use the Virtual Machine ID that was noted in step 1, type the following command, and then press ENTER:

icacls “E:\VMs\VMName\Disk0.vhd” /grant “NT VIRTUAL MACHINE\5FC5C385-BD98-451F-B3F3-1E50E06EE663”:F

  1. Start the virtual machine.”
0 antwoorden

Plaats een Reactie

Meepraten?
Draag gerust bij!

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *