17

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?

ifconfig
  • 622
  • 3
  • 10
  • 23
  • 2
    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 - https://superuser.com/questions/1508514/verr-nem-vm-create-failed-on-launching-macos-in-virtualbox-in-win-10-1903 – KozhevnikovDmitry Dec 09 '19 at 07:04
  • 1
    Does this answer your question? [VirtualBox fails to start with VERR\_NEM\_VM\_CREATE\_FAILED](https://superuser.com/questions/1442766/virtualbox-fails-to-start-with-verr-nem-vm-create-failed) – StayOnTarget Sep 09 '20 at 22:55
  • VMware and VirtualBox support for Hyper-V is only supported if you are running 2004 or 20H2. The author’s of every single linked question, all confirming they also have this issue, are all running 1903 or 1909 which means they are not running a supported build of Windows. It’s also required to use the current version of VMWare 15.x or 16.x and VirtualBox 6.1+ any other versions of those Hypervisors are incompatible with Hypervisor Playform and Hyper-V (especially Windows Sandbox) – Ramhound Jan 08 '21 at 10:10
  • I have turned off Hyper-V, Container (already turned off), Windows Sandbox, WSL and Windows Hypervisor Platform on my Windows 10.0.19042.804 and it works greate! I think the problem was with **Hyper-V** module. – entithat Mar 03 '21 at 16:16

5 Answers5

12

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

gman
  • 256
  • 3
  • 5
  • 8
    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 05 '20 at 03:54
  • 1
    I can confirm that turning off the features mentioned above and reinstalling solved the problem for me. – HiFile.app - best file manager May 06 '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
    Upgrading to the latest VirtualBox version (6.1.3) solved the problem. I didn't have to disable any Windows features. – Ivan Nikitin Dec 22 '21 at 09:24
  • 1
    After doing this (https://www.wintips.org/fix-virtualbox-error-call-to-whvsetuppartition-failed-error_success/#:~:text=The%20VirtualBox%20error%20%22Call%20to,as%20well%20in%20Home%20editions.), I updated to VirtualBox, and it solved my problem. – gkhanacer Jan 21 '22 at 06:44
7

You don't need to disable Containers! Here's how to do it based on this article

VBoxManage setextradata "<VM Name>" "VBoxInternal/NEM/UseRing0Runloop" 0
Reza Sanaie
  • 211
  • 2
  • 3
5

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.

Simon
  • 243
  • 2
  • 8
0

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

0

After applying above mentioned solutions, if you are couldn't run the VM, try to install the latest version of VirtualBox and then try. It worked in my case. Hope this can work for you too.