In Windows 2008 R2 Hyper-V, The Virtual Machine failed to start as the VM has been moved to new place or modified the name where their symbolic link missing update.
The below error might occur while trying to start the virtual machine. In this scenario, The VM Server2008 was trying to start and failed deliberately. The reason behind is VM was moved to new CSV and updated symbolic link. But the privilege was not properly updated.
Error
[Window Title]
Virtual Machine Connection
[Main Instruction]
The application encountered an error while attempting to change the state of ‘Server2008’.
[Content]
‘Server2008’ failed to start.
Microsoft Emulated IDE Controller (Instance ID {83F8448B-8DCA-4002-9EDA-2CA8773019B4}): Failed to Power on with Error ‘General access denied error’
IDE/ATAPI Account does not have sufficient privilege to open attachment ‘C:\ClusterStorage\Volume1\Server2008\Server2008.vhd’. Error: ‘General access denied error’
Account does not have sufficient privilege to open attachment ‘C:\ClusterStorage\Volume1\Server2008\Server2008.vhd’. Error: ‘General access denied error’
[Expanded Information]
‘Server2008’ failed to start. (Virtual machine ID EB4822E9-9117-4D32-A950-A1DEA70021E85)
‘Server2008’ Microsoft Emulated IDE Controller (Instance ID {83F8448B-8DCA-4002-9EDA-2CA8773019B4}): Failed to Power on with Error ‘General access denied error’ (0x80070005). (Virtual machine ID EB4822E9-9117-4D32-A950-A1DEA70021E85)
‘Server2008’: IDE/ATAPI Account does not have sufficient privilege to open attachment ‘C:\ClusterStorage\Volume1\Server2008\Server2008.vhd’. Error: ‘General access denied error’ (0x80070005). (Virtual machine ID EB4822E9-9117-4D32-A950-A1DEA70021E85)
‘Server2008’: Account does not have sufficient privilege to open attachment ‘C:\ClusterStorage\Volume1\Server2008\Server2008.vhd’. Error: ‘General access denied error’ (0x80070005). (Virtual machine ID EB4822E9-9117-4D32-A950-A1DEA70021E85)
[^] Hide details [Close]
Events:
Event Id: 1069 Cluster resource ‘Virtual Machine Server2008’ in clustered service or application ‘Server2008’ failed.
Event Id: 1205 The Cluster service failed to bring clustered service or application ‘Server2008’ completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.
Solution
Since VM was moved to new location, Inheritance security permission were applied. So need to provide privilege as mentioned below.
Navigate to the folder where the VM hard drive .VHD and XML file are locate.
Default location for virtual hard disk files: C:\Users\Public\Documents\
Hyper-V\Vi rtual Hard Disks
Default location for virtual machine configuration files: C:\ProgramData\Microsoft\Windows\Hyp er-V
Update with read-write privilege to Users and Creator Owner.
Start the Virtual Machine.