Unable to launch Ubuntu18.04 on VirtualBox [VERR_NEM_VM_CREATE_FAILED]


Ubuntu18.04 was working fine for me on VirtualBox v6.x until I got windows updates (insider preview). Now any of my old as well any new VM is crashing with following error

Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).

Result Code: E_FAIL (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

I don't want to uninstall windows updates unless there is no solution to this problem.

pls let me know if any quick fix available for this.

asked on Stack Overflow Nov 23, 2019 by CodeRunner • edited Jan 6, 2020 by CodeRunner

2 Answers


After searching for couple of hours and trying various things..finally below method worked for me on Windows 10

In order to allow VirtualBox to run properly you need to enable/disable following windows feature by going into programs and feature (Win + R >> appwiz.cpl)

  1. Disable Hyper-V (if it is available on your machine)
  2. Enable "Virtual Machine platform"
  3. Enable "Windows Hypervisor platform"
  4. Disable "Windows Sandbox" (if available on your machine)
  5. Open Poweshell command prompt as admin and then run followng command

    bcdedit /set hypervisorlaunchtype off

  6. Restart machine

and the error should go away...

answered on Stack Overflow Nov 25, 2019 by CodeRunner

Windows Subsystem for Linux (WSL) feature was enabled. This solved it for me:
1) go to Windows features and disable WSL
2) restart
3*) if still doesn't work, enter the following command (turn off HyperV as mentioned in the previous answer)

bcdedit /set hypervisorlaunchtype off

4*) restart
*In my case, step 1) and 2) were enough

answered on Stack Overflow Feb 10, 2020 by Oana • edited Feb 10, 2020 by Oana

User contributions licensed under CC BY-SA 3.0