VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Matt_Stengert
Posts: 9
Joined: 10. Apr 2018, 07:53

VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by Matt_Stengert »

Good morning
I've just upgraded VB and receive the following error-

Failed to open a session for the virtual machine CADsoft Build.

Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE).

VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Is there a possible fix please?
Cheers
Matt
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by mpack »

Matt_Stengert
Posts: 9
Joined: 10. Apr 2018, 07:53

Re: VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by Matt_Stengert »

Ok, so I found a very thorough response already in the VB forum in response to my issue as per link-

viewtopic.php?f=1&t=62339

I went through each item and found that all settings were already as recommended.
I therefore tried to ENABLE Hyper-V. And to my surprise VirtualBox is up and running again...

The following was my guide to turn on Hyper-V-
1. Press Windows key + X and select Apps and Features.
2. Scroll down to the bottom and click Programs and Features link.
3. Then click the Turn Windows features on or off link on the left pane.
4. Locate Hyper-V option and unmark it.
5. Click OK to save the changes and reboot.

NOTE- I have a 64bit host (Windows 10) & 32bit guest (Windows 7)
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by scottgus1 »

Matt_Stengert wrote:Ok, so I found a very thorough response already in the VB forum in response to my issue as per link-

viewtopic.php?f=1&t=62339
You mean the link that Mpack posted to you above your post? :wink: It's a good idea to read and acknowledge what others have written.
Matt_Stengert wrote:I therefore tried to ENABLE Hyper-V.
Matt_Stengert wrote:4. Locate Hyper-V option and unmark it.
Did you enable or disable? Unmarking is disabling.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by fth0 »

FWIW, the combination of VERR_VMX_MSR_ALL_VMX_DISABLED and VERR_NEM_NOT_AVAILABLE can mean two things. Either VT-x is disabled in the BIOS, or Hyper-V is in some sort of state where it hides VT-x from VirtualBox, but doesn't provide the NEM interface to VirtualBox.

In the former case, the obvious solution is to enable VT-x in the BIOS.

In the latter case, both disabling and enabling Hyper-V can solve the issue, but a VirtualBox VM will usually be faster in VT-x mode than in NEM mode.
Matt_Stengert
Posts: 9
Joined: 10. Apr 2018, 07:53

Re: VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by Matt_Stengert »

My apologies "mpack", I hadn't noticed the link you provided, thank you!
Matt_Stengert
Posts: 9
Joined: 10. Apr 2018, 07:53

Re: VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by Matt_Stengert »

scottgus1 wrote:
Matt_Stengert wrote:Ok, so I found a very thorough response already in the VB forum in response to my issue as per link-

viewtopic.php?f=1&t=62339
You mean the link that Mpack posted to you above your post? :wink: It's a good idea to read and acknowledge what others have written.
Matt_Stengert wrote:I therefore tried to ENABLE Hyper-V.
Matt_Stengert wrote:4. Locate Hyper-V option and unmark it.
Did you enable or disable? Unmarking is disabling.
Sorry "scottgus1", I marked it...I had a shocker losing a whole day of business whilst rectifying the issue. I should have been more attentive.
Cheers
Matt_Stengert
Posts: 9
Joined: 10. Apr 2018, 07:53

Re: VirtualBox-Error Failed to open a session Version 6.1.32 r149290 (Qt5.6.2)

Post by Matt_Stengert »

fth0 wrote:FWIW, the combination of VERR_VMX_MSR_ALL_VMX_DISABLED and VERR_NEM_NOT_AVAILABLE can mean two things. Either VT-x is disabled in the BIOS, or Hyper-V is in some sort of state where it hides VT-x from VirtualBox, but doesn't provide the NEM interface to VirtualBox.

In the former case, the obvious solution is to enable VT-x in the BIOS.

In the latter case, both disabling and enabling Hyper-V can solve the issue, but a VirtualBox VM will usually be faster in VT-x mode than in NEM mode.
Thank you "fth0", that seems to make sense. Locating the VT-x in the BIOS was the one thing I was unable to do.
Cheers
Post Reply