question

WideBody-4185 avatar image
0 Votes"
WideBody-4185 asked saldana-msft edited

Cannot run Hyper-V virtual machine, component not running

OK, I am running Microsoft Windows [Version 10.0.19042.450]

I have tried uninstalling Hyper-V features, rebooting, reinstalling Hyper-V and rebooting.

I have tried DISM and SFC /scannow with NO issues or problems.

I have deleted my TPM 2.0 security and put it back.

Deleted the VM and created a new one with the same VHD, same problem.

It also happens when I try to boot Ubuntu.

I checked the bios and virtualization is enabled

I did find this in the event log Hyper-V-Hypervisor/Operational

Hyper-V detected access to a restricted MSR (Msr: 0x638, IsWrite: 0x1, MsrValue: 0x0, AccessStatus: 0x0, Pc: 0xFFFFF806803614AC, ImageBase: 0xFFFFF80680360000, ImageChecksum: 0x11908, ImageTimestamp: 0x488B26C1, ImageName: WinRing0x64.sys).

I am all out of ideas, please help.

Thanks!



21266-hosterr.jpg


windows-10-hyperv
hosterr.jpg (298.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Please let me know if you have any other questions.

Best Regards,
Daniel

0 Votes 0 ·

1 Answer

DanielZhou-MSFT avatar image
0 Votes"
DanielZhou-MSFT answered

Hi,

  1. You need to enable both VT / V and Trusted Execution Prevention / Data Execution Prevention (this goes by lots of names) in the BIOS.

Then you need to cold boot. Full power off and power on, not just reboot.

Also, make sure your BIOS is up to date, and any other motherboard firmware.

  1. Running these commands from an admin command to restart VMMS service.

net stop vmms
net start vmms

  1. Configure the real-time scanning component within your antivirus software to exclude the following directories and files:
    Default virtual machine configuration directory (C:\ProgramData\Microsoft\Windows\Hyper-V)
    Custom virtual machine configuration directories
    Default virtual hard disk drive directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)
    Custom virtual hard disk drive directories
    Custom replication data directories, if you are using Hyper-V Replica
    Snapshot directories
    Vmms.exe (Note: This file may have to be configured as a process exclusion within the antivirus software.)
    Vmwp.exe (Note: This file may have to be configured as a process exclusion within the antivirus software.)

For more information, please see:

https://social.technet.microsoft.com/Forums/ie/en-US/d7e13a44-a9c3-4cb6-b45a-6b347f32b97c/hyperv-failed-to-start-the-virtual-machine-test-because-one-of-the-hyperv-components-is-not?forum=winserverhyperv

https://social.technet.microsoft.com/Forums/windows/en-US/223443d6-659a-4e24-8a23-4cb11f0c3156/windows-8-hyperv-virtual-machine-management-service-failed-to-start-the-virtual-machine

Best Regards,
Daniel

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.