TPM Registry Fix Windows 11: Enable Secure Boot
In this article
Yes, you can fix TPM 2.0 issues on Windows 11 by modifying specific registry keys, but this method is primarily useful for bypassing hardware detection errors during installation or when the BIOS/UEFI settings are inaccessible. This process manually registers the Trusted Platform Module with the operating system, allowing Windows to recognize security features even if they appear disabled or missing in standard diagnostics. Before proceeding, ensure you have a full system backup, as incorrect registry edits can cause boot failures.
What You'll Need
- A Windows 11 installation media (USB drive) or access to the current OS via Safe Mode if it is already partially installed.
- Administrator privileges on the target machine.
- A text editor like Notepad.
- The correct registry paths and values for your specific hardware architecture (x64 or ARM64).
Step-by-Step
- Access the Command Prompt or Registry Editor: If you are installing Windows from a USB drive, press Shift+F10 when you reach the "Where do you want to install Windows?" screen to open a command prompt. If you are already in Windows, search for "cmd" in the Start menu, right-click it, and select "Run as administrator." Alternatively, press Win+R, type
regedit, and hit Enter. - Navigate to the Registry Key: In the Registry Editor, expand the following path:
HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig. If theLabConfigkey does not exist, right-click theSetupfolder, select New > Key, and name itLabConfig. - Create the Bypass Values: Inside the
LabConfigkey, you need to create two new DWORD (32-bit) values. Right-click in the empty space on the right pane, select New > DWORD (32-bit) Value, and name the first oneBypassTPMCheck. - Set the TPM Bypass Value: Double-click
BypassTPMCheckand change its value data from 0 to 1. Click OK. This tells the Windows installer to ignore the absence of a functional TPM 2.0 module. - Create the Secure Boot Bypass: Create another DWORD (32-bit) value named
BypassSecureBootCheck. Set its value data to 1 as well. This ensures that Secure Boot requirements do not block the installation or configuration process. - Create CPU Check Bypass (Optional): If you are also facing CPU compatibility issues, create a third DWORD value named
BypassCPUCheckand set it to 1. This is often necessary for older CPUs that lack official support lists. - Verify and Exit: Ensure all three values are set to 1. Close the Registry Editor and Command Prompt. If you were in the installer, restart the setup process. The installation should now proceed without checking for TPM or Secure Boot compliance.
Common Mistakes
One frequent error is creating the registry keys in the wrong location. Users often navigate to HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE, which renders the changes ineffective because the system setup runs under local machine context. Another mistake is typing the value names incorrectly; BypassTPMCheck must be spelled exactly as shown, including capitalization, as the installer is case-sensitive for these specific flags.
Tips
Always verify your BIOS/UEFI settings first. Most modern motherboards allow you to enable TPM (often listed as fTPM for AMD or PTT for Intel) directly in the firmware. Using the registry fix is a workaround, not a replacement for proper hardware configuration. Enabling TPM in BIOS provides better security and performance than bypassing the check. Additionally, remember that these registry changes only affect the installation phase. Once Windows is installed, the OS will still function normally, but you may lose access to certain BitLocker features if TPM remains unrecognized by the hardware layer.
Troubleshooting
If the installation still fails after applying the registry fixes, verify that you created the keys under HKEY_LOCAL_MACHINE and not HKEY_USERS. If you are already inside Windows and trying to enable TPM via registry, note that you cannot simply "create" a TPM driver; you must enable it in the BIOS. If the BIOS option is grayed out, check for an active dedicated GPU that might require a specific firmware update or a CMOS reset. Clearing the CMOS by removing the motherboard battery for five minutes can sometimes unlock hidden BIOS options. If Windows refuses to start after these changes, boot into Recovery Mode, select Advanced Options > Troubleshoot > Command Prompt, and delete the LabConfig key to revert the changes.
Frequently Asked Questions
Does this fix work for existing Windows 11 installations?
No. The LabConfig registry keys are specifically read by the Windows Setup program during installation or upgrade. If Windows 11 is already installed and TPM is missing, you must enable it in the BIOS/UEFI to restore functionality.
Is it safe to use these registry edits?
The edits themselves are safe and reversible. However, bypassing TPM and Secure Boot reduces your system's security posture against certain types of attacks, such as cold-boot attacks or unauthorized firmware modifications. Use this only for testing or unsupported hardware.
Can I use PowerShell instead of Regedit?
Yes. You can run the following commands in an elevated PowerShell window: New-Item -Path "HKLM:\System\Setup\LabConfig" -Force followed by New-ItemProperty -Path "HKLM:\System\Setup\LabConfig" -Name "BypassTPMCheck" -Value 1 -PropertyType DWORD. Repeat for the other bypass values.
Will this affect my warranty?
No. Modifying the Windows Registry does not void hardware warranties. It only changes software-level validation rules during the OS installation process.
Why is TPM important for Windows 11?
TPM 2.0 provides hardware-based security for encryption keys, password protection, and device integrity. It is required for features like BitLocker encryption, Windows Hello, and virtualization-based security (VBS). Without it, some enterprise and security features remain unavailable.