← All guides

Hyper-V

How to Disable HyperV

Open Windows PowerShell as Administrator

Enter the Following Commands

Copy and paste the following lines of code separately into the PowerShell window, pressing “Enter” after each line:

bcdedit /set hypervisorlaunchtype off
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

If you encounter an error message stating “Disable-WindowsOptionalFeature: Feature name Microsoft-Hyper-V-All is unknown,” don’t worry. This is normal and can be ignored.

Restart Your PC

After executing the commands, restart your computer for the changes to take effect.

How to Enable HyperV

How To Enable Hyper-V in Windows 11 (Desktop & Laptop) - YouTube

How To Enable Hyper-V in Windows 11 (Desktop & Laptop) Speedy Tutorials

Watch on

If you’re on a Windows Home version it doesn’t have a option anywhere to enable it. To bypass that run the file below.

Use the file or instructions supplied with your OnlyESP order.

By following these steps, you should successfully turn off/on Hyper-V in Windows.