How to enable Hyper-V and Windows Sandbox
With Hyper-V you run other operating systems on your PC as virtual machines; Windows Sandbox opens a disposable, isolated Windows for trying a suspicious file. Both come with Windows 11 Pro and take a few clicks to turn on.
Updated:Requirements
Windows 11 Pro, Enterprise or Education; a 64-bit processor that supports virtualisation; virtualisation switched on in the BIOS (Intel VT-x or AMD-V); and at least 4 GB of memory, 8 GB or more for comfortable use. To check, type “systeminfo” in a terminal and look at “Hyper-V Requirements” at the end of the output.
Turning on Hyper-V
Type “Turn Windows features on or off” in Start, tick “Hyper-V” in the list, press OK and restart. “Hyper-V Manager” then appears in Start; “Quick Create” sets up a ready virtual machine in a few clicks.
Turning on Windows Sandbox
In the same “Windows features” window tick “Windows Sandbox” and restart. Opening it from Start gives you a clean Windows in a window; you can copy files in and run them. When you close the window, everything inside is permanently deleted.
Licensing Windows inside a virtual machine
Each Windows you install in a virtual machine is a separate installation that needs its own license; the host's license does not cover the virtual machine. Windows Sandbox needs no separate license.
Frequently asked
Does Home have Hyper-V?
No. Hyper-V and Windows Sandbox need Pro.
Does Hyper-V slow games down?
In most games the difference is small. Some anti-cheat systems may refuse to run while virtualisation is on.