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


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.

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: Increase memory on VMware virtual machine

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 in Windows

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

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:

Leave a Comment

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

Scroll to Top