How to Disable or Remove Hyper-V in Windows 11

Hyper-V is preinstalled on Windows 11 computers. Although the virtualization tool is not available by default in the Home edition of the operating system, you can install it using a batch script.


Unfortunately, Hyper-V can conflict with third-party apps on your PC. As a result, you may encounter the Hyper-V detected error when you try to launch any app, PC games, or hardware tuning tools.

Fortunately, you can disable Hyper-V in Windows 11 using the classic Windows Features dialog, Command Prompt, and PowerShell.


How to check if Hyper-V is running on Windows 11

You can open the System Information app to determine if Hyper-V virtualization is running. This is useful if you need to check the health of Hyper-V after you disable it.

To check the current Hyper-V status on your computer:

  1. Press Win + R to open Run.
  2. Type msinfo32.exe and click Okay to open the apps.
  3. Then check if the following item is available at the bottom of the details tab:
    A hypervisor has been detected. Features required for Hyper-V will not be displayed.
  4. If yes, then you need to disable Hyper-V, memory integrity and the Credential Guard feature as discussed below to use other virtualization tools flawlessly.

1. Disable Hyper-V from Windows Features dialog

The Windows Features dialog allows you to add additional features that are disabled by default in Windows 11. You can also use it to disable some advanced features, including Hyper-V.

Note that to fix the error detected by Hyper-V, you need to disable the Virtual Machine Platform feature and Windows Hypervisor Platform in addition to Hyper-V.

To disable Hyper-V using the Windows Features dialog:

  1. press the Win + R key to open the Run dialogue.
  2. Type check and click Okay to open the Control panel.
  3. In the Control panel, click on Programs.
  4. Then click Programs and Features.
  5. In the left pane, click Enable or disable Windows features.
  6. In the Windows Features dialog box, find Hyper V.
  7. Uncheck the box Hyper-V option to disable the feature.
  8. Then scroll down and find the Virtual Machine Platform and Windows Hypervisor platform options.
  9. Deselect both options and click Okay.
  10. Windows will remove Hyper-V and other features from your system.
  11. Once done, restart your PC to apply the changes.
See also  How To Easily Fix Google Chrome "Cannot Find Server IP Address" Error

2. How to disable Hyper-V with BCDEDIT

You can disable Hyper-V in the boot configuration using the BCDEdit tool. Useful if you just want to deactivate Hyper-V and not remove it completely.

Disable Hyper-V with BCDEdit:

  1. press the To win key and type cmd.
  2. Right click on the Command Prompt and select Run as administrator.
  3. In the Command Prompt window, type the following command and press Enter:
    bcdedit /set hypervisorlaunchtype off
  4. When the success message appears, close the Command Prompt and restart your PC to apply the changes.
  5. If you need to reactivate Hyper-V, use the following command:
    bcdedit /set hypervisorlaunchtype auto
  6. Make sure to restart your PC to apply the changes.

In addition, you can use the BCDEdit utility to perform other advanced tasks, such as removing the old boot menu options and adding a safe mode shortcut to the Windows 11 boot menu.

3. How to Remove Hyper-V Using Command Prompt

If the Windows Features dialog box fails to remove Hyper-V, you can use Command Prompt to disable the hypervisor. Here’s how to do it.

  1. Open the command prompt as an administrator.
  2. In the Command Prompt window, type the following command and press Enter:
    dism /online /disable-feature /featurename:Microsoft-hyper-v-all
  3. After execution, the DISM tool will disable Hyper-V and display the message that the operation is complete to indicate a successful execution.
  4. Type exit to close the command prompt and restart your PC.

After the reboot, you should be able to run your games and other hypervisors without the error.

See also  Running Windows 11 Natively on Your Mac: The Good, Bad, and Ugly

If not, open the Windows Features dialog box, enable the Virtual Machine Platform and Windows Hypervisor platform options and restart your PC.

4. How to Disable Hyper-V with PowerShell

If you prefer PowerShell, you can use the WindowsOptionalFeature cmdlet to disable Hyper-V in Windows 11. To do this, you need to launch PowerShell with administrator privileges and run the command. Here’s how to do it.

  1. press the To win key and type power shell.
  2. Right click on PowerShell and select Run as administrator.
  3. Click Yes when prompted by User account control.
  4. Copy and paste the command below into the PowerShell window and press Enter:
    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
  5. Wait for the process to complete. Once done, close PowerShell and restart your PC to apply the changes.

How to remove the Hyper-V virtual network adapter

Often during the reboot, after uninstalling Hyper-V, you may encounter the message “We were unable to complete the updates, undo changes”.

To resolve this issue, make sure that the Hyper-V virtual network adapters are removed from your PC. You can remove the virtual network adapter from Device Manager.

To remove the Hyper-V virtual network adapters:

  1. Press Win + R to open Run.
  2. Type dvmgmt.msc and click Okay to open Device administrator.
  3. In Device Manager, expand the Network adapters section to find the Hyper-V Virtual Network Adapters.
  4. If no virtual adapters associated with Hyper-V are listed, click Vision and select Show hidden devices.
  5. Right click on the Hyper-V Virtual Ethernet Adapter and select Remove device.

    Remove the Microsoft Wi-Fi Direct virtual adapter.

  6. Click remove to confirm the action.
  7. Repeat the steps to remove all virtual network adapters associated with Hyper-V.
  8. Once done, close Device Manager and restart your PC. Then uninstall Hyper-V and check for any improvements.
See also  Add transparent context menus to Windows 11

Disable Virtualization-Based Security (Memory Integrity)

If you encounter the Hyper-V detected issue even after you disable Hyper-V, try disabling the Memory Integrity feature in Windows Security.

The Memory Integrity feature is part of Core Isolation. It helps prevent threat actors from accessing highly secure processes and infecting them with malicious code.

By default, Windows disables the Memory Integrity feature to avoid conflicts with apps and device drivers due to incompatibility issues. This can also cause problems with virtualization tools and third-party programs that need to access your system’s virtualization hardware.

To disable memory integrity in Windows Security:

  1. Press Win + I to open the Settings app.
  2. In the left pane, click the Privacy and Security tab.
  3. Then click Windows Security.
  4. Below the Conservation Areas section, click Device security.
  5. Then click Core insulation details below the Core insulation section.
  6. Put the switch down Memory Integrity to run it Out.
  7. Restart your PC to apply the changes.

Hyper-V is an excellent utility if you want a turnkey virtualization solution. However, it is not without flaws. Many third-party hypervisors, including the major players VirtualBox and WMware Workstations, will not work with Hyper-V enabled.

If you’re not sure which hypervisor to use, compare the three popular virtualization tools to help you determine the best one.

Leave a Reply

Your email address will not be published.