Skip-tpm-check-on-dynamic-update.cmd New! -

To help you understand or use the skip-tpm-check-on-dynamic-update.cmd

script, here is a breakdown of what it is, how it works, and the code itself. What is it?

This batch script is a popular utility (often associated with the MediaCreationTool.bat

project) designed to bypass Windows 11 hardware requirements—specifically TPM 2.0, Secure Boot, and UEFI

—during a "Dynamic Update" (the process where Windows Setup downloads updates while installing or upgrading). How it Works The script uses a clever registry trick called Image File Execution Options (IFEO)

. It tells Windows to run this script as a "debugger" whenever SetupHost.exe

runs. When triggered, the script strips away the parameters that check for TPM and Secure Boot, allowing the installation to proceed on unsupported hardware. The Script Code You can create this file by copying the code below into and saving it as skip-tpm-check-on-dynamic-update.cmd

@echo off :: Skip TPM Check on Dynamic Update - Universal Bypass for Windows 11 :: Reference: AveYo/MediaCreationTool.bat

set "CLI=%*" set "IFEO=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" set "WIN11=SetupHost.exe"

if /i "%CLI%"=="" reg query "%IFEO%%WIN11%\0" /v Debugger >nul 2>nul && goto remove || goto install if /i "%~1"=="install" (goto install) else if /i "%~1"=="remove" goto remove skip-tpm-check-on-dynamic-update.cmd

:install mkdir %SystemDrive%\Scripts >nul 2>nul copy /y "%~f0" "%SystemDrive%\Scripts%~nx0" >nul 2>nul reg add "%IFEO%%WIN11%" /f /v UseFilter /d 1 /t reg_dword >nul reg add "%IFEO%%WIN11%\0" /f /v FilterFullPath /d "%SystemDrive%$WINDOWS.~BT\Sources%WIN11%" >nul reg add "%IFEO%%WIN11%\0" /f /v Debugger /d "cmd /c "set "args=%%*" & call set "args=%%args:/Product Resilient =%%" & call set "args=%%args:/Product Internal =%%" & %SystemDrive%\Scripts%~nx0 %%args%%"" >nul echo. echo [ INSTALLED ] Skip TPM Check on Dynamic Update timeout /t 5 exit /b

:remove reg delete "%IFEO%%WIN11%" /f >nul 2>nul del /f /q "%SystemDrive%\Scripts%~nx0" >nul 2>nul echo. echo [ REMOVED ] Skip TPM Check on Dynamic Update timeout /t 5 exit /b Use code with caution. Copied to clipboard Usage Instructions Run as Admin : Right-click the file and select Run as Administrator Toggle Feature : Running the script once will the bypass. Running it again will Perform Update

: Once "Installed" is displayed, you can run a Windows 11 ISO

or use the Windows Update assistant, and it should no longer block you for missing TPM. Important Notes Use at your own risk

: Bypassing requirements can lead to system instability or lack of future security updates. Official Documentation

: For more details on the original project, you can visit the AveYo MediaCreationTool GitHub , which is the primary source for this script.

Skip_TPM_Check_on_Dynamic_Update.cmd is an open-source batch script designed to bypass Microsoft's strict hardware requirements—specifically the TPM 2.0 and supported CPU checks—when installing or upgrading to Windows 11 on older machines. Developed by AveYo as part of the Universal MediaCreationTool (MCT) wrapper, it allows users to perform "in-place" upgrades through Windows Update or a mounted ISO that would otherwise be blocked. How it Works

The script uses two primary technical mechanisms to trick the Windows installer: : Once "Installed" is displayed, you can run

Registry Modification: It creates a DWORD value named AllowUpgradesWithUnsupportedTPMOrCPU set to 1 under HKLM\SYSTEM\Setup\MoSetup, which is a known official-yet-hidden registry bypass documented by Microsoft.

WMI Event Subscription: It registers a background task that automatically deletes appraiserres.dll from the temporary installation folder (C:\$WINDOWS.~BT) whenever the setup begins. This DLL is the component responsible for performing the hardware compatibility check. Key Features

Toggle Functionality: Running the script once installs the bypass; running it a second time removes it, making it easy to use only when needed for feature updates.

Universal Compatibility: It is frequently updated to work with newer Windows 11 versions, including 24H2, though users sometimes report it works best when choosing the "Not right now" option for downloading setup updates during the installation process.

Automation: Because it targets "Dynamic Updates," it aims to allow Windows Update to handle the transition automatically, rather than requiring a clean install from a USB. Usage & Availability

You can find the raw code for the script on its official GitHub repository or as part of the larger MediaCreationTool.bat project. Guides from Tom's Hardware and PCrisk suggest saving the raw text as a .cmd file and running it as an administrator to apply the patch.

Note of Caution: Bypassing these requirements may leave your system without some security features like BitLocker and could potentially lead to stability issues or a lack of official support from Microsoft in the future.

Here’s a plain-text version of a batch script named skip-tpm-check-on-dynamic-update.cmd. This script is intended for Windows 11 setups where you want to bypass the TPM 2.0 check during a dynamic update (e.g., when running Setup from within an existing Windows environment).

⚠️ Important: Bypassing TPM checks violates Microsoft’s official system requirements for Windows 11. Use only on hardware you own, for testing, or in controlled environments. After upgrade complete:

@echo off
title Bypass TPM Check for Dynamic Update
echo ============================================================
echo Bypassing TPM 2.0 check for Windows 11 Dynamic Update
echo ============================================================
echo.

:: Check if script is running as administrator net session >nul 2>&1 if %errorlevel% neq 0 ( echo ERROR: This script must be run as Administrator. echo Right-click on the script and select "Run as administrator". pause exit /b 1 )

echo Adding registry keys to bypass TPM check... echo.

:: Bypass TPM and CPU checks for Windows 11 Setup reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f >nul reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f >nul reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f >nul reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassStorageCheck /t REG_DWORD /d 1 /f >nul reg add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f >nul 2>&1

echo Registry modifications completed. echo. echo You can now run Windows 11 Setup (dynamic update) without TPM 2.0 errors. echo. echo To revert changes, delete the added keys or run: echo reg delete "HKLM\SYSTEM\Setup\LabConfig" /f echo reg delete "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /f echo. pause

To save and use it:

  1. Copy the text above into Notepad.
  2. Save as skip-tpm-check-on-dynamic-update.cmd.
  3. Right-click the file → Run as administrator.

Scenario 3: In-Place Upgrades for Enterprises

System administrators managing fleets of older but reliable hardware (e.g., thin clients, industrial PCs) can use this script to automate in-place upgrades from Windows 10 to Windows 11 without touching every machine manually.

The Future: Will This Work for Windows 12?

Microsoft is currently developing "Windows 12" (codenamed Hudson Valley). Leaks suggest the TPM requirement will become stricter, not looser. Pluton security processors (Microsoft's version of TPM built into the CPU) may become mandatory. Dynamic Update bypass scripts will likely become less effective over time as Microsoft moves compatibility checks deeper into the UEFI firmware.

If you are using skip-tpm-check-on-dynamic-update.cmd today, plan to upgrade your hardware within the next 2-3 years. The cat-and-mouse game between Microsoft and bypass scripts cannot continue indefinitely when security is the stated priority.

6. Hardening & Mitigations (if script must be used)