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: 1547
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...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 23712
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


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 29 guests