All VMs fail to start with VERR_NEM_VM_CREATE_FAILED

Discussions related to using VirtualBox on Windows hosts.

All VMs fail to start with VERR_NEM_VM_CREATE_FAILED

Postby szx » 26. May 2019, 16:59

Hello,

I updated my Windows 10 x64 Pro machine to 1903 today and it appears that all of my VirtualBox VMs no longer work: every time I try to start any of them the following errors pops up:

Code: Select all   Expand viewCollapse view
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 have Hyper-V enabled. But I did enable Hyper-V at some point after the update, and then disabled it again.

Has anybody had this issue? Will it be solved in an upcoming version of VirtualBox?

VirtualBox version: 6.0.8 and 6.0.9 r130662
szx
 
Posts: 4
Joined: 10. Oct 2012, 09:46

Re: All VMs fail to start with VERR_NEM_VM_CREATE_FAILED

Postby andyp73 » 26. May 2019, 20:05

As well as disabling Hyper-V itself you also need to disable everything that uses it. The list we currently have is:

  • Application Guard
  • Credential Guard
  • Device Guard
  • <any> * Guard
  • Containers
  • Hyper-V
  • Virtual Machine Platform
  • Windows Hypervisor Platform
  • Windows Sandbox
Release 1903 may well have added others. Microsoft may also have changed something in one of the APIs and VirtualBox needs a tweak to go along with it.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
andyp73
Volunteer
 
Posts: 1642
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: All VMs fail to start with VERR_NEM_VM_CREATE_FAILED

Postby szx » 28. May 2019, 17:50

Thank you for the response. It looks like I needed yet another reboot - I tried to start a VM today and it worked flawlessly. Not sure what changed.
szx
 
Posts: 4
Joined: 10. Oct 2012, 09:46

Re: Error Code: Windows 10 v. 1903 and VB 6.0.6, Debian VM

Postby vincevan » 29. May 2019, 13:40

Got this error too after updating to the latest windows 10. My VBox didn't run anything after I updated and installed Windows Sandbox. Tried to use vmware on friend's pc and got the error, and then i directed to the resolution in microsoft site (sorry i can't post a link, new account).

From there, try to disable the policy settings in gpedit.msc: Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn On Virtualization Based Security to Disable.

And delete all registers in HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceGuard\

Then I downloaded the "Windows Defender Device Guard and Windows Defender Credential Guard hardware readiness tool" (Google it, first link, sorry can't post links, link's end is details.aspx?id=53337), extract and run the ps1 file in powershell as admin using
Code: Select all   Expand viewCollapse view
& DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot

After run the script, your computer will restart and will prompt you to disable credential guard on boot and one other prompt (i forgot), press F3 to accept and pc will boot normally.

Cheers.
Last edited by socratis on 29. May 2019, 16:18, edited 1 time in total.
Reason: Added missing URL.
vincevan
 
Posts: 1
Joined: 29. May 2019, 13:28

Re: All VMs fail to start with VERR_NEM_VM_CREATE_FAILED

Postby socratis » 29. May 2019, 16:16

@vincevan
Thank you for the information, I have the suspicion that it's going to come in handy.

You posted in a similar topic in the Windows Pre-Releases area, since when 1903 was in beta. No meaning in posting there, I moved your post to a similar thread in the normal Windows area. And I'm going to fix your URLs...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26882
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: All VMs fail to start with VERR_NEM_VM_CREATE_FAILED

Postby Lapis_Lazuli » 15. Aug 2019, 13:52

I have the same problem, but my host is Windows 10 Home (not Pro) 1903 build 18362.295. VirtualBox worked before upgrading to 10 from Windows 8.1 Home build 6.3.9600.
Lapis_Lazuli
 
Posts: 2
Joined: 14. Aug 2019, 17:17
Location: South Dublin, Republic of Ireland
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 2.0, 3.1, 2000, Vista, 7 // formerly Ubuntu 14.04.4

Re: All VMs fail to start with VERR_NEM_VM_CREATE_FAILED

Postby scottgus1 » 15. Aug 2019, 13:56

Lapis, see I have a 64bit host, but can't install 64bit guests Carefully go through each command in the 2nd & 3rd posts.

Also, search the forums before posting. If you really do have a VERR_NEM_VM_CREATE_FAILED error, there are a tremendous number of similar posts showing the same solution.

Also, start a new post if you don't have exactly the same characteristics as the OP.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4709
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 28 guests