Virtual machine could not be started because the hypervisor is not running

Issue

Cannot launch any virtual machines on a Hyper-V host server (Windows Server 2016 Standard). Following error message is displayed when trying to start a VM:

Error: Virtual machine could not be started

Hyper-V Manager
An error occurred while attempting to start the selected virtual machine(s).
<VM-NAME> failed to start.
Virtual machine could not be started because the hypervisor is not running.

Resolution

Running systeminfo in command prompt shows that host is ready for Virtualisation:

systeminfo output

However, this also means that hypervisor is not running. When hypervisor is running systeminfo should return following:

A hypervisor has been detected. Features required for Hyper-V will not be displayed.

To resolve this, run following command to enable hypervisor in bcdedit:

bcdedit /set {current} hypervisorlaunchtype auto

To confirm, that hypervisor s now enabled, run bcdedit again and look for following line:

hypervisorlaunchtype - Auto

After rebooting the server virtual machines started with no issues.

November 2018
Windows Server 2018 Standard

 

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait