Hi
I have a Windows 8.1 (with updates) System which was upgraded from Windows 8.0 using a Clean Install. Recently Hyper-V has stopped running on my system.
The Event log shows an error:
'CentOS65' failed to start worker process: Server execution failed (0x80080005). (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
- System
- Provider
[ Name] Microsoft-Windows-Hyper-V-VMMS
[ Guid] {6066F867-7CA1-4418-85FD-36E3F9C0600C}
EventID 15500
Version 0
Level 2
Task 0
Opcode 0
Keywords 0x8000000000000000
- TimeCreated
[ SystemTime] 2014-07-17T07:57:28.568965100Z
EventRecordID 302
Correlation
- Execution
[ ProcessID] 4040
[ ThreadID] 1396
Channel Microsoft-Windows-Hyper-V-VMMS-Admin
Computer viveksasmung
- Security
[ UserID] S-1-5-18
- UserData
- VmlEventLog
VmName CentOS65
VmId 9EF5529D-3755-40B3-AC6A-325A564D19BB
ErrorMessage %%2148007941
ErrorCode 0x80080005
The WMI-Activity log shows the error:
Id = {00000000-0000-0000-0000-000000000000}; ClientMachine = VIVEKSASMUNG; User = viveksasmung\Vivek; ClientProcessId = 9756; Component = Core; Operation = Start IWbemServices::ExecNotificationQuery - root\virtualization\v2 : select * from __InstanceDeletionEvent
within 2 where TargetInstance ISA 'Msvm_ComputerSystem' ; ResultCode = 0xC7F0FCD0; PossibleCause = Could not send status to client
The Hyper-V-VMMS Admin Log shows the error:
The worker process for virtual machine 'CentOS65' failed to respond within the startup timeout period and was restarted. (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
'CentOS65' failed to start. (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
The Hyper-V Worker Log shows the error:
The Virtual Machine Worker Process has lost its connection to the root\virtualization WMI namespace: General access denied error (0x80070005). As a result, some WMI operations may not function correctly. To correct the problem, try restarting the Windows Management Instrumentation service.
I set the Hyper-V Tracing to ON using vmconnect.config file and the error log is as follows:
Tracing Hyper-V Client version: 6.3.0.0. Rough build date (virtman file written): 05/18/2014 23:25:02
2014-07-17 01:55:28.990 [08] USER_ACTION_INITIATED VMBrowser ServerNode:ConnectToServer() Connecting to server localhost...
2014-07-17 01:55:29.008 [08] USER_ACTION_COMPLETED VMBrowser ServerNode:ConnectToServer() Successfully connected to server.
2014-07-17 01:55:29.463 [07] WARNING VirtMan WmiAssociation:GetRelatedObjects() The WMI object 'Msvm_RdvComponentSettingData' + could not be mapped to VirtMan type so ignore it.
2014-07-17 01:55:33.001 [03] USER_ACTION_INITIATED VMBrowser ServerNodeViewControl:OnStartVm() Starting VM(s)...
2014-07-17 01:55:33.023 [09] USER_ACTION_INITIATED VMBrowser VMActionBatchPerformer:Perform() Changing virtual machine '9EF5529D-3755-40B3-AC6A-325A564D19BB' ('CentOS65') state from 'PowerOff' to 'Running'
2014-07-17 01:59:33.927 [12] ERROR VirtMan ThrowHelper:ThrowVirtualizationOperationFailedException() Operation 'SetState' failed with message ''CentOS65' failed to start.'.
Error code '32768'.
Detailed message ''CentOS65' failed to start. (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
'CentOS65' failed to start worker process: Server execution failed (0x80080005). (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)'.
2014-07-17 01:59:33.930 [12] ERROR VMBrowser VMActionBatchPerformer:OnTaskCompleted() Tracked task operation failed!
'CentOS65' failed to start.
at Microsoft.Virtualization.Client.Management.ThrowHelper.ThrowVirtualizationOperationFailedException(String errorMsg, String errorDescriptionMsg, VirtualizationOperation operation, Int64 errorCode, Boolean operationCanceled,
ErrorCodeMapper mapper, Exception innerException)
at Microsoft.Virtualization.Client.Management.View.EndMethodReturnInternal(IVMTask task, VirtualizationOperation operation, Boolean affectedElementExpected)
at Microsoft.Virtualization.Client.Management.VMComputerSystemBaseView.EndSetState(IVMTask setStateTask)
at Microsoft.Virtualization.Client.VMBrowser.ChangeVMStatePerformer.EndTrackedTask(IVMTask task)
at Microsoft.Virtualization.Client.VMBrowser.VMActionBatchPerformer.OnTaskCompleted(Object sender, EventArgs e)
2014-07-17 01:59:46.103 [03] USER_ACTION_INITIATED VMBrowser ServerNode:DisconnectFromServer() Disconnecting from server localhost...
2014-07-17 01:59:46.104 [03] USER_ACTION_COMPLETED VMBrowser ServerNode:DisconnectFromServer() Server had been disconnected successfully.
Upon using BCDEdit, output is below
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \bootmgr
description Windows Boot Manager
locale en-GB
default {current}
resumeobject {37225af7-cc62-11e3-8277-806e6f6e6963}
displayorder {current}
{3ce506e4-cc90-11e3-8b9f-8a809d5a6432}
timeout 30
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 8.1 Pro with Media Center
locale en-GB
recoverysequence {3ce506df-cc90-11e3-8b9f-8a809d5a6432}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {37225af7-cc62-11e3-8277-806e6f6e6963}
bootmenupolicy Legacy
hypervisorlaunchtype Auto
quietboot No
Real-mode Boot Sector
---------------------
identifier {3ce506e4-cc90-11e3-8b9f-8a809d5a6432}
device partition=C:
path \Hd0Par3.pbr
description Ubuntu LTS 14.04
I have set permissions to the VHD folder using the command below
icacls "c:\CentOS65\CentOS65" /grant "CREATOR OWNER":(OI)(CI)(IO)F
icacls "c:\CentOS65\CentOS65" /grant "NT AUTHORITY\SYSTEM":(OI)(CI)F
icacls "c:\CentOS65\CentOS65" /grant "NT VIRTUAL MACHINE\Virtual Machines":(RC,S,GR,RD,WD,AD,REA,RA)
icacls "c:\CentOS65\CentOS65" /grant "NT VIRTUAL MACHINE\Virtual Machines":(CI)(IO)(GR,WD,AD)
icacls "c:\CentOS65\CentOS65\Virtual Hard Disks" /grant "NT VIRTUAL MACHINE\Virtual Machines":(RC,S,GR,RD,WD,AD,REA,RA)
icacls "c:\CentOS65\CentOS65\Virtual Hard Disks" /grant "NT VIRTUAL MACHINE\Virtual Machines":(CI)(IO)(GR,WD,AD)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome_9E7FEF2E-85E0-4278-AABD-01D5E45EE643.avhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65_28FF0E50-0FBA-4754-A4CC-B3DAEC7E3DAA.avhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(F)
icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(F)
icacls "C:\CentOS65\CentOS65\Virtual Machines\9EF5529D-3755-40B3-AC6A-325A564D19BB.xml" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(F)
I am unable to create new VMs as well.
I have already run
- sfc/ scannow
- DISM
Already Tried disabling the antivirus
Upon using wbemtest and connecting to root\virtualization, I am able to click Enum Classes > Recursive
Kindly suggest how to get HyperV working please. Any help (short of reinstalling /resetting windows) would be much appreciated.
Warm Regards,
Dr Vivek Gupta