Yes, you can install Windows 11 on hardware that doesn’t meet Microsoft’s official TPM 2.0 and CPU requirements by bypassing the compatibility check during setup. This works reliably using an unattend file or registry tweak before installation begins, and it preserves Windows Update and security features—no need for third-party tools or unofficial ISOs.
What You’ll Need
- A Windows 11 installation USB drive (created with Microsoft’s Media Creation Tool)
- A working Windows 10 or Windows 11 PC (to prepare the installation media)
- A USB flash drive (8GB or larger)
- Internet access (to download the official tools)
Step-by-Step
- Download the official Windows 11 ISO using the Windows 11 Download Page. Click "Download Windows 11 Disk Image (ISO)” and save the file to your current PC.
- Create a bootable Windows 11 USB drive using the Media Creation Tool:
- Run the Media Creation Tool on your current PC.
- Select "Create installation media (USB flash drive, DVD, or ISO file) for another PC” and click Next.
- Choose Language, Edition, and Architecture (64-bit recommended), then click Next.
- Select "USB flash drive” and pick your 8GB+ USB drive. Wait for the tool to finish copying files.
- Prepare the USB drive to skip the TPM/CPU checks:
- Insert the USB drive into your current PC (the one you used to create it).
- Open File Explorer and navigate to the USB drive (usually labeled Windows 11 or similar).
- Create a new folder named sources if it doesn’t already exist (it should, but confirm).
- Inside the sources folder, create a plain text file named autounattend.xml. Use Notepad and select "Save as…”, then choose "All Files” and type the name exactly as shown.
- Paste the following XML code into the file and save it:
<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <AcceptEula>true</AcceptEula> </UserData> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI> </component> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value> </Value> <PlainText>true</PlainText> </Password> <Description>Local Account</Description> <DisplayName>User</DisplayName> <Group>Users</Group> <Name>User</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Password> <Value> </Value> <PlainText>true</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <Username>User</Username> </AutoLogon> <OOBE> <HideEULAPage>true</HideEULAPage> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipUserOOBE>true</SkipUserOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <RegisterWithRTM>true</RegisterWithRTM> </OOBE> </component> </settings> </unattend>
- Boot the target PC from the USB drive:
- Insert the prepared USB drive into the computer where you want to install Windows 11.
- Restart the PC and enter the boot menu (press F12, F10, ESC, or Del during startup—depends on your motherboard manufacturer).
- Select the USB drive (look for "USB Storage Device” or the brand name of your USB).
- Begin Windows Setup:
- When the Windows Setup screen appears, the autounattend.xml file will automatically accept the license and skip most user prompts.
- At the "Which type of installation do you want?" screen, select "Custom: Install Windows only (advanced).”
- On the next screen (where Windows checks for compatibility), you’ll see the drive list. Do not click Next yet.
- Press Shift + F10 to open the Command Prompt.
- Disable the TPM and CPU checks using Registry Editor:
- In the Command Prompt, type
regeditand press Enter. - Load the offline registry hive by typing the following and pressing Enter:
reg load HKLM\offline SYSTEM
(This loads the Windows PE registry hive; ignore warnings about missing files.) - Navigate to
HKEY_LOCAL_MACHINE\offline\Setup\MIGRATIONS. If the MIGRATIONS key doesn’t exist, create it by right-clicking offline > New > Key, and name it MIGRATIONS. - Inside MIGRATIONS, create two new DWORD (32-bit) values:
- Name:
AllowUpgradesWithUnsupportedTPMOrCPU, Value:1 - Name:
BypassCPUCheck, Value:1
- Name:
- Close Registry Editor and return to the Command Prompt.
- Type
exitand press Enter to close Cmd.
- In the Command Prompt, type
- Complete the installation:
- Back in Setup, click Next. You should now see the drive list without the compatibility error.
- Select your target drive (ensure it’s formatted and empty if reinstalling), then click Next.
- Wait for Windows to copy files, restart, and finish installation.
Common Mistakes
- Using a non-official Windows 11 ISO (e.g., from third-party sites), which may contain malware or be outdated.
- Typing the XML file name incorrectly—ensure it’s autounattend.xml (case-sensitive on some systems) and placed directly inside the sources folder.
- Skipping the registry step: The autounattend.xml alone doesn’t bypass TPM/CPU checks—it only skips OOBE prompts. The registry edits are required to suppress the compatibility error.
- Creating the registry keys under the wrong hive (e.g., HKEY_LOCAL_MACHINE instead of HKLM\offline).
- Pressing Enter too quickly before
reg loadcompletes—always wait for the "The operation completed successfully” message.
Tips
- Backup your data before installing—this is a clean install and will erase the target drive.
- Use a USB 3.0 port and a high-quality flash drive to avoid read/write errors during setup.
- After installation, run Windows Update immediately to ensure all drivers and security patches are current.
- If you need a specific language or locale, modify the
<UILanguage>and<InputLocale>values in the XML file before creating the USB. - For multi-boot systems, use Disk Management in Windows PE (Shift+F10 >
diskpart) to identify and select the correct drive/partition.
Troubleshooting
- "This PC can’t run Windows 11” error persists: Double-check that the registry keys were created under
HKEY_LOCAL_MACHINE\offline\Setup\MIGRATIONS. Reopen Cmd (Shift+F10) and verify withreg query "HKLM\offline\Setup\MIGRATIONS". - Setup freezes or reboots repeatedly: Try disabling Secure Boot in UEFI/BIOS temporarily, then re-enable it after installation. Also ensure your USB drive isn’t corrupted—recreate it with the Media Creation Tool.
- Missing or unknown drivers after install: Download the latest chipset, storage, and network drivers from your motherboard or laptop manufacturer’s website using another PC. Transfer them via USB.
- Autounattend.xml not loading: Confirm the file is named exactly autounattend.xml (no extension like .txt) and is in the root of the sources folder, not inside any subfolder.
- Installation fails with error 0x80070005: This often indicates a permissions issue—recreate the USB drive and ensure you’re running the Media Creation Tool as Administrator.