VERR_NEM_VM_CREATE_FAILED

Discussions about using Windows guests in VirtualBox.
Post Reply
hectornavarro
Posts: 3
Joined: 24. Sep 2021, 17:55

VERR_NEM_VM_CREATE_FAILED

Post by hectornavarro »

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

bcdedit /set hypervisorlaunchtype off
4.2

Code: Select all

DISM /Online /Disable-Feature:VirtualMachinePlatform
4.3

Code: Select all

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.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VERR_NEM_VM_CREATE_FAILED

Post by scottgus1 »

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?
Post Reply