29.3 C
Ahmedabad
Friday, July 4, 2025

Hyper-V virtual machine may not start, and you receive a General access denied error 0x80070005 error message

Issue Reported:

Server configure on Hyper-V Virtual machine is not starting and giving error.

Error: A Hyper-V virtual machine may fail to start, and you receive an error message that resembles the following

VMName 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

‘E:\VMs\VMName\Disk0.vhd. Error: ‘General access denied error’

Account does not have sufficient privilege to open attachment

‘E:\VMs\VMName\Disk0.vhd. Error: ‘General access denied error’

If you click See details in the message window, the following information is displayed:

‘VMName’ failed to start. (Virtual machine ID

5FC5C385-BD98-451F-B3F3-1E50E06EE663)

‘VMName’ Microsoft Emulated IDE Controller (Instance ID

{83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to Power on with Error ‘General

access denied error’ (0x80070005). (Virtual machine ID

5FC5C385-BD98-451F-B3F3-1E50E06EE663)

‘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)

‘VMName’: 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)

Solution:

To resolve this issue, add the Virtual Machine SID to the virtual hard disk (.vhd) file or to the snapshot file (.avhd).

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

Step 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.

Step 2: Open an elevated command prompt.

Step 3: To give the Virtual Machine ID (SID) access to the .vhd or .avhd file, type the following command, and then press Enter:

icacls /grant “NT VIRTUAL MACHINE\”:(F)

For example, to use the Virtual Machine ID that you 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)

Happy learnings:-)

Thanks&regards,
Haresh Hirani
Email: [email protected], [email protected]
Facebook https://www.facebook.com/Hiraniconfigmgr-120189361980772/
Follow us: https://www.linkedin.com/in/hiraniconfigmgr 
Twitter: https://twitter.com/hiraniconfigmgr

Author

  • Hi, I Haresh Hirani, I am the person behind this webpage. Welcome to my page, Thank you for visiting the website and my page! My website is all about Microsoft technologies. More about ConfigMgr and all other technologies which are interesting for me. However, larger percentage of my posts are related to SCCM. Normally, like to post the interesting issues which I came across in my day to day tech life. you will find only solutions which comes on my day to day life.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest posts