VERR_NEM_VM_CREATE_FAILED

Discussions about using Windows guests in VirtualBox.

VERR_NEM_VM_CREATE_FAILED

Postby hectornavarro » 24. Sep 2021, 18:02

When installing WSL (Ubuntu) on Windows 11 + VBox, WSL breaks the VBox installation.
I was not able to run both at the same time so I was running these steps :
1. Remove Ubuntu from the Apps in Settings.
2. Remove Windows Subsystem for Linux update + WSLeg from the Apps in Settings.
3. Remove Windows Subsystem for Linux from Windows Features.
4. Run as administrator in a Windows Terminal :
4.1
Code: Select all   Expand viewCollapse view
bcdedit /set hypervisorlaunchtype off

4.2
Code: Select all   Expand viewCollapse view
DISM /Online /Disable-Feature:VirtualMachinePlatform

4.3
Code: Select all   Expand viewCollapse view
DISM /Online /Disable-Feature:HypervisorPlatform

(4.2 and 4.3 request to reboot)

After that I was able to run back the VBox VMs.
Cheers.
hectornavarro
 
Posts: 3
Joined: 24. Sep 2021, 17:55

Re: VERR_NEM_VM_CREATE_FAILED

Postby scottgus1 » 24. Sep 2021, 18:56

Thanks for your contribution! Yes, WSL2 & Hyper-V do cause troubles for Virtualbox, and the commands you found disable Hyper-V at the root. See VERR_NEM_VM_CREATE_FAILED: What do I do?
scottgus1
Site Moderator
 
Posts: 13794
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to Windows Guests

Who is online

Users browsing this forum: No registered users and 19 guests