The Computer Oracle

VirtualBox fails to start with VERR_NEM_VM_CREATE_FAILED

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Industries in Orbit Looping

--

Chapters
00:00 Virtualbox Fails To Start With Verr_nem_vm_create_failed
00:38 Accepted Answer Score 48
01:16 Answer 2 Score 30
01:33 Answer 3 Score 11
02:05 Answer 4 Score 34
03:02 Thank you

--

Full question
https://superuser.com/questions/1442766/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows10 #virtualbox

#avk47



ACCEPTED ANSWER

Score 48


  1. Open the "Turn Windows features on or off" settings (type optionalfeatures in the start menu or Win + R).
  2. Untick "Windows Sandbox" and "Hyper-V" .
  3. Restart windows twice.

This is a new feature in Windows 10 v1903 that uses Hyper-V on the backend (even if it's not enabled in Windows Features), which makes this feature not compatible with VirtualBox.

enter image description here enter image description here enter image description here




ANSWER 2

Score 34


According to this VirtualBox forum post, there are several features which might use Microsoft Hyper-V, which is not compatible with VirtualBox:

Look in the "Control Panel" » "Programs and Features" » "Turn Windows features on or off", and make sure that the none of the following are active:

  • Application Guard
  • Credential Guard
  • Device Guard
  • <any> * Guard
  • Containers
  • Hyper-V
  • Virtual Machine Platform
  • Windows Hypervisor Platform
  • Windows Sandbox
  • Windows Subsystem for Linux (WSL)

If that doesn't work, enter the following command:

bcdedit /set hypervisorlaunchtype off

followed by a cold boot, i.e. shut down the computer, pull the power plug for 10 seconds, reboot.

For me, just disabling "Virtual Machine Platform" and restarting TWICE made it work.

WSL 1 will still work. I'm not so sure about WSL 2, which is currently available in the Windows Insider Program.




ANSWER 3

Score 30


Finally solved the issue.

  1. Turn off Hyper-v
  2. Turn off Windows sandbox

by navigating to "Turn windows features on or off".

Restart the machine twice and then try to Start vm in virtualbox.




ANSWER 4

Score 11


In my case, turning Windows Sandbox and Hyper-V off and restarting my PC dozens of times didn't work. I even tried turning the features back on, then back off, then restarting another dozen times.

What did work, was disabling Memory integrity from Core isolation in Windows Security, possibly because it uses virtualization features, as do Hyper-V and the Windows Sandbox.

Windows Security screenshot

Now I can finally start my VMs again.