You might get following error after you move or replace a virtual disk drive file of a hyper-v virtual machine.
An error occurred while attempting to start the selected virtual machine(s).
'TestVM' failed to start. Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to Power on with Error 'General access denied error' IDE/ATAPI Account does not have sufficient privilege to open attachment 'D:VMTestVMTestVM.vhd. Error: ‘General access denied error' Account does not have sufficient privilege to open attachment 'D:VMTestVMTestVM.vhd. Error: ‘General access denied error'
This is because the permissions on the new virtual hard drive (D:VMTestVMTestVM.vhd in this case) are incorrect. Here is the steps to fix this permission file.
- Open Hyper-V manager, Right click settings of the virtual machine
- Find the Virtual Hard Drive and choose “Remove”.
- Re-add the same Virtual Hard Drive back to the machine.
- Now start the VM again, it should boot successfully.
Excelente aporte.
Thanks dude
Thanks, really helped me out.
Thanks a million! I had a problem with my server 2012 and it’s a production machine. I couldn’t take snapshots or start after shutting it down. This fixed my issue! thank you so much… for some reason it had removed my permission on the VHD file and this put it back.
Thaks a lot man. I had found many workarounds but this one is the easiest and the one that worked
Thanks!
Thanks a lot, in all web microsoft were saying to run a very long command that was useless. This I have done in 2 minutes.
thank very much !!!
Thank you! Worked like a charm.
Nice thats what I did, but microsoft was swearing you should run some command like this:
icacls “D:\Mindsight_VHDs\TeamMindsightCO_FedoraServer\Fedora Server 24_2.vhdx” /grant “NT VIRTUAL MACHINE\83f8638b-8dca-4152-9eda-2ca8b33039b4”:(F)
Thought I would try removing and add my Linux device’s first, and it worked.
I Love You!!!!!
well you know what i mean…. 🙂
same problem on windows server 2016.
you save my life 😀
tk u
Really Microsoft Sucks ! Dude you are excellent you save my ass.Perfect solution after running following command from microsoft i swear i want to make sucide.
icacls “D:\Mindsight_VHDs\TeamMindsightCO_FedoraServer\Fedora Server 24_2.vhdx” /grant “NT VIRTUAL MACHINE\83f8638b-8dca-4152-9eda-2ca8b33039b4”:(F)
Your solution works in a second.
Thanks. Found other sites about using icacls to reset permissions and all kinds of crazy complicated things that didn’t end up working anyway. This solutions was so simple and worked perfectly.
it works !!!
Thanks! Still useful in 2018
Thank you. It works!
works, thank you!
Thank you so much. It worked and saved me time troubleshooting
Simple solution for a great problem =)
Thanks a bilion 😀
Worked like a charm
Thank you, worked for me as well.
Thank you, worked for me as well
Excellent, thank you very much, it worked very well and I should not call anyone to get the server up.
This worked – thank you!