13

This question is SIMILAR to this post, but the solution presented there isn't applicable because I have Windows 10 Home and not Pro. The Hyper-V & Windows Sandbox deactivation solution that the accepted answer leans on isn't available for me.

OS: Windows 10 64bit, Version 1909, Build 18363.476 (19H2)

Before upgrading windows from version 1903 to 1909, everything I needed to do with VirtualBox was working well, but it seems I've encountered some post-upgrade issues. When trying to start my VirtualBox Ubuntu VM, I get the following error message:

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've tracked down a resource on the virtualbox.org forums which leads me to believe the problem could be related to the fact that I've been trying out the Windows Terminal Preview on my computer, but I can't figure out how to resolve the problem because the solution presented also relies on disabling Hyper-V in the Windows Features manager, which isn't an option for me.

enter image description here

Does anyone know how to fix this problem? All of the literature I've been able to find online relies on disabling Hyper-V either temporarily or permanently. Is there a way to do this safely from a PowerShell prompt?

7
  • 1
    Try disabling "virtual machine platform" and "windows hypervisor platform" – essjae Nov 17 '19 at 20:58
  • Yep. That was it, @essjae. Could you please explain why that was the offending feature? Also, post an answer for resolution credit. – ifconfig Nov 17 '19 at 23:27
  • 1
    The Windows Hypervisor Platform implements an API for other hypervisors, like VirtualBox or VMware Workstation to hook into the Hyper-V hypervisor. VMW Workstation doesn't have the API enabled. VirtualBox does, but it's not guaranteed to work. – essjae Nov 18 '19 at 23:43
  • I have the same issue on 1903 and all recommedations from this and ather similar questions didn't help. Please see my question - superuser.com/questions/1508514/… – KozhevnikovDmitry Dec 9 '19 at 7:04
  • 1
    Does this answer your question? VirtualBox fails to start with VERR_NEM_VM_CREATE_FAILED – StayOnTarget Sep 9 '20 at 22:55
7

You need to go into Windows Features and uncheck BOTH Hyper-V as well as Containers. I had the same error message as you, but after removing the Containers option, everything worked like normal.

Let me know if this works for you. enter image description here

3
  • 7
    I didn't have "Containers" on my version of Windows 10 but "Virtual Machine Platform" like the screenshot in the question shows. Disabled that and "Windows Hypervisor Platform", VBox still did not work after a reboot. Re-installed VBox with the latest version and BOOM after months of meaningless error messages from VBox I can finally get back in my VMs :-) – trs May 5 '20 at 3:54
  • 1
    I can confirm that turning off the features mentioned above and reinstalling solved the problem for me. – V.K. May 6 '20 at 17:08
  • The features to turn off are Containers, Hyper-V and Windows Hypervisor Platform. Then reinstalling was also needed for me. – Simon Corcos Jun 19 '20 at 14:48
2

I'm using windows 10 home and I didn't have Containers and Hyper-V feature, but I disabled Virtual machine platform and Windows Hypervisor platform and that made the problem go away without having to re-install VirtualBox.

-1

RUN > CMD > bcdedit /set hypervisorlaunchtype off then reboot host machine.

1
  • The author is using Windows Home. This answer is only applicable to editions that support Hyper-V – Ramhound Jan 8 at 10:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.