Page 1 of 1

VERR_NEM_VM_CREATE_FAILED

PostPosted: 24. Sep 2021, 18:02
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   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.

Re: VERR_NEM_VM_CREATE_FAILED

PostPosted: 24. Sep 2021, 18:56
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?