Hardware

How to Disable Virtualization (Windows Features and BIOS/UEFI)

To disable virtualization, decide which layer you mean. To stop Hyper-V from blocking VirtualBox or VMware, turn off the hypervisor inside Windows with bcdedit /set hypervisorlaunchtype off from an administrator prompt and restart. To switch the processor feature off completely, restart into BIOS or UEFI setup and set the virtualization option (Intel VT-x or AMD-V) to Disabled.

Most people who search for this want the first one. The firmware switch is a blunt tool that turns off every virtual machine, emulator and Windows security feature that depends on it. Both routes are below, along with the checks that tell you which one you need.

Which kind of virtualization do you want to disable?

Three separate things get called "virtualization", and each has its own switch:

LayerWhere it livesHow to turn it off
Processor extensions (Intel VT-x, AMD-V)BIOS or UEFI firmwareSet the virtualization option to Disabled in setup
Windows hypervisor (Hyper-V)Windows optional feature and boot configurationWindows features dialog, PowerShell, DISM or bcdedit
Security features built on the hypervisorWindows Security, Group Policy, registryTurn off memory integrity and Credential Guard

Microsoft explains why the middle layer causes trouble. Many virtualization applications depend on the hardware virtualization extensions that most modern processors provide, but only one software component at a time can use that hardware, and applications cannot share it. When Hyper-V is running, third-party virtualization applications might not start virtual machines, or they might fall back to a slower, emulated mode. Microsoft calls this behavior by design.

How to check whether a hypervisor is running

Before changing anything, find out what is active. Press the Start button, type msinfo32.exe and open System Information. In the details pane, look for this line:

A hypervisor has been detected. Features required for Hyper-V will not be displayed.

If it is there, a hypervisor is running right now. That is the situation in which VirtualBox, VMware and similar tools complain. If the line is missing, Hyper-V is not the problem, and the cause is more likely the firmware setting or the software's own configuration. Check again after each step below, because the line disappears only after a restart.

How to disable Hyper-V in Windows

This is the method Microsoft documents for making third-party virtualization software work. Pick one of the three ways.

Control Panel

  1. Open Control Panel and select Programs and Features.
  2. Select Turn Windows features on or off.
  3. Expand Hyper-V, expand Hyper-V Platform, and clear the Hyper-V Hypervisor checkbox.
  4. Select OK and restart when asked.

PowerShell

Open PowerShell as Administrator and run:

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor

DISM

Open an administrator Command Prompt and run:

DISM /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Hypervisor

All three disable the same component, the Hyper-V hypervisor. The rest of the Hyper-V role, such as the management tools, can stay installed. On Windows 10 and 11 Home the Hyper-V role cannot be installed at all, according to Microsoft's install page, so on those editions this section may not apply. If a hypervisor is still detected there, look at the security features further down.

How to turn the hypervisor off with bcdedit

There is a quicker switch that leaves the Windows features alone and only changes whether the hypervisor starts at boot. In an elevated Command Prompt or PowerShell:

bcdedit /set hypervisorlaunchtype off

Microsoft's BCDEdit reference lists hypervisorlaunchtype as taking Off or Auto. Any change to a boot option requires a restart. To bring Hyper-V back later, set the value to Auto and restart:

bcdedit /set hypervisorlaunchtype auto

Treat this command with care. Microsoft's caution on the same page says changing some boot entry options could render a computer inoperable, and that you might need to disable or suspend BitLocker and Secure Boot before setting BCDEdit options. Only this one value needs to change. To see the current setting first, run bcdedit /enum and read the hypervisorlaunchtype line.

The switch can be undone from the same prompt, which makes it a good first thing to try when you are not sure that Hyper-V is the cause.

How to disable memory integrity and Credential Guard

Hyper-V is not the only thing that starts the hypervisor. Microsoft's troubleshooting article says some Windows security technologies depend on it, including memory integrity and Credential Guard, and tells you to disable these dependent features as well when you disable Hyper-V. Otherwise the hypervisor can keep running and the "hypervisor has been detected" line stays.

Memory integrity has a toggle at Windows Security, then Device security, then Core isolation details, then Memory integrity. Microsoft's page names that path for turning the feature on, and the same switch controls it. On managed PCs it may instead be set by Intune, Group Policy or the registry. For Credential Guard, Microsoft points to its Configure Credential Guard article, and notes that both can be disabled with Intune, Group Policy or registry entries.

