Step-by-Step Guide to Disabling Hyper-V on Windows 11

Step-by-Step Guide to Disabling Hyper-V on Windows 11

If you’ve noticed that third-party virtualization applications like VMware Workstation and VirtualBox are suffering from conflicts or decreased performance in Windows 11, the culprit might be Hyper-V. Disabling Hyper-V can significantly boost the efficiency of your virtualization setup. With a series of straightforward methods, you can quickly turn off Hyper-V and regain optimal functionality in your chosen tools.

Method 1: Disable Hyper-V via Windows Features

Step 1: Initiate the Run dialog by pressing Win + R.

Run dialog box

Step 2: Enter appwiz.cpl and hit Enter to access the Programs and Features window.

Programs and Features

Step 3: On the left side, click Turn Windows features on or off.

Windows Features

Step 4: Scroll through the Windows Features dialog and locate Hyper-V.

Locate Hyper-V

Step 5: Uncheck the box beside Hyper-V to disable it.

Step 6: Ensure you also remove the checks from Virtual Machine Platform and Windows Hypervisor Platform for a complete shutdown of Hyper-V functionalities.

Unchecking Hyper-V features

Step 7: Click OK to confirm the changes.

Step 8: Restart your computer when prompted to finalize the process. This step is crucial, as skipping it may not deactivate Hyper-V completely.

Method 2: Disable Hyper-V Using Command Prompt

Step 1: Click on the Start menu and search for cmd.

Step 2: Right-click on Command Prompt and select Run as administrator.

Run Command Prompt as administrator

Step 3: In the Command Prompt, type the following command and press Enter:

DISM /Online /Disable-Feature:Microsoft-Hyper-V

Command to disable Hyper-V

Step 4: Wait for the operation to complete fully and then restart your computer to apply the changes. This method can be particularly effective if you’re comfortable with command line tools.

Method 3: Disable Hyper-V Using PowerShell

Step 1: Right-click the Start button and choose Windows PowerShell (Admin).

PowerShell Admin

Step 2: In the PowerShell interface, type the command below and press Enter:

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

PowerShell command for disabling Hyper-V

Step 3: Confirm the action by typing Y when prompted, and press Enter. Then restart your computer.

Method 4: Disable Hyper-V via Boot Configuration Data (BCD) Edit

Step 1: Launch Command Prompt with administrative privileges.

Admin Command Prompt

Step 2: Enter the following command to configure your boot settings:

bcdedit /set hypervisorlaunchtype off

BCDEdit command to disable Hyper-V

Step 3: Restart your computer to enact these changes. This method will prevent Hyper-V from launching at system boot.

Note: To restore Hyper-V later, simply use the command: bcdedit /set hypervisorlaunchtype auto.

BCDEdit command to re-enable Hyper-V

Method 5: Disable Hyper-V Services in System Configuration

Step 1: Press Win + R, type msconfig, and hit Enter to open the System Configuration.

System Configuration

Step 2: Navigate to the Services tab.

Step 3: Uncheck these services to prevent them from running:

  • Hyper-V Host Compute Service: Manages the Hyper-V environment.
  • Hyper-V Virtual Machine Management: Controls the virtual machine operations.

Step 4: Click Apply, followed by OK.

Step 5: Restart your computer when prompted. This step will ensure the services have been halted during your next boot.

Method 6: Disable Memory Integrity and Virtualization-Based Security

Step 1: Launch the Settings app by pressing Win + I.

Settings app

Step 2: Locate Privacy & security from the left menu.

Privacy & security settings

Step 3: Click Windows Security, then select Device security.

Windows security

Step 4: Under Core isolation, tap on Core isolation details.

Step 5: Toggle the Memory integrity setting to Off.

Toggle Memory Integrity

Step 6: You’ll need to restart your computer to implement these changes effectively.

Method 7: Disable Device Guard and Credential Guard via Registry Editor

It’s essential to back up the registry before making any modifications.

Step 1: Launch the Registry Editor by pressing Win + R, then typing regedit, and hitting Enter.

Registry Editor

Step 2: Navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard

Registry path for Device Guard

Step 3: In the right pane, locate and double-click on EnableVirtualizationBasedSecurity.

Step 4: Change the value to 0 and click OK.

Step 5: Go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Registry path for LSA

Step 6: Find LsaCfgFlags and modify its value to 0.

Step 7: Close the Registry Editor and restart your computer. Once this process is done, you will have effectively disabled Device Guard and Credential Guard.

In summary, performing these steps to disable Hyper-V in Windows 11 can eliminate conflicts with external virtualization applications, allowing you to operate your preferred tools without any hindrances. Always remember to back up your system and settings where possible to avoid unintended data loss.

Additional Insights

1. Why should I disable Hyper-V?

Disabling Hyper-V is essential when using third-party virtualization software, as it can cause conflicts and degrade performance, preventing optimal operation of tools like VMware Workstation and VirtualBox.

2. Is it safe to disable Hyper-V?

Yes, disabling Hyper-V is generally safe unless you rely on Microsoft’s virtualization features. However, be sure to back up your data and check compatibility with your applications.

3. How do I re-enable Hyper-V if needed?

If you decide you need Hyper-V later, you can re-enable it through the Windows Features menu or by using commands in Command Prompt or PowerShell, as discussed in the methods above.

Source & Images

Leave a Reply

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