Unable to launch Ubuntu18.04 on VirtualBox [VERR_NEM_VM_CREATE_FAILED]

-2

I was happily using Ubuntu18.04 on VirtualBox 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.

ubuntu
virtualbox
ubuntu-18.04
asked on Stack Overflow Nov 23, 2019 by Kundan • edited Nov 25, 2019 by Kundan

1 Answer

0

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 Kundan

User contributions licensed under CC BY-SA 3.0