[Solved] Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Lotcelan
Posts: 2
Joined: 22. Jan 2020, 17:30

[Solved] Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Post by Lotcelan »

Hello ! I'm trying to install a windows 10 virtual machine. The thing is, before I reset my PC (~3 days ago) everything was working. But now, after the reset, I get this error when I press "Start" :
"VMMR0_DO_NEM_INIT_VM failed: VERR_NEM_MISSING_KERNEL_API (VERR_NEM_MISSING_KERNEL_API).
VT-x is not available (VERR_VMX_NO_VMX)."

I'm trying with 2 different ISOs (both get the same error).
Also, I checked way too many times that virtualization is enabled in my BIOS and that Hyper-V is disabled. About Hyper-V, I don't have a "category" Hyper-V in "Programs and Features".
Finally the software securable.exe says that my Hardware Virtualization is disabled even though I enabled everything that I could enable in my Bios.

Thank you in advance >.< !
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Post by scottgus1 »

To turn Hyper-V off completely, do this:

1. Shut down all programs. You will have to reboot your host.

2. Look into the I have a 64bit host, but can't install 64bit guests tutorial, 2nd post, points 2 & 3 and ensure that none of these things are running.

3. Find the Command Prompt icon, right click it and choose Run As Administrator.

4. Enter this command:
bcdedit /set hypervisorlaunchtype off
5. Enter this command:
shutdown -s -t 2
6. When the computer turns off, unplug it for 20 seconds. Then plug it in again and boot up Windows 10.
Lotcelan
Posts: 2
Joined: 22. Jan 2020, 17:30

Re: Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Post by Lotcelan »

Thank you very much, it worked !
IsabellaC
Posts: 1
Joined: 26. May 2020, 03:39

Re: [Solved] Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Post by IsabellaC »

I have done everything suggested regarding VT-x. However, I am still getting error message as below. Please, will you help me? Thanks a lot in advance.
Failed to open a session for the virtual machine Ubuntu.

VMMR0_DO_NEM_INIT_VM failed: VERR_NEM_MISSING_KERNEL_API_2 (VERR_NEM_MISSING_KERNEL_API_2).

VT-x is not available (VERR_VMX_NO_VMX).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: [Solved] Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Post by scottgus1 »

IsabellaC, all we have is what we told Lotcelan. That is the grand extent of our knowledge on how to fix this.

If going through the above again, and the 64-bits tutorial, does not get you going, please start a new topic (this one belongs to Lotcelan), and state exactly what steps you tried.
SeattleSurfer
Posts: 1
Joined: 19. Aug 2020, 00:58

Re: [Solved] Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Post by SeattleSurfer »

This worked for the problem described:

Use below command in elevated command prompt to turn off credential and device guard:

mountvol X: /s
copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig.efi /Y
bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d “DebugTool” /application osloader
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path “\EFI\Microsoft\Boot\SecConfig.efi”
bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} device partition=X:
mountvol X: /d
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: [Solved] Getting "VERR_VMX_NO_VMX" even if virtualization is enabled and Hyper-V disabled.

Post by scottgus1 »

Device guard and Credential guard are mentioned in the 64-bits tutorial above.

Thanks, SeattleSurfer, for your command list!
Post Reply