Enabling Hyper-V on Windows 11: A Comprehensive Guide

Hyper-V is a powerful virtualization technology available in Windows 11, allowing users to create and manage virtual machines (VMs).Before diving into the steps for enabling this feature, it’s essential to understand a few prerequisites and the two editions of Windows 11 that support Hyper-V. This guide will thoroughly cover how to activate Hyper-V on both Windows 11 Pro and Home editions.

Prerequisites for Enabling Hyper-V

First and foremost, enabling Hyper-V requires virtualization to be activated in your system’s UEFI (Unified Extensible Firmware Interface) settings. This step is crucial for both Windows 11 Pro and Home editions. The Hyper-V feature is directly available on Windows 11 Pro, Enterprise, and Education editions, while Windows 11 Home requires a workaround to manually install Hyper-V. If you’re using Windows 11 Home, you may also consider alternative virtualization software such as VirtualBox.

Initial Setup for Hyper-V

To check whether virtualization is already enabled on your system, follow these steps:

  1. Open the System Information app by searching from the Start menu.
  2. In the System Summary section, look for the message stating, “A hypervisor has been detected. Features required for Hyper-V will not be displayed.” If you see this, Hyper-V is already enabled.

Turning On Hyper-V for Windows 11 Pro

Step 1: Enable Virtualization in UEFI

To activate UEFI virtualization, follow these steps:

  1. Open Settings.
  2. Navigate to System > Recovery.
  3. Click on the Restart now button under Advanced Startup.
  4. Select Troubleshoot > Advanced options > UEFI Firmware Settings.
  5. Click Restart, and once in UEFI, find the settings for Virtualization Technology and enable it.
  6. Save changes and exit, usually by pressing F10.

Step 2: Enable Hyper-V through Settings

Once virtualization is enabled at the hardware level, you can turn on Hyper-V:

  1. Open Settings.
  2. Click on Apps > Optional features.
  3. Under More Windows features, check the Hyper-V option.
  4. Click OK and then restart your system.

After these steps, Microsoft Hyper-V will be ready for use, complete with the Hyper-V Manager to help you manage virtual machines.

Enabling Hyper-V on Windows 11 Home

Step 1: Enable Virtualization in UEFI

Just like in the Pro edition, you need to enable UEFI virtualization on your system:

  1. Access Settings > System > Recovery.
  2. Click on the Restart now button under Advanced Startup.
  3. Go to Troubleshoot > Advanced options > UEFI Firmware Settings, and restart.
  4. Enable the relevant virtualization technology in the UEFI menu and save changes.

Step 2: Installing Hyper-V via Script

Since Windows 11 Home doesn’t natively support Hyper-V, you’ll need to run a supplied script to install the necessary components:

  1. Open Start and create a new text file.
  2. Copy and paste the installation script below into the text file:
  3. pushd "%~dp0"dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv-home.txtfor /f %%i in ('findstr /i.hv-home.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"del hv-home.txtDism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALLpause

  4. Save the file with a .bat extension, for example, hyperv-home.bat.
  5. Right-click the saved file and select Run as administrator.
  6. Press Y to restart your computer.

Disabling Hyper-V on Windows 11

To turn off Hyper-V, follow similar methods as when enabling it:

Using Settings to Disable Hyper-V

  1. Open Settings > Apps > Optional features.
  2. Click on More Windows features.
  3. Uncheck the Hyper-V option.
  4. Click OK and then restart your computer.

Using PowerShell to Disable Hyper-V

  1. Open PowerShell as an administrator.
  2. Run the following command:
  3. Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

  4. Press Y to restart your computer.

Using Command Prompt to Disable Hyper-V

  1. Launch Command Prompt as an administrator.
  2. Run this command:
  3. DISM /Online /Disable-Feature:Microsoft-Hyper-V

  4. Press Y to finalize the changes and restart your system.

Update: As of July 21, 2025, this guide has been revised to include the latest best practices for enabling Hyper-V on Windows 11.

Source & Images

Leave a Reply

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