VirtualBox (failed to open a session for the virtual machine)

I was trying to boot up a VM on VirtualBox, testing Ubuntu 19.02 but was faced with the error below.

The VirtualBox error reads (in clear search-able text):

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

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


The issue has got to do with Hyper-V (Microsoft’s version of HyperVisor) being installed/enabled on your system. You can either remove it in Programs and Files, or turn it off in command line. I would strongly recommend not uninstalling, so here is the less tedious way through command line:

  1. Open cmd with administrator rights
  2. Type in bcdedit /set hypervisorlaunchtype off
  3. Restart your computer

This should solve your issue when booting up.


Hope it helped!


Add a Comment

Your email address will not be published.