Right Solution to Fix Your VHD Data Loss in General access denied


Right Solution to Fix Your VHD Data Loss in General access denied error (0×80070005)

Minimizing the financial budgets while facilitating actual software testing or deployment scenarios is the ultimate goal of any organization. With the birth of virtual machine technologies, significant amount of financial budgets that went exhausted in purchasing expensive hardware and software packages, are reduced. These virtual machines are software packages consisting of all configuration files that runs like a physical machine on versatile Operating Systems. Some of the most popular virtual machines are Hyper-V, VMWare, and Oracle VM VirtualBox. One of the critical component of virtual machine is its Virtual Hard Disk (VHD) which stores all the data files.

Deploying the VHD based virtual machines fetches multiple advantages, which includes:

  • Provision of backup and restore facility eases the recovery of lost files or folders in virtual machine environment.
  • Configuration and installation of specific OS and software bundle gets easier with Virtual Hard Disks.
  • Installation of multiple OS on a single hardware machine enhances the security of existing multiple users on the same machine.

Right Solution to Fix Your VHD Data Loss in General access denied

Several advantages of Hyper-V virtual machine platform has made it popular among users. However, uncalled situations puts the accessibility of Hyper-V platform into the risky state thereby affecting the Virtual Hard Drives (VHDs). Among many problems, users face General access denied error (0×80070005) which occurs during the initial launch of Hyper-V platform.

Why Hyper-V Virtual Machine Failed to Start?

Have you encountered with the following message on your screen:

‘VM’ failed to start.
Microsoft Emulated IDE Controller (Instance ID {…}): failed to Power on with Error ‘General access denied error’ (0×80070005). [Event ID 12010]
IDE/ATAPI Account does not have sufficient privilege to open attachment ‘D:Virtual MachinesVM01Virtual Hard DisksDRIVE.VHD’. Error: ‘General access denied error’ (0×80070005). [Event ID 12290]
‘VM failed to start. (Virtual machine ID 6B78E55F5-71AF-4725-B4B2-E651800BE80EF) [Event ID 13021]

The preceding error message usually occurs when a user has copied VHD from another hard drive location and re-configured into a new virtual machine. The error signifies the discrepancies in Microsoft Synthetic SCSI Controller or Microsoft Emulated IDE Controller of Hyper-V virtual machine. The chief reason behind the General access denied error is the false configured permissions on snapshot file (.avhd) or virtual hard disk file (.vhd). In addition, Virtual Machine ID (SID) plays a crucial role in initiating a virtual machine as if this unique SID is unavailable in the security permissions of .avhd or .vhd file, then virtual machine doesn’t start.

Fix General access denied error (0×80070005) with Expert Approach

One of the expert approach to deal with the failed Hyper-V virtual machine is to configure the permissions correctly for .vhd and .avhd files. To make your efforts concrete, you are required to append the Virtual Machine ID (SID) to the .vhd or .avhd files. Let us look at the following steps:

  • First fetch the Virtual Machine ID from the displayed General access denied error (0×80070005) message, which you will find in the following extract:

 VM failed to start. (Virtual machine ID 6B78E55F5-71AF-4725-B4B2-E651800BE80EF) [Event ID 13021]

  • Launch the elevated command prompt for specifying SID to .vhd or .avhd.
  • Enter the following command in the command prompt to provide unique SID to the virtual hard disk and snapshot files.

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

  • Launch the virtual machine once again to check the initialization status of virtual machine.

After stringently following these quick troubleshooting steps, if the virtual machine starts without showing any errors, then you are fortunate enough as during the General access denied error (0×80070005) loss of data files, stored on .vhd and .avhd files, can be the possibility. In dealing with such VHD corruption-like situation, saving the critical data files stored on virtual hard disk should be the priority. But, virtual machines doesn’t have advanced capabilities to recover corrupted or deleted VHD files. To perform comprehensive recovery, deploying a user-friendly and result-driven third-party tool is the necessity.

Solution – Kernel for VHD Recovery

Kernel for VHD Recovery is the advanced utility to repair and restore severely corrupted VHD data items. It works robustly with Quick Scan, Extensive Scan, and File Trace mode to ensure restoration of files from every aspect. The software formidably supports the Hyper-V and other virtual machine platforms and works efficiently with Windows 10.

visit: nucleustechnologies.com


  1. Thanks for this Information.
    But there is also another tool which I generally use. Its name is SysTools Hyper-V recovery software. I can share my personal experience of using this software. It recovered my deleted data, formatted data as well as reformatted data from VHD file.