How to Disable or Remove Hyper-V in Windows 11

Hyper-V comes pre-installed on Windows 11 computers. While the virtualization tool is not available out of the box on the Home edition of the OS, you can install it with 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 trying to launch an app, PC games, or hardware tuning utilities.

Luckily, you can disable Hyper-V in Windows 11 with the help of the classic Windows Features dialog, Command Prompt, and PowerShell.

How to Check if Hyper-V Is Running on Windows 11

You can access the System Information app to determine if Hyper-V virtualization is running. This is useful if you need to verify Hyper-V’s status after disabling it.

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

  1. Press Win + R to open Run.
  2. Type msinfo32.exe and click OK to open the apps.
  3. Next, check if the following entry 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, you’ll need to disable Hyper-V, Memory integrity, and the Credential Guard feature, as discussed below to use other virtualization tools without any error.

1. How to Disable Hyper-V via the Windows Features Dialog

The Windows Features dialog lets you 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 Hyper-V detected error, you will need to disable the Virtual Machine Platform and Windows Hypervisor Platform feature in addition to Hyper-V.

To disable Hyper-V using the Windows Features dialog:

  1. Press the Win + R key to open the Run dialog.
  2. Type control and click OK to open the Control Panel.
  3. In the Control Panel, click on Programs.
  4. Next, click on Programs and Features.
  5. In the left pane, click on Turn Windows features on or off.
  6. In the Windows Features dialog, locate Hyper-V.
  7. Uncheck the Hyper-V option to disable the feature.
  8. Next, scroll down and locate the Virtual Machine Platform and Windows Hypervisor Platform options.
  9. Unselect both options and click OK.
  10. Windows will uninstall Hyper-V and other features from your system.
  11. Once done, restart your PC to apply the changes.

2. How to Disable Hyper-V Using BCDEDIT

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

To disable Hyper-V using BCDEdit:

  1. Press the 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 activate Hyper-V again, use the following command:
    bcdedit /set hypervisorlaunchtype auto
  6. Make sure to restart your PC to apply the changes.

Additionally, you can use the BCDEdit tool to perform other advanced tasks, such as deleting the old boot menu options and adding a safe mode shortcut to Windows 11’s boot menu.

3. How to Uninstall Hyper-V Using the Command Prompt

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

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

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

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

4. How to Disable Hyper-V Using 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 admin privileges and execute the command. Here’s how to do it.

  1. Press the Win key and type powershell.
  2. Right-click on PowerShell and select Run as administrator.
  3. Click Yes when prompted by User Account Control.
  4. In the PowerShell window, copy and paste the command below 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 Uninstall the Hyper-V Virtual Network Adapter

Often during the restart, after uninstalling Hyper-V, you may encounter the “We couldn’t complete the updates, undoing changes” message.

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

To delete Hyper-V’s virtual network adapters:

  1. Press Win + R to open Run.
  2. Type dvmgmt.msc and click OK to open Device Manager.
  3. In Device Manager, expand the Network Adapters section to locate the Hyper-V Virtual network adapters.
  4. If no virtual adapters associated with Hyper-V is listed, then click on View and select Show hidden devices.
  5. Right-click on the Hyper-V Virtual Ethernet Adapter and select Uninstall device.

    Do not remove the Microsoft Wi-Fi Direct Virtual Adapter.

  6. Click Uninstall to confirm the action.
  7. Repeat the steps to delete all the virtual network adapters associated with Hyper-V.
  8. Once done, close Device Manager and restart your PC. Next, uninstall Hyper-V and check for any improvements.

How to Turn Off Virtualization-Based Security (Memory Integrity)

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

The Memory integrity feature is part of Core Isolation. It helps prevent threat actors from accessing and infecting high-security processes using malicious code.

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

To turn off Memory integrity in Windows Security:

  1. Press Win + I to open the Settings app.
  2. In the left pane, click on the Privacy & security tab.
  3. Next, click on Windows Security.
  4. Under the Protection areas section, click on Device security.
  5. Next, click on Core isolation details under the Core isolation section.
  6. Toggle the switch under Memory integrity to turn it Off.
  7. Restart your PC to apply the changes.

Hyper-V is an excellent utility if you want an out-of-the-box virtualization solution. However, it is not without its flaws. Many third-party hypervisors, including the major players VirtualBox and WMware Workstations, don’t work with Hyper-V enabled.

If you are unsure of which hypervisor to use, compare the three popular virtualization tools to help you determine the best of the lot.

Leave a Reply

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