If you're trying to install a newer Windows OS such as Windows 11 on a virtual machine you may run into an error "This PC can't run Windows 11" or similar due to your virtualization platform not supporting TPM or SecureBoot. You can bypass this before starting the Windows installation steps.

  1. When you boot into the ISO at first, before clicking "Install Now", press SHIFT + F10 to open the command prompt.
  2. Enter the following to bypass TPM requirement:
    REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1
  3. Now you can go back and try the installation. If you still run into an error, you may need to bypass the secure boot requirement as well with the following:
    REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 1
  4. Some installs (such as Windows 11 non-server OS on QEMU virtual machine) may still not work, if so add a RAM check bypass:
    REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 1
  5. After entering those, close command prompt then start the installation like normal.

Make sure to type in the registry commands exactly as above, including capitalization.

Was this answer helpful? 1 Users Found This Useful (6 Votes)