Skip to content

Instantly share code, notes, and snippets.

@Wiggie49
Forked from asheroto/README.md
Last active October 11, 2025 08:06
Show Gist options
  • Select an option

  • Save Wiggie49/d13d4d9d70b7ea7fcaa240244a270bd2 to your computer and use it in GitHub Desktop.

Select an option

Save Wiggie49/d13d4d9d70b7ea7fcaa240244a270bd2 to your computer and use it in GitHub Desktop.
Bypass Windows 11 Upgrade Assistant / PC Health Check / TPM and CPU Settings. Ignore PC Health Check results.

Bypass Windows 11 Upgrade Assistant / Setup Hardware Checks (TPM, CPU, RAM)

This powerful app allows you to bypass TPM 2.0, unsupported CPU, and memory checks enforced by the Windows 11 Upgrade Assistant and setup.exe from Windows installation media. It eliminates common upgrade blocks such as:

  • This PC doesn't currently meet Windows 11 system requirements.
  • TPM 2.0 must be supported and enabled on this PC.
  • The processor isn't currently supported for Windows 11.

What It Does

  • Deletes legacy upgrade failure registry keys that may block future attempts.
  • Simulates hardware compatibility by setting known override values (e.g., TPM, RAM, Secure Boot).
  • Enables Microsoft's official upgrade bypass by setting AllowUpgradesWithUnsupportedTPMOrCPU to 1.
  • Enables Upgrade Assistant to proceed by setting UpgradeEligibility to 1 under the current user.

Registry Keys Modified or Removed

Purpose Registry Path Action / Value

Clear upgrade failure flags HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\CompatMarkers Deleted (if exists)

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Shared Deleted (if exists)

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TargetVersionUpgradeExperienceIndicators Deleted (if exists)

Simulate compatibility HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\HwReqChk HwReqChkVars = MultiString (TPM, RAM, etc.)

Bypass TPM/CPU check HKLM\SYSTEM\Setup\MoSetup AllowUpgradesWithUnsupportedTPMOrCPU = 1

Enable Upgrade Assistant flow HKCU\Software\Microsoft\PCHC UpgradeEligibility = 1

How to Use

Option 1: Save and Execute Locally

Save the script as: Windows11-Enable-Upgrade.ps1

Open PowerShell as Administrator.

Run the script:

.\Windows11-Enable-Upgrade.ps1

Option 2: Run Directly from the Web

Click the "Raw" button at the top right of the script to view it as plain text.

Copy the full Raw URL from your browser’s address bar.

In Administrator PowerShell, run:

irm "" | iex

✅ This lets you execute the script immediately without saving it to disk.

Alternatives

Detailed steps to upgrade to Windows 11 without losing data:

https://www.syscute.com/guide/winupgrademate.html

One successful example with unsupported CPU and No TPM.

windows-11-installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment