logo logo

After performing Physical to Virtual conversion, Virtual Machine will not boot due to Access Denied error

The VHDX file needs permissions for the VM GUID to access full control over the file.

Essentially, copy down the VM ID. You can get this ID by hitting the “More” link on the error message that Hyper-V manager gives you while attempting to start. Then, on the Hyper-V machine, run the following command:

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

As long as you copied down the VM GUID correctly, you should receive a success message after running the command. The machine should then boot successfully.