๐Ÿ”ทHyper-V

๐Ÿงฉ Disable Hyper-V

Some applications or virtual machine platforms like VMware or VirtualBox may not function properly while Hyper-V is enabled. If you're experiencing issues with virtualization, disabling Hyper-V might help.


โš ๏ธ Warning

Disabling Hyper-V will prevent you from using features like Windows Subsystem for Linux 2 (WSL2), Windows Sandbox, and other Hyper-V-based virtual environments.


โœ… Check if Hyper-V is Enabled

  1. Press Win + X โ†’ Click on Windows Terminal (Admin) or Command Prompt (Admin)

  2. Run the following command:

    systeminfo | find "Hyper-V"
  3. If any line returns Yes, Hyper-V is active on your system.


๐Ÿ”ง How to Disable Hyper-V

There are several ways to disable Hyper-V. Choose the one that suits your situation best.


๐Ÿ› ๏ธ Method 1: Using Windows Features

  1. Press Win + R, type optionalfeatures.exe, and hit Enter

  2. In the Windows Features window, uncheck the following:

    • Hyper-V

    • Virtual Machine Platform

    • Windows Hypervisor Platform

  3. Click OK and restart your computer


๐Ÿ’ป Method 2: Using Command Line (bcdedit + PowerShell)

  1. Open Command Prompt or PowerShell as Administrator

  2. Run the following commands one after another:

    bcdedit /set hypervisorlaunchtype off
    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -NoRestart
  3. Restart your PC to apply changes

๐Ÿ’ก To re-enable Hyper-V later, run one after another:

bcdedit /set hypervisorlaunchtype auto
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -All

๐Ÿงผ Optional: Clean up Remaining Features

If you want to ensure all related virtualization features are disabled:

  1. Open Windows Terminal (Admin)

  2. Run:

    DISM /Online /Disable-Feature:VirtualMachinePlatform
    DISM /Online /Disable-Feature:Windows-Hypervisor-Platform
  3. Restart when prompted


๐Ÿงช Verify Itโ€™s Disabled

After reboot:

  • Run systeminfo | find "Hyper-V" again

  • If no lines are returned, Hyper-V has been successfully disabled

Last updated