[Fix] Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE) or VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)

If you are trying to create a new virtual machine using VirtualBox on Windows 10 or any other Windows versions, you may get an error as below:

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).

Not in a hypervisor partition / VT-x is disabled in the BIOS for all CPU modes error screenshot

Before we see the fix for this VirtualBox issue, let’s go through the reason first.

Reason:

The error “VT-x is disabled in the BIOS for all CPU modes” appears if virtualization is not enabled in your Windows computer. Many Windows computers have the virtualization disabled by default at the BIOS level and it needs to be enabled to set up a new virtual machine.

I am explaining this for a DELL laptop with windows 10 but the solution would be the same for other computers with slight variations in the way they allow enabling virtualization.

If you are using a Lenovo computer, read this – Enable virtualization on Lenovo Computers

NOTE: Make a note of the entire solution and then proceed as it requires system restart as a step and cannot be followed along with reading.

“Not in a hypervisor partition” Solution:

Step 1:

In windows machine go to Settings -> Update & Security -> Recovery. There is a Restart Now option as highlighted under Advanced startup. Read the below steps before clicking on the advanced setup.

Steps to enable Windows Virtualization

Read also: JPG vs JPEG: The difference you probably didn’t know.

Step 2:

Once the Restart Now is clicked the below options need to be followed in sequence:

Troubleshoot -> Advanced option – > UEFI Firmware Settings -> Restart

windows boot options to modify for virtualization for "Not in a hypervisor partition" issue

Step 3:

  • Once the restart is clicked the system enters BIOS mode.
  • In the BIOS look for option Virtualization which is under Advanced or System Configuration for most of the computers.
  • The system shows that Virtualization is disabled.
  • Change it to enabled.
Enable virtualization on Windows

Once done you can exit with save (F10 is the shortcut for most of the computers).

You may face the full-screen issue once your VM opens in VirtualBox. Here is the fix.
Make VirtualBox Full Screen

This will fix the issue “Not in a hypervisor partition in VirtualBox” / “VERR_VMX_MSR_ALL_VMX_DISABLED”.

Happy learning 🙂

Please follow and like us:

8 thoughts on “[Fix] Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE) or VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)”

  1. I tried to do this but there was no virtualization under advanced and there was no system configuration. What do I do?

    1. Go to your bios setting ? And see if there is a configuration menu expand it and you will see visualization technology [Disabled] just Enable it and save changes.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top