How to bypass TPM 2.0 check when installing Windows 11 in a virtual machine

Configurare noua (How To)

Situatie

Backup

All you need for this is a Windows 11 ISO and some software to make a virtual machine. For the purposes of this guide, I will be using VMWare ESXI 7, but the process shouldn’t be any different if you’re using something else such as Hyper-V or VirtualBox.

Solutie

This method would, of course, also work on bare metal, but we’re not necessarily suggesting it as a good idea since the requirements exist for a reason. But in a virtual machine, everything is sandboxed, so the risk factor is lower.

Essentially what we’re going to do is tell Windows 11 during the installation process to skip the TPM check. Once you do this, Windows 11 will install with no issue. In your virtual machine manager of choice, set up a VM and begin the Windows 11 installation process. The first steps are normal, choosing a language and such. But you will soon find yourself looking at the screen above telling you that your PC can’t run Windows 11.

When you reach this screen, follow these steps:

  1. Hit Shift + F10 on your keyboard to open Command Prompt.
  1. Enter the following command:REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1
  2. When you see the operation completed message, close the Command Prompt.
  1. Go back one step in the installation process.
  1. Now proceed as normal.

Now, as you continue with the installation you’ll no longer see a warning that your PC can’t run Windows 11 and everything will continue as planned. If you’d prefer, you can type

regedit

into the Command Prompt to open the GUI Registry Editor to add the key detailed above, but simply typing that single line into the terminal is definitely the fastest way.

As an additional step, you may need to add one further registry key. If after doing the above you still get the error, open up the Command Prompt again and enter this command:

REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 1

Some VM software, such as VMware used here, seem to handle secure boot requirements, but others, such as Virtualbox, do not. So you may need to also disable this.

Tip solutie

Permanent

Voteaza

(4 din 5 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?