From LedHed's Wiki
(Created page with "== Overview == Sometimes when copying and importing a VM you get an error that looks something like this: *Virtual Machine failed to start *General access denied error’ (0x8...") |
|||
Line 3: | Line 3: | ||
*Virtual Machine failed to start | *Virtual Machine failed to start | ||
*General access denied error’ (0x80070005) | *General access denied error’ (0x80070005) | ||
− | + | <br> | |
This is typically a permissions issue. The Virtual Machine account doesn't have permissions to access the Virtual Hard Disk (VHD/VHDX) or Snapshot (.AVHD) | This is typically a permissions issue. The Virtual Machine account doesn't have permissions to access the Virtual Hard Disk (VHD/VHDX) or Snapshot (.AVHD) | ||
Line 11: | Line 11: | ||
*Run the following command: | *Run the following command: | ||
icacls "E:\VMs\VMName\Disk0.vhd" /grant "NT VIRTUAL MACHINE\5FC5C385-BD98-451F-B3F3-1E50E06EE663":(F) | icacls "E:\VMs\VMName\Disk0.vhd" /grant "NT VIRTUAL MACHINE\5FC5C385-BD98-451F-B3F3-1E50E06EE663":(F) | ||
− | NOTE: Substitute the file path and the | + | NOTE: Substitute the file path and the Virtual ID |
Latest revision as of 07:19, 20 May 2017
Overview
Sometimes when copying and importing a VM you get an error that looks something like this:
- Virtual Machine failed to start
- General access denied error’ (0x80070005)
This is typically a permissions issue. The Virtual Machine account doesn't have permissions to access the Virtual Hard Disk (VHD/VHDX) or Snapshot (.AVHD)
Solution
- Obtain the Virtual Machine ID. This can be found by copying the filename of the .vmcx file (and omitting the file extension)
- Run the following command:
icacls "E:\VMs\VMName\Disk0.vhd" /grant "NT VIRTUAL MACHINE\5FC5C385-BD98-451F-B3F3-1E50E06EE663":(F)
NOTE: Substitute the file path and the Virtual ID