Page 1 of 1

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

Posted: 23. Jan 2022, 23:01
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

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

Posted: 24. Jan 2022, 11:09
by mpack

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

Posted: 25. Jan 2022, 05:03
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)

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

Posted: 25. Jan 2022, 15:05
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.

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

Posted: 25. Jan 2022, 18:13
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.

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

Posted: 27. Jan 2022, 02:50
by Matt_Stengert
My apologies "mpack", I hadn't noticed the link you provided, thank you!

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

Posted: 27. Jan 2022, 02:52
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

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

Posted: 27. Jan 2022, 02:56
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