How to Install Windows 11 on a Hyper-V Virtual Machine

Photo of author

By Victor Ashiedu

Published

Installing Windows 11 on a Hyper-V VM may seem straightforward, and it is. However, due to some strict Windows 11 installation requirements, after creating the VM, you need to tweak its configurations to meet these requirements.

Before you proceed with the steps below, create an External Hyper-V switch and link it to the network card on your PC with access to the internet.

Step 1: Create a Generation 2 Hyper-V VM

You cannot install Windows 11 on a Gen 1 Hyper-V VM because of the Windows 11 requirements I mentioned in my introduction. I will give more details about these requirements in the next section.

For now, follow these steps to create a Hyper-V Gen 2 VM:

  1. Open the Hyper-V Manager. Then, right-click the host, point to New, and select Virtual Machine.
Open the Hyper-V Manager. Then, right-click the host, point to New, and select Virtual Machine.
  1. When the new VM wizard opens, give the VM a name, and on the next screen, select Generation 2.
When the new VM wizard opens, give it a name and on the next screens, select Generation 2
  1. On the next screens of the wizard, assign the VM a RAM, link it to the external switch you created, and assign it an HDD. Also, on the Install Options page, select “Install an Operating System Later.”

Step 2: Enable TPM on the Hyper-V VM

As I already mentioned, Windows 11 has some strict installation requirements that must be met. One of those requirements is that the Trusted Platform Module (TPM) must be enabled on the PC.

This feature is only supported in the Gen 2 Hyper-V VM. This is why we created a Gen 2, instead of Gen 1.

To enable TPM on your Hyper-V VM, follow these steps.

  1. Right-click the VM you created in step 1 and select Settings on the Hyper-V Manager.
Right-click the VM you created in step 1 and select Settings on the Hyper-V Manager
  1. On the VM’s Settings, click the Security tab. Then, on the details pane, check the “Enable Trusted Platform Module” checkbox and click OK.
Windows 11 also requires the Secure Boot feature but this feature is enabled by default on a Gen 2 VM.
On the VM's Settings, click the Security tab. Then, on the details pane, check the Enable Trusted Platform Module checkbox and click OK

Step 3: Download the Windows 11 Installation ISO

  1. Open the Windows 11 installation page.
  2. Scroll to the “Download Windows 11 Disk Image (ISO)” section, select Windows 11 (multi-edition ISO), and click the Download link.
Scroll to the Download Windows 11 Disk Image (ISO) section, select Windows 11 multi-edition ISO, and click the Download link
  1. Finally, select the language you wish to download and click the Confirm button – this activates a download link.

    Click the “64-bits Download” link to initiate the ISO image download.
Finally, select the language you wish to download and click the Confirm button to download the ISO image
Due to the image size (6.3GB!), it may take a while to download. The rate depends on your internet connection.
Due to the size of the image, it may take a while to download. The rate depends on your internet connection.

Step 4: Install Windows 11 on the VM

  1. Open the VM’s Settings on the Hyper-V Manager. Then, on the left pane, select “Add Hardware.”

    On the details pane, select “SCSI Controller” and click Add. The SCSI Controller will be highlighted and display options on the details pane.
Add an ISO image to a Hyper-V VM
  1. Select DVD Drive, click Add, and OK. The DVD Drive will be selected and provide options on the right pane.
Select DVD Drive, click Add and OK
  1. Select the “Image file” option, next click Browse, and select the downloaded Windows 11 ISO image. After that, click OK.
Select the Image file option, next click Browse, and select the downloaded Windows 11 ISO image. After that, click OK

Now that you have attached the ISO image to the VM, it is time to initiate the Windows 11 installation.

  1. To ensure that the VM boots from the ISO file, click the Firmware node. Then, on the details pane, Select “DVD Drive” and use the “Move Up” button to move it to the top.
To ensure that the VM boots from the ISO file, click the Firmware node. Then, on the details pane, Select DVD Drive and use the Move Up button to move it to the top
  1. Right-click the VM on the Hyper-V Manager and select Connect.
Before you start the VM, be ready to press any key to start the OS installation when you receive the prompt.
  1. Start the VM when one of the buttons I highlighted in the screenshot below.
Start the VM when one of the buttons highlighted in the screenshot below
  1. When prompted, press any key on your keyboard to initiate the OS installation. Once the installation starts, follow the Wizard to complete the installation.

Conclusion

The trick to installing Windows 11 on a Hyper-V virtual machine is to create a Gen 2 VM and secondly enable TPM on the VM. Once you fulfill these two requirements you are good to go.

I am confident that if you followed this hands-on guide, you would install Windows 11 on your Hyper-V successfully. If my assumption is correct, I like to hear from you.

Provide your feedback by responding to the “Was this page helpful?” question below.

Before you go on to other tasks, why not scan our Windows 11 how-to guides – you might just find another article that will make your day!

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

Leave a comment

Send this to a friend