Hyper-V is Microsoft's virtualisation platform, and it's built into Windows 11 Pro and Enterprise. With it you can run other operating systems, such as a Linux distribution or a separate copy of Windows, in virtual machines on your PC. That's handy for testing software, trying a new OS without dual-booting, or keeping a risky app away from your main system. This guide follows Microsoft's official instructions.
Check the requirements first
Microsoft lists these requirements for Hyper-V on Windows:
Windows 10 or Windows 11 Pro or Enterprise. Microsoft says the Hyper-V role can't be installed on Windows 10 Home or Windows 11 Home.
A 64-bit processor with Second Level Address Translation (SLAT).
CPU support for VM Monitor Mode Extension (VT-c on Intel CPUs).
At least 4GB of memory. Each virtual machine you run needs memory of its own, so more RAM gives you more room.
Hardware virtualisation also needs to be switched on in your PC's firmware. If it's turned off, see our guide to enabling virtualisation in the BIOS before you continue.
Microsoft also points out that Hyper-V is an optional Windows feature, so there's nothing to download.
Option 1: Turn Windows features on or off
This is the easiest method for most people.
Select Start, search for Control Panel and open it.
Select Programs, then Programs and Features.
Select Turn Windows features on or off.
Tick Hyper-V and select OK.
When the installation finishes, restart your PC when prompted.
Option 2: PowerShell
Select Start, type Windows PowerShell, right-click it and choose Run as administrator. Microsoft notes the command fails if PowerShell isn't running as an administrator.
Run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enter Y when asked to restart the computer to complete the installation.
Option 3: DISM
The Deployment Image Servicing and Management tool (DISM) can enable Windows features while Windows is running.
Open Windows PowerShell as an administrator.
Run:
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
You should see "The operation completed successfully." Restart your PC.
If you also use VirtualBox or VMware
Microsoft warns that third-party virtualisation apps that rely on the same processor features, such as VMware Workstation and VirtualBox, may not work properly while the Hyper-V hypervisor is running. You can install Hyper-V without uninstalling them, but Microsoft says their virtual machines might not start or might run unreliably while Hyper-V's hypervisor is active. If you depend on one of those apps, check its own documentation before turning Hyper-V on.
What to do next
Once Hyper-V is enabled, Microsoft's guide points to its "Create a virtual machine in Hyper-V" instructions as the next step. Give it enough memory and disk space for the guest operating system, and keep your installation media (an ISO file) ready.
If you only need a quick, throwaway desktop for testing a single app, Windows Sandbox may be simpler. If you want to run Linux tools or local AI software with GPU access, see our guide to setting up WSL2 for local AI.
Our verdict
If you have Windows 11 Pro or Enterprise and a CPU with virtualisation turned on, you can enable Hyper-V through Windows Features, PowerShell or DISM, followed by a restart. Windows 11 Home users can't install it, and anyone relying on VirtualBox or VMware Workstation should check compatibility first.