Turning these off lowers protection. Memory integrity exists to stop attacks that inject code into the kernel, so only turn it off when you need the hypervisor free, and consider turning it back on afterwards. For background on what it does, see how to enable memory integrity in Windows 11.

How to disable virtualization in BIOS or UEFI

Use this route only if you want the processor feature off for everything, or a policy or a tool tells you to. Microsoft documents these steps for enabling virtualization, and the way back is the same screen with the opposite setting.

  1. Open Settings, then System, then Recovery, and select Restart now next to Advanced startup.
  2. In the Windows Recovery Environment, select Troubleshoot, then Advanced options, then UEFI Settings, then Restart.
  3. The PC restarts into the UEFI utility. Find the virtualization option and set it to Disabled.
  4. Save and exit.

The option name depends on the manufacturer. Microsoft's page lists Intel(VMX) Virtualization Technology and Intel Virtualization Technology (VT-x) for Intel, and AMD Virtualization (AMD-V) for AMD. Its manufacturer links use Hardware Virtualization for Dell and Virtualization Technology for HP and Lenovo. Microsoft also says Surface devices have virtualization enabled already, and the page does not describe a way to switch it off there.

Microsoft's warning applies in full: only change what you need to in the UEFI, because adjusting other settings might prevent you from accessing Windows. Leave Secure Boot, TPM and storage options as they are. If your PC shows no UEFI Settings entry, use the key your manufacturer documents for entering setup during power-on.

What stops working when virtualization is off

With the firmware option disabled, anything that needs virtual machine acceleration fails. That includes Hyper-V virtual machines, Windows Subsystem for Linux 2, and the VM-accelerated Android emulator. Virtualization-based security also relies on the CPU extensions, so memory integrity cannot run either. Errors such as 0x80370102 from WSL point at exactly this state, which is covered in turning hardware virtualization on in BIOS/UEFI.

With only the hypervisor disabled in Windows, the picture is different. VirtualBox and VMware can use the hardware directly again, but WSL 2 and the Virtual Machine Platform feature, described in how to enable Virtual Machine Platform, depend on the hypervisor and will not start while it is off. If you switch between the two worlds often, setting hypervisorlaunchtype to off and auto is the least disruptive way to do it. For a comparison of the two desktop tools, see VirtualBox vs VMware.

If the hypervisor is still detected after a restart

  • Memory integrity or Credential Guard is still on. Check Windows Security, Group Policy and the registry values described in the Microsoft pages above.
  • A policy keeps turning it back on. On a work or school PC, Intune or Group Policy may reapply the setting. Ask your administrator rather than overriding it.
  • Only one command was run. Disabling the Hyper-V Hypervisor feature and setting hypervisorlaunchtype to off are separate changes. Check both with bcdedit /enum and the Windows features list.
  • You did not restart. Boot options and feature changes only apply after a restart. A shutdown with Fast startup on may not be enough, so choose Restart.

Example output from bcdedit /enum after the change, trimmed to the relevant line (example only, your other lines will differ):

hypervisorlaunchtype    Off

Frequently asked questions

Is it safe to disable virtualization?
Yes, nothing is damaged. Software that needs the processor's virtualization extensions simply stops working or falls back to a slower mode until you turn it back on. Microsoft's guidance for the firmware screen is to change only what you need, because adjusting other settings might prevent you from accessing Windows.
Do I need to disable virtualization in the BIOS to use VirtualBox or VMware?
Usually no. Microsoft says only one software component at a time can use the virtualization hardware, so the usual fix is to turn off the Hyper-V hypervisor inside Windows. The firmware setting normally stays on, because VirtualBox and VMware need it too.
Do I need to restart after disabling Hyper-V?
Yes. Microsoft's documentation for BCDEdit says any change to a boot option requires a restart to take effect, and disabling a Windows feature also finishes after a restart.
How do I check whether the hypervisor is still running?
Run msinfo32.exe and look at the System Summary. If it still shows the line 'A hypervisor has been detected. Features required for Hyper-V will not be displayed.', a hypervisor is still running, so something such as Hyper-V, memory integrity or Credential Guard is still switched on.

Sources