How to Create Windows 11 Virtual Machine Hyper V
In this article
Yes, you can create a Windows 11 virtual machine using Hyper-V on a compatible Windows PC. This allows you to run Windows 11 in a secure, isolated environment for testing, development, or software compatibility without affecting your main system. To do this, your host PC must support Hyper-V and meet Windows 11’s system requirements, including TPM 2.0 and Secure Boot. The process involves enabling Hyper-V, downloading the Windows 11 ISO, creating a new virtual machine, and installing the OS inside it.
What You'll Need
- A Windows 10 or Windows 11 PC with Pro or Enterprise edition (Hyper-V is not available on Home edition)
- At least 8 GB of RAM (16 GB recommended for smooth performance)
- 64 GB or more of free disk space
- Processor that supports virtualization (Intel VT-x or AMD-V) and Second Level Address Translation (SLAT)
- Trusted Platform Module (TPM) version 2.0 enabled in firmware
- Windows 11 ISO file from the official Microsoft website
- Administrator access to the host machine
Step-by-Step
- Ensure your PC supports Hyper-V and Windows 11 requirements. Open Task Manager (Ctrl+Shift+Esc), go to the Performance tab, and check that 'Virtualization' is listed as 'Enabled'. If not, restart your PC and enable it in the BIOS/UEFI settings under CPU or Security settings.
- Verify TPM 2.0 is active. Press Win + R, type
tpm.msc, and press Enter. Confirm the TPM status shows 'The TPM is ready for use' and the specification version is 2.0. - Enable Hyper-V. Press Win + R, type
optionalfeatures, and press Enter. In the Windows Features window, check the box next to 'Hyper-V' and click OK. The system will apply changes and may require a restart. - After rebooting, open the Start menu and search for 'Hyper-V Manager'. Launch it. If it opens without errors, Hyper-V is ready.
- Download the Windows 11 ISO from Microsoft’s official download page. Use the Media Creation Tool or the direct ISO link provided by Microsoft to get the correct version (64-bit only).
- In Hyper-V Manager, click 'New' in the Actions panel, then select 'Virtual Machine...'. The New Virtual Machine Wizard will open. Click Next.
- Choose 'Generation 2' when prompted. This is required for Windows 11 to support Secure Boot and UEFI firmware.
- Assign memory (RAM). Enter at least 4096 MB (4 GB), but 8192 MB (8 GB) is better if your host system allows it. Leave 'Use Dynamic Memory' unchecked unless you're experienced with memory management.
- Create a virtual hard disk. Specify a size of at least 64 GB to meet Windows 11 requirements. Use the default VHDX format and fixed size for best performance (though dynamically expanding saves space).
- Choose 'Installation Options' and select 'Install an operating system from a bootable image file'. Browse to the Windows 11 ISO file you downloaded and select it.
- Name the virtual machine and choose where to store it. Use a drive with sufficient free space. Click Next, then Finish to create the VM.
- In Hyper-V Manager, right-click the new VM and select 'Settings'. Under 'Security', ensure 'Enable Secure Boot' is checked and set to 'Microsoft UEFI Certificate Authority'.
- Start the virtual machine by right-clicking it and selecting 'Start', then 'Connect' to open the console.
- The VM will boot from the ISO. Follow the Windows 11 setup: select language, accept the license, and choose 'Custom: Install Windows only (advanced)'.
- Complete the installation by creating a user account. You can skip entering a Microsoft account by disconnecting the network adapter temporarily or using the offline account option.
- Once setup finishes, Windows 11 will boot in the VM. Install Hyper-V Integration Services by going to 'Action' > 'Insert Integration Services Setup Disk' in the VM window, then run the installer inside Windows 11 for better performance and features like clipboard sharing.
Common Mistakes
- Trying to use Generation 1 VMs, which do not support Secure Boot or UEFI required by Windows 11.
- Not enabling virtualization or TPM 2.0 in BIOS/UEFI, leading to boot or installation failures.
- Allocating too little RAM or disk space, causing poor performance or installation blocks.
- Using Windows 10 Home edition, which lacks Hyper-V support.
- Forgetting to attach the Windows 11 ISO before starting the VM, resulting in no bootable operating system.
Tips
- Use fixed-size VHDX disks for better performance, especially if your host drive is SSD.
- Assign multiple CPU cores to the VM if your host has them (via VM Settings > Processor).
- Enable Enhanced Session Mode in Hyper-V settings for better display resolution and device integration.
- Take a checkpoint (snapshot) of the VM after installation but before installing apps, so you can revert if needed.
- Keep the host system updated to ensure Hyper-V and security features remain compatible.
Troubleshooting
If the VM fails to start or Windows 11 setup blocks, first confirm virtualization and TPM 2.0 are enabled using coreinfo -v (from Sysinternals) or tpm.msc. If Secure Boot errors appear, double-check that the VM is Generation 2 and Secure Boot is enabled in settings. If the VM boots but shows a black screen, ensure the ISO is properly attached and try reinstalling. If Windows 11 setup says your PC doesn’t meet requirements, bypass this by disconnecting the network during setup or using offline account creation. If performance is slow, increase RAM, disable visual effects in Windows 11, or assign more virtual processors. If Integration Services won’t install, ensure the disk is mounted and run it as Administrator inside the VM.
Frequently Asked Questions
Can I run Windows 11 on Hyper-V with 4 GB RAM?
Technically yes, but performance will be poor. Windows 11 requires 4 GB minimum, but 8 GB or more is recommended for smooth operation in a VM.
Why does Windows 11 setup say my PC can't run Windows 11?
This occurs if Secure Boot or TPM isn’t detected. Ensure the VM is Generation 2 and both features are enabled in firmware and VM settings.
Is Hyper-V free to use?
Yes, Hyper-V is included at no extra cost with Windows 10/11 Pro and Enterprise editions.
Can I use the Windows 11 Home ISO in Hyper-V?
Yes, as long as the VM meets all system requirements. However, licensing still applies—ensure you have a valid license.
Does Hyper-V support GPU acceleration for Windows 11?
Limited support exists via Discrete Device Assignment (DDA), but it's complex and requires specific hardware. Most users rely on software rendering.
Can I run multiple Windows 11 VMs at once?
Yes, but only if your host system has enough CPU, RAM, and disk resources to support them all simultaneously.