Page 1 of 1

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

Posted: 22. Jan 2020, 17:39
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 >.< !

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

Posted: 22. Jan 2020, 18:27
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.

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

Posted: 22. Jan 2020, 19:50
by Lotcelan
Thank you very much, it worked !

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

Posted: 26. May 2020, 03:41
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}

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

Posted: 26. May 2020, 15:03
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.

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

Posted: 19. Aug 2020, 00:59
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

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

Posted: 19. Aug 2020, 03:10
by scottgus1
Device guard and Credential guard are mentioned in the 64-bits tutorial above.

Thanks, SeattleSurfer, for your command list!