By Delia / Last update February 9, 2022

Cannot Install Windows 11 on Virtual Machine

Many people who are hesitant to upgrade their systems choose to try Windows 11 with a virtual machine first to see if they like the new interface and features. However, when it comes to installing Windows 11 on virtual machine, you may be disappointed to find that Windows 11 cannot be installed at all.

This is because the default installation process of Windows 11 detects whether the user's device supports TPM encryption, which is not available in many virtual machine software. So what can you do in this case?

How to install Windows 11 in a virtual machine without TPM

First of all, when you follow the usual steps to install Windows 11, you may encounter a prompt that “This PC can’t run Windows 11”.

this pc can't run windows 11

In this screen, directly press and hold "Shift + F10" to call out CMD.

Next, type the following command in CMD, and press Enter to run.

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

virtual machine cmd

After closing the CMD, go back to the installation screen for the normal installation process and you can find that the Windows 11 installation can continue. At this point, you can follow the normal steps to install it.

If you still encounter a prompt that your PC does not support Windows 11 during the installation, you can open the CMD again and enter this command again until the installation of Windows 11 can proceed smoothly.

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

The real purpose of this command line is to disable the Windows 11 installer's checking of TPM. In addition to virtual machines, you can also use this method if you encounter similar problems with a live Windows 11 installation.

windows 11 installed on virtual machine

Note that some virtual machine software, such as VMware, can support TPM boot requirements, but others, such as VirtualBox, do not. If your virtual machine software does not support TPM, try the method in this article.