Installing Windows 11 in Hyper-V

Testing a new Windows version, running an old app safely or building a demo environment? With Hyper-V, Windows' built-in virtualisation, you create a virtual machine on your own PC. This article shows how to turn on Hyper-V and install Windows 11 in a virtual machine, including the virtual TPM that Windows 11 requires.

What do you need?

Turn on Hyper-V

Turning on Hyper-V in Windows features

Create a Windows 11 VM

  1. Download the Windows 11 ISO file from the Microsoft website.
  2. Open Hyper-V Manager and choose New > Virtual Machine.
  3. Choose Generation 2. Generation 1 supports neither Secure Boot nor TPM.
  4. Assign at least 4096 MB of memory and a virtual disk of 64 GB or more.
  5. For networking, choose the Default Switch for internet through your PC.
  6. Select the ISO file as installation media and choose Finish.
Creating a Generation 2 virtual machine in Hyper-V

Turn on TPM and Secure Boot

  1. Right-click the VM > Settings > Security.
  2. Tick Enable Secure Boot with the Microsoft Windows template.
  3. Tick Enable Trusted Platform Module.
  4. Under Processor, set at least 2 virtual processors.

Start the VM, press a key to boot from the DVD and follow the Windows 11 setup.

Enabling Trusted Platform Module for a Hyper-V VM

Faster: Quick Create

Hyper-V Manager also has Quick Create. Pick a local ISO file and Hyper-V sets the basics for you. Check the TPM setting afterwards.

Tips

Read also

Turn Windows features on or off in Windows 11 and 10: 4 ways
Join the Windows Insider Program for Windows 11
Create a bootable Windows 11 USB drive

Nederlandstalige versie: Hyper-V aanzetten en Windows 11 installeren in een virtuele machine


More in English