Hyper-V TPM 2.0 workaround.


  • Windows
  • updated

Hyper-V TPM 2.0 workaround

The description contains the creation of the Windows 11 ISO with a modified version of the MediaCreationTool program, which can be downloaded from the github site (owned by Microsoft). The program has been modified to remove Microsoft requirements from the Windows 11 installation system so that you can easily test it on any virtual machine or simply install it as your primary system on your computer.

Quick Tip: The disadvantage of this method is that Windows 11 installed, can not be updated automatically, so when a newer version is released, this operation must be performed again (once a year is enough?).

In short:

This method is not a so-called Dual Boot system, but a Windows Hyper-V virtual machine, prepared on a pre-installed Windows system, ie a Windows 11 system that can be started in a virtual environment on an already installed system (e.g. Windows 10).

The operation consists of several steps:

  1. - Download MediaCreationTool and create ISO.
  2. - Activate the Hyper-V function.
  3. - Hyper-V virtual machine preparation.
  4. - Install Windows 11 on the virtual machine.

Brief introduction:

The Microsoft-owned Github website has solutions to all problems related to Windows and other systems, where different users share programs or scripts. GitHub, Inc. is an international company in the United States that was acquired by Microsoft in 2018. On this Github website, a user named AveYo shared his knowledge on how to bypass the TPM 2.0 requirement on computers that do not meet Microsoft requirements. So let's start:

1.) - PART ONE - Download MediaCreationTool and create ISO:

Go to the Github website by clicking on the link below and then, in the top right corner, click the Download ZIP button. Downloading MediaCreationTool...

Downloading MediaCreationTool

If possible, download it to your desktop, then simply click on the compressed ZIP file and click the Unzip here link in the mouse menu that appears. A modified version of MediaCreationTool, which includes Windows 11 downloads, appears in a separate folder.

download to desktop

In the extracted folder, right-click the MediaCreationTool.bat script and select Run as administrator from the mouse menu that appears.

select the Run as administrator link

Immediately after you click, the blue MediaCreationTool.bat script appears with the information bar for the Windows 11 ISO file at the bottom. It automatically recognizes the language of the system installed on the computer, in which case it will download and create en-US, ie the english language system.

In the blue window, another small window will appear in which you click on the button marked with the number 11, ie the button indicating the Windows 11 system. After clicking on the button, another small window will appear, where you can choose from several options. Because this description is about Windows 11 that can be installed on a Windows Hyper-V virtual machine, now click the Create ISO button.

click the Create ISO button

Quick Tip: If you want to run Windows 11 on a virtual machine, choose Create ISO. If you want a clean install (for example, instead of Windows 10 or DualBoot), select Create USB. In this case, prepare a larger flash memory.

As soon as you click the Create ISO button, the Windows PowerShell window will appear, launching the MediaCreationTool program window, where it will automatically start downloading Windows 11, then automatically create the ISO file on your desktop, or if not, search the MediaCreationTool.bat folder on which you unpacked it earlier.

the Windows PowerShell window appears

Quick Tip: PowerShell is an improved version of the Microsoft DOS command-line prompt, which allows you to write smaller or larger programs.

2.) - PART TWO - Activating Hyper-V function:

Simultaneously press the Windows -Log + R keys on the keyboard, then type the optionalfeatures command in the Run box that appears, and then press ENTER or click OK.

In the search box, type optionalfeatures

The Enable or Disable Windows Features window appears. Check the Hyper-V option and make sure that both the Hyper-V Management Tools and the Hyper-V Platform are selected. Then click OK.

check the Hyper-V option

Windows updates the system. The Hyper-V service starts and finally asks you to restart your computer to finish. Click the Restart button.

After following these steps, after rebooting, you can create a virtual machine for Windows 11.


3.) - PART THREE - Prepare Hyper-V virtual machine:

Start Hyper-V Manager to create the virtual machine. Unfortunately, after rebooting, the Hyper-V virtual machine does not start automatically, so we have to find it and start it. Do the following:

It must be searched in the START MENU:

Click the START MENU (Windows-Logo icon) in the left corner of the taskbar, and then scroll down to the Windows Administrative Tools folder. Click this folder to open it, where you will find the Hyper-V Manager icon. Click the HyperV Manager link.

Click the HyperV Manager link

The Hyper-V Manager window appears, which automatically displays a virtualization server. Right-click (DESKTOP-8RC1V91 in this example only) on the virtual server and move the mouse cursor (do not click, just drag) to the New entry in the pop-up window. Another small window will appear. Here you need to left click on the Virtual Machine link.

left-click on the Virtual Machine link

A new window has appeared where you can specify the settings as follows: The Before you begin window and the second Specify Name and Location window can be omitted, so click Next at the bottom of the window.

In the Specify Generation window, select the Generation 2 option and click Next at the bottom of the window.

select the second generation option

The Asign Memory window may be omitted, so click Next at the bottom of the window.

In the Configure Networking window, change to Default Switch so that the Internet connection is also available on the virtual machine. Click Next at the bottom of the window.

change the switch to the default position

It is not important to specify other settings in the Connect Virtual Hard Disk window. Click Next at the bottom of the window.

In the Installation Options window, select the radio button in front of Install an operating system from a bootable image file, then click the Browse button and enter the path to the ISO file Windows 11 (where it was saved by MediaCreationTool as described above). Click the Next button at the bottom of the window and then Finish. Virtual Machine Manager creates the new virtual machine, which will automatically install Windows 11 from the uploaded ISO file.

installs the loaded ISO system

4.) - PART FOUR - Installing Windows 11:

The following window will appear asking you to press any key on the keyboard to start the INSTALLATION.

starts installing Windows 11 immediately

TIP:

If the installation does not start, or nothing happens for a long time, click the green Reset button in the top menu bar on the virtual machine. The installation will now definitely start.

click the green Reset button

When the installation has begun, the first Windows 11 installer window shown in the image below will appear. If the language, currency, and keyboard settings in the window are correct, click the Next button at the bottom of the window.

click the Next button

In the next window, click the Install now button in the middle of the window.

The first window of Windows 11 Setup appears

Use the keyboard to enter the Windows 11 product key. If you don't have an activation key, or want to activate Windows later, click the I don't have a product key link at the bottom of the window, then click the Next button.

Enter the system product key

In the next window, select the I accept the license terms check box and click the Next button.

I accept the license

In the next window, select Custom installation (use the Upgrade option above only if you are upgrading your old Windows 11 (or 8) to Windows 10 or 11).

click Custom Installation

As soon as you clicked on Custom Installation, another drive window appeared on your computer. First, click the drive, then point to the installation program that you want to work with, then click the New link below, and then click the Next button.

click the New link below

Quick Tip: It is true that there is only one drive, logically the system cannot be installed elsewhere, but for security reasons, the system creates additional small folders, which can be created just by clicking the Next button.

A.) - If you click the New button, another setting option will appear below, where you can resize the drive. Because you are working with a virtual machine, the size and all other settings remain at the default values ​​(Do not change anything).

B.) - Click the Apply button.

C.) - By clicking on the button, as shown in the image, several folders (only a few MB) were created for the protected system files and a recovery folder in case of system error.

D.) - Click the Next button. Another window will appear in which the actual installation of Windows 11 will begin.

all settings remain at the default values

Ready. The actual installation of Windows 11 will start automatically. Patience. At the end of the list, in the Finishing up section, the system restarts.

in the Finish section, the system restarts

1.) - After restarting the computer, follow the on-screen instructions to complete the installation, where you can create a local account and select the privacy settings.

2.) - The more detailed installation steps of Windows 11 can be read here ...

END