Hyper-V comes pre-installed on Windows 11 computers. While this 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, including other virtualization tools such as VMWare Workstation, VirtualBox, and emulators. 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.
By design, only one virtualization tool can use the integrated virtualization extension, such as Intel VT-x and AMD-V, available on your processor. If you need to use third-party virtualization software, including VMware WorkStation and Virtual Box, you must disable the Hyper-V Hypervisor.
You may also need to disable other hypervisor-dependent features, including Device Guard, Credential Guard, and memory integrity feature part of Core Isolation in Windows Security.
You can access the System Information app to determine if the Hyper-V virtualization is running. This is useful if you need to verify the Hyper-V hypervisor status after or before disabling it.
To check the Hyper-V hypervisor status on your computer:
A hypervisor has been detected. Features required for Hyper-V will not be displayed.
The Windows Features dialog lets you add additional features 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 must disable the Virtual Machine Platform and Windows Hypervisor Platform feature in addition to Hyper-V.
To disable Hyper-V using the Windows Features dialog:
You can disable Hyper-V in boot configuration using the BCDEdit tool. This is useful if you only want to deactivate Hyper-V and not uninstall it completely.
To disable Hyper-V using BCDEdit:
bcdedit /set hypervisorlaunchtype off
bcdedit /set hypervisorlaunchtype auto
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 the Windows 11 boot menu.
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:
dism /online /disable-feature /featurename:Microsoft-hyper-v-all
After the restart, you can 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 to turn off Hyper-V Hypervisor.
If you prefer PowerShell, use the WindowsOptionalFeature cmdlet to disable Hyper-V in Windows 11. To do this, launch PowerShell with admin privileges and execute the command. Here's how to do it:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
During the restart following the uninstallation of Hyper-V, you may frequently encounter the message, "We couldn't complete the updates, undoing changes." To resolve this issue, ensure 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:
Do not remove the Microsoft Wi-Fi Direct Virtual Adapter.
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 hackers 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 needing access to your system's virtualization hardware.
To turn off Memory integrity in Windows Security:
Device Guard and Credential Guard don't play well with other virtualization software, including VMware Workstation. You may encounter an error saying Device Guard/Credential Guard is enabled when trying to power on the VMware Workstation.
Since you intend to use third-party virtualization software, you can safely disable Device Guard and Credential Guard using the Registry Editor.
That said, modifying the Windows Registry involves risk. We recommend you create a restore point and take a registry backup before attempting any modifications.
To disable Device Guard and Credential Guard:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard
Restart your computer to apply the changes and disable Device Guard and Credential Guard. If you ever need to enable these features, modify the value data and change it to 1.
Hyper-V is an excellent utility if you want an out-of-the-box virtualization solution. However, you must disable Hyper-V to use third-party virtualization software, including VirtualBox and WMware Workstation.
Fortunately, you can easily disable the Hyper-V Hypervisor and other Virtualization-based Security solutions to use third-party hypervisors without errors.
The above is the detailed content of How to Disable or Remove Hyper-V in Windows 11. For more information, please follow other related articles on the PHP Chinese website!