#windows #vm #gnome-boxes #tutorial #tpm

installing windows 11 in a vm without tpm and secure boot (gnome boxes)

Miuna

i wanted to install windows 11 on gnome boxes to have a windows test environment on my linux. then i got that annoying error: "This PC doesn't currently meet Windows 11 system requirements".

the installer complains about missing tpm 2.0 and secure boot. those requirements make sense on physical machines, but a vm simply doesnt have them. microsoft provides specific registry keys for virtualized environments, and thats exactly what were gonna use.

Error this pc does not meet windows 11 requirements

setting up regedit for virtualized environment

when u get to that error screen (or right at the start of the install):

opening regedit

  1. press Shift + F10 to open the terminal (cmd).
  2. type regedit and hit enter.
Registry editor regedit during windows install

adding the bypass keys

  1. navigate to: HKEY_LOCAL_MACHINE > SYSTEM > Setup.
  2. right-click on the Setup folder > New > Key and name it LabConfig.
  3. inside LabConfig, right-click > New > DWORD (32-bit) Value.
Creating labconfig registry key
  1. create these two values:
    • BypassTPMCheck
    • BypassSecureBootCheck
  2. double-click them and change the value from 0 to 1.
Editing bypass tpm check value to 1 Bypass keys configured in regedit

after that just close regedit and cmd, go back one screen in the installer and try again. the installer reads the keys and allows the install on the virtualized environment.

CONTEXT

those keys (LabConfig, BypassTPMCheck, BypassSecureBootCheck) are documented by microsoft themselves for lab and virtualization use. its not some shady hack, its the official path for anyone who needs to run windows 11 in a vm without compatible hardware.

Windows 11 install proceeding without error

ler em português →