Error upon starting a nested Virtual machine inside a windows server 2012 vm

Viewed 19

I have created a VM with windows server 2012 using VMWare workstation in windows 11 on a Ryzen laptop with virtualization enabled in the BIOS. Upon creating another virtual machine using hyper-v in windows server 2012 virtual machine and starting it I get the error "Could not start virtual machine because hypervisor is not running".

On the physical PC when I use the systeminfo command in cmd in the hypervisor requirements it says "A hypervisor has been detected. Features required for hyper-v will not be displayed".

I need help fixing this error.

Error - Virtual Machine could not start because the hypervisor is not running

1 Answers

This is not actually an issue it tells you even that hyper-v is enabled "A hypervisor has been detected. Features required for hyper-v will not be displayed".

Run the following in power shell (as administrator):

  1. Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V

  2. bcdedit / set hypervisorlaunchtype auto

  3. Restart and start the VM

Optionally run:

1.a. dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

1.b. dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Related