Of course! Installing Windows 11 on a Hyper-V virtual machine (VM) is a straightforward process, but it has a few crucial steps due to Windows 11's specific security requirements (TPM 2.0 and Secure Boot).
Here is a complete, step-by-step guide.
Part 1: Prerequisites
Before you begin, make sure you have the following:
-
A Host PC with Hyper-V:
- You need Windows 10 or Windows 11 Pro, Enterprise, or Education. Home editions do not include Hyper-V.
- Your computer's CPU must support virtualization (Intel VT-x or AMD-V), which is standard on most modern processors.
-
Hyper-V Enabled:
- If it's not already on, search for "Turn Windows features on or off" in the Start Menu.
- In the window that opens, find and check the box for Hyper-V and click OK. Your system will install the feature and require a restart.
[image: Enable Hyper-V Feature] open
-
Windows 11 ISO File:
- Download the official Windows 11 Disk Image (ISO) from the Microsoft website.
- Official Download Link: https://www.microsoft.com/software-download/windows11
- Under the "Download Windows 11 Disk Image (ISO)" section, select "Windows 11" and your language, then download the 64-bit file.
Part 2: Creating the Virtual Machine
-
Open Hyper-V Manager:
- Press the Start button and type
Hyper-V Manager, then open it.
-
Launch the New Virtual Machine Wizard:
- In the Actions pane on the right, click New > Virtual Machine....
[image: New Virtual Machine in Hyper-V] open
-
Walk Through the Wizard:
- Before You Begin: Click Next.
- Specify Name and Location: Give your VM a descriptive name, like
Windows 11 VM. You can change the location if you want to store the VM on a different drive. Click Next.
- Specify Generation: This is a critical step. You must select Generation 2. Generation 1 VMs use a legacy BIOS and do not support the UEFI, Secure Boot, and TPM features required by Windows 11. Click Next.
[image: Select Generation 2] open
-
Assign Memory: Windows 11 requires a minimum of 4 GB of RAM. Enter 4096 MB or more. It's highly recommended to check the box for "Use Dynamic Memory for this virtual machine". This allows Hyper-V to adjust the RAM usage as needed, which is more efficient. Click Next.
-
Configure Networking: Select the Default Switch from the dropdown menu. This is the easiest option and will provide internet access to your VM through your host computer's network connection. Click Next.
-
Connect Virtual Hard Disk:
- Leave "Create a virtual hard disk" selected.
- Windows 11 requires at least 64 GB of storage. It's better to provide more, so set the size to 80 GB or 128 GB to have room for applications.
- Click Next.
-
Installation Options:
- Select "Install an operating system from a bootable image file".
- Click Browse... and navigate to the Windows 11 ISO file you downloaded earlier.
- Click Next.
-
Summary: Review your settings and click Finish.
Part 3: Configuring the VM for Windows 11 Requirements
This is the most important part to avoid the "This PC can't run Windows 11" error.
-
Open VM Settings:
- In Hyper-V Manager, you will now see your new
Windows 11 VM in the list. Right-click on it and select Settings....
-
Enable Security Features:
- In the Settings window, select the Security tab on the left.
- Check the box for "Enable Secure Boot". (It should already be selected with the "Microsoft Windows" template for a Generation 2 VM).
- Check the box for "Enable Trusted Platform Module". This enables the virtual TPM 2.0 chip that Windows 11 requires.
[image: Enable TPM and Secure Boot] open
-
Adjust Processors (Recommended):
- Select the Processor tab on the left.
- Windows 11 requires at least 2 CPU cores. Change the "Number of virtual processors" to 2 or 4 for better performance.
[image: Set vCPUs] open
-
Apply Settings:
- Click Apply and then OK to save your changes.
Part 4: Installing Windows 11
-
Start and Connect to the VM:
- In Hyper-V Manager, right-click your
Windows 11 VM and click Connect.... This will open the Virtual Machine Connection window.
- Click the Start button in the toolbar.
-
Boot from the ISO:
- As soon as the VM starts, you will see a black screen with the message: "Press any key to boot from CD or DVD...".
- You must quickly click inside the window and press any key (like the spacebar) to start the Windows 11 setup from the ISO file. If you miss it, the VM will try to network boot and fail. Just restart the VM and try again.
-
Follow the Windows 11 Setup:
- The familiar Windows Setup will begin.
- Choose your language, time, and keyboard layout, then click Next.
- Click Install now.
- Enter a product key if you have one, or click "I don't have a product key" to continue.
- Choose the edition of Windows 11 you want to install (e.g., Pro or Home).
- Accept the license terms.
- When asked for the installation type, choose "Custom: Install Windows only (advanced)".
- You will see the virtual hard drive you created (e.g., Drive 0 Unallocated Space). Select it and click Next.
- Windows will now copy files and install. This process will take several minutes and the VM will restart automatically.
-
Complete the Out-of-Box Experience (OOBE):
- After the final restart, you will be guided through the Windows 11 setup (selecting your country, keyboard, naming your PC, and setting up a user account). Follow the on-screen instructions to complete the setup.
Part 5: Post-Installation (Enhanced Session)
Once you log in to Windows 11, Hyper-V will likely prompt you to connect with Enhanced Session. This is highly recommended.
- What is Enhanced Session? It provides a much better experience by allowing:
- Resizable desktop resolution.
- Copy/paste text and files between your host PC and the VM.
- Shared access to devices like printers and USB drives.
If you see a resolution dialog box, select your desired resolution and click Connect. You will be asked to log in again.
Your Windows 11 VM is now fully installed and ready to use!