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:
- Open the System Information app by searching from the Start menu.
- 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:
- Open Settings.
- Navigate to System > Recovery.
- Click on the Restart now button under Advanced Startup.
- Select Troubleshoot > Advanced options > UEFI Firmware Settings.
- Click Restart, and once in UEFI, find the settings for Virtualization Technology and enable it.
- 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:
- Open Settings.
- Click on Apps > Optional features.
- Under More Windows features, check the Hyper-V option.
- 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:
- Access Settings > System > Recovery.
- Click on the Restart now button under Advanced Startup.
- Go to Troubleshoot > Advanced options > UEFI Firmware Settings, and restart.
- 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:
- Open Start and create a new text file.
- Copy and paste the installation script below into the text file:
- Save the file with a .bat extension, for example, hyperv-home.bat.
- Right-click the saved file and select Run as administrator.
- Press Y to restart your computer.
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
Disabling Hyper-V on Windows 11
To turn off Hyper-V, follow similar methods as when enabling it:
Using Settings to Disable Hyper-V
- Open Settings > Apps > Optional features.
- Click on More Windows features.
- Uncheck the Hyper-V option.
- Click OK and then restart your computer.
Using PowerShell to Disable Hyper-V
- Open PowerShell as an administrator.
- Run the following command:
- Press Y to restart your computer.
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Using Command Prompt to Disable Hyper-V
- Launch Command Prompt as an administrator.
- Run this command:
- Press Y to finalize the changes and restart your system.
DISM /Online /Disable-Feature:Microsoft-Hyper-V
Update: As of July 21, 2025, this guide has been revised to include the latest best practices for enabling Hyper-V on Windows 11.
Leave a Reply