Hyper-V is Microsoft’s built-in virtualization platform. It lets you run other operating systems — another Windows, Ubuntu, or a test environment — inside a virtual machine on your Windows 11 PC, without a second computer. This guide shows how to check if your PC supports it, turn it on, and create your first virtual machine.
Table of Contents
Before you start: what you need
- Windows 11 Pro, Enterprise or Education. Hyper-V is NOT included in Windows 11 Home. If you have Home, use WSL or VirtualBox instead.
- A 64-bit processor with virtualization support (Intel VT-x or AMD-V) and Second Level Address Translation (SLAT) — nearly all modern CPUs have both.
- At least 4 GB of RAM (8 GB or more is recommended if the virtual machine will run Windows).
- Virtualization turned on in your BIOS/UEFI. Check first: open Task Manager (Ctrl + Shift + Esc), go to Performance > CPU, and look for “Virtualization: Enabled”. If it says Disabled, restart your PC, enter the BIOS/UEFI setup (usually Del, F2 or F10 during boot), and enable Intel Virtualization Technology or AMD-V, then save and exit.
1. Turn on Hyper-V
Option A — Windows Features:
- Press the Windows key and type “Turn Windows features on or off”, then open it.
- Tick Hyper-V, including both Hyper-V Management Tools and Hyper-V Platform.
- Click OK and restart your PC when asked.
Option B — command line (run as administrator):
- Press the Windows key, type Windows Terminal, right-click it and choose Run as administrator.
- Run this command: DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
- Restart your PC when it finishes.
2. Open Hyper-V Manager
Press the Windows key, type Hyper-V Manager and open it. If you use it often, right-click it in the Start menu and choose Pin to taskbar.
3. Create a virtual switch first
A virtual machine needs a virtual switch to reach the network. In Hyper-V Manager, click Virtual Switch Manager in the right-hand Actions panel. There are three types:
- External: the virtual machine shares your PC’s network adapter and gets its own IP address on your real network. Use this when the VM needs internet access.
- Internal: the virtual machine can talk to your PC but not to the outside network.
- Private: virtual machines can talk to each other, but not to your PC or the network.
For most people, create one External switch connected to your Wi-Fi or Ethernet adapter, and give it a name like “External Switch”.
4. Create your first virtual machine
The fastest way is Quick Create:
- In Hyper-V Manager, click Quick Create in the Actions panel.
- Choose an operating system (for example Ubuntu) or use a local installation source — an ISO file of Windows or Linux you downloaded.
- Give the VM a name, click Create Virtual Machine, and wait for the download and setup to finish.
- Click Connect, then Start.
Or use the full wizard (Action > New > Virtual Machine) when you need control over every setting: Generation (choose Generation 2 for modern 64-bit operating systems with UEFI), memory (assign at least 4 GB for Windows), the virtual switch from step 3, and a virtual hard disk (VHDX). Dynamic Memory lets Hyper-V adjust the VM’s RAM automatically — turn it on for Windows guests.
5. Useful settings to know
- Checkpoints: right-click a VM and choose Checkpoint to save its exact state before a risky change. You can revert to it later — like a system restore point for the VM.
- Enhanced Session Mode: gives you clipboard sharing, drive redirection and better display scaling when connecting to a Windows VM.
- Dynamic Memory and virtual processors: you can change both while the VM is off, under Settings in Hyper-V Manager.
Hyper-V vs VirtualBox and WSL
- WSL 2 (Windows Subsystem for Linux) runs on top of Hyper-V, so the two work together.
- VirtualBox 7 and newer also works alongside Hyper-V. Older virtualization software may ask you to disable Hyper-V — check the version first before turning Hyper-V off.
- If you only need Linux on Windows, WSL 2 is simpler than a full Hyper-V virtual machine. Hyper-V is the better choice when you need a complete separate Windows or Linux system with its own desktop.
FAQ
Can I run Hyper-V on Windows 11 Home?
No. Hyper-V is not included in Windows 11 Home, and the DISM command will fail. Upgrade to Pro, or use VirtualBox or WSL 2 instead.
How much RAM should I give a virtual machine?
At least 2 GB for a light Linux VM and 4 GB or more for Windows. Never assign more RAM than your PC has free — leave at least 4 GB for Windows 11 itself.
Why is the Hyper-V option missing from Windows Features?
Either you have Windows 11 Home, or virtualization is disabled in the BIOS/UEFI. Check both before anything else.
Does Hyper-V slow down my PC?
Only while a virtual machine is running, and only by the RAM and CPU you assigned to it. When no VM is running, Hyper-V has almost no effect.