[Solved] VT-x is not available (VERR_VMX_NO_VMX)

For discussions related to using VirtualBox on Windows pre-releases (e.g. Windows 10 > build 10240).

[Solved] VT-x is not available (VERR_VMX_NO_VMX)

Postby UdoJ » 11. Oct 2018, 10:42

Hi there

get this error since a few days. Was working fine since weeks. Think it has to do with another update on Insider builds.
I'm running on

Windows 10 Enterprise
Version 1809
Build 18252.1000

I checked that Hyper-V is still deactivated/uninstalled and tried the

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

command, rebooted but still the same.

I also repaired the installation.

Help is highly appreciated.

Thanks and best
Udo
Last edited by UdoJ on 11. Oct 2018, 11:52, edited 1 time in total.
UdoJ
 
Posts: 4
Joined: 11. Oct 2018, 10:39

Re: VT-x is not available (VERR_VMX_NO_VMX)

Postby mpack » 11. Oct 2018, 10:45

There isn't much room for doubt there. Either Hyper-v or one of the security features based on Hyper-v has been enabled by the update.

Related FAQ: I have a 64bit host, but can't install 64bit guests.
Last edited by mpack on 24. Nov 2018, 11:31, edited 2 times in total.
Reason: Point to correct FAQ!
mpack
Site Moderator
 
Posts: 29307
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VT-x is not available (VERR_VMX_NO_VMX)

Postby UdoJ » 11. Oct 2018, 11:46

Hi there

Thanks for fast reply. I did another test: creating a new machine it just showed me 32-bit versions available - what?? So I configured a Linux Ubuntu 32bit one and started it with the image. I got the message "Raw-mode is unavailable courtesy of Hyper-V" - ok, so some more HyperV stuff is still active as you mentioned. I searched for and found that one I CANNOT POST URLS :-(

Solution:
STEP 1:
Open the command prompt as an Administrator.

STEP 2:
Run the command with no argument: bcdedit

After you run the above command, you will see that the property hypervisorlaunchtype is set Auto by default.

STEP 3:
Disable Hyper-V by running the command: bcdedit /set hypervisorlaunchtype off

STEP 4:
Restart your PC system to use VirtualBox.

With me the auto launch type was still on auto, I deactivated, rebootet et voila - VirtualBox is running fine again, also offers me to create 64-bit versions again :D

Best
Udo
UdoJ
 
Posts: 4
Joined: 11. Oct 2018, 10:39

Re: [Solved] VT-x is not available (VERR_VMX_NO_VMX)

Postby mpack » 11. Oct 2018, 13:15

I imagine that a common mistake is to confuse stopping a program with disabling a program. In the former case it will simply start up again on next boot.

Thanks for reporting back.
mpack
Site Moderator
 
Posts: 29307
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] VT-x is not available (VERR_VMX_NO_VMX)

Postby bmichalski » 24. Nov 2018, 02:31

Quick addendum in case any one else gets here with the same problem. If the above solution does not work; please check the thread titled: "I have a 64bit host, but can't install 64bit guests"
(Sorry, can't post direct links yet as I just created my account to write this).

If you are running Windows 10 and enabled core isolation without thinking, like me, you'll find yourself running around mad..

Great work @mpack !!! Thanks for the help
bmichalski
 
Posts: 1
Joined: 24. Nov 2018, 02:25

Re: [Solved] VT-x is not available (VERR_VMX_NO_VMX)

Postby mpack » 24. Nov 2018, 11:33

Hmm. That's the FAQ that my first reply should have pointed to, instead I accidentally pointed to the other most needed FAQ. Don't worry future readers: I just corrected it for you.
mpack
Site Moderator
 
Posts: 29307
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] VT-x is not available (VERR_VMX_NO_VMX)

Postby kursion » 11. Jul 2019, 09:55

After trying everything else:

bcdedit /set hypervisorlaunchtype off

Worked for me: Win10 1903 Insider Preview 18932.1000

Thanks a lot
kursion
 
Posts: 1
Joined: 11. Jul 2019, 09:53

Re: [Solved] VT-x is not available (VERR_VMX_NO_VMX)

Postby mpack » 11. Jul 2019, 11:24

The FAQ already has that. It's point 1 in "Additional Notes for Windows Hosts" (second post).
mpack
Site Moderator
 
Posts: 29307
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to VirtualBox on Windows pre-releases

Who is online

Users browsing this forum: No registered users and 3 guests