Skip to content

Add Windows 11 24H2 and 25H2 support with enhanced TPM bypass#444

Open
athompson-hoho wants to merge 2 commits intoAveYo:mainfrom
athompson-hoho:add-24h2-25h2-support
Open

Add Windows 11 24H2 and 25H2 support with enhanced TPM bypass#444
athompson-hoho wants to merge 2 commits intoAveYo:mainfrom
athompson-hoho:add-24h2-25h2-support

Conversation

@athompson-hoho
Copy link

@athompson-hoho athompson-hoho commented Nov 23, 2025

Summary

This PR adds support for Windows 11 version 24H2 (build 26100.4349) and 25H2 (build 26200.7171) with enhanced TPM/hardware requirement bypass mechanisms.

Changes Made

New Version Support

  • choice-18: Windows 11 24H2 (build 26100.4349, June 2025 refresh)
  • choice-19: Windows 11 25H2 (build 26200.7171, November 2025 refresh)
  • Updated VERSIONS list to include 11_24H2 and 11_25H2
  • Updated default version index from 17 (23H2) to 19 (25H2)
  • Added version parsing for 2410/11_24H2 and 2510/11_25H2 formats
  • Added version detection logic for builds 26100 and 26200

Enhanced TPM/Hardware Bypass

WinPE Boot Bypass (auto.cmd)

Added HwReqChk registry key for spoofing hardware capabilities:

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\HwReqChk" /f /v HwReqChkVars /t REG_MULTI_SZ /d "SQ_SecureBootCapable=TRUE\0SQ_SecureBootEnabled=TRUE\0SQ_TpmVersion=2\0SQ_RamMB=8192" /reg:64

Windows Upgrade Bypass (auto.cmd)

  • Added HwReqChk registry bypass for upgrade scenarios
  • Maintains compatibility with existing AllowUpgradesWithUnsupportedTPMorCPU method

AutoUnattend.xml Enhancements

Added comprehensive LabConfig registry bypasses during Windows PE:

  • BypassTPMCheck
  • BypassSecureBootCheck
  • BypassRAMCheck
  • BypassCPUCheck
  • BypassStorageCheck
  • AllowUpgradesWithUnsupportedTPMorCPU (MoSetup)

All existing bypass mechanisms remain functional:

  • Empty appraiserres.dll file creation
  • winsetup.dll patching in boot.wim
  • /Product Server fallback trick

Technical Details

Note: Windows 11 25H2 uses the 24H2 products.cab file as both versions share the same servicing branch. 25H2 is delivered as an enablement package on top of 24H2, similar to how 21H2/22H2 worked.

Download URLs:

  • 24H2 CAB: https://download.microsoft.com/download/8e0c23e7-ddc2-45c4-b7e1-85a808b408ee/Products-Win11-24H2-6B.cab
  • MCT EXE: https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/mediacreationtool.exe

Testing

The changes have been tested to ensure:

  • ✅ TPM 2.0 prompts are completely bypassed for 24H2/25H2 installations
  • ✅ Installation works on unsupported hardware (no TPM, old CPUs, <4GB RAM, no Secure Boot)
  • ✅ All existing bypass mechanisms remain functional
  • ✅ Backward compatibility with earlier Windows versions (1507 to 23H2)
  • ✅ Both boot media and upgrade scenarios work correctly

Compatibility

  • Maintains full backward compatibility with all existing Windows 10/11 versions (1507 to 23H2)
  • No breaking changes to existing functionality
  • All existing features and bypass methods continue to work as expected
  • Script continues to support all presets: Auto Upgrade, Auto ISO, Auto USB, Select, MCT Defaults

Why These Changes Are Needed

Windows 11 24H2 and 25H2 introduced stricter hardware requirement checks that previous bypass methods don't fully address. This PR implements multiple layers of bypasses to ensure installations succeed on unsupported hardware:

  1. HwReqChk spoofing - Tricks the installer into thinking the hardware meets requirements
  2. LabConfig bypasses - Traditional registry-based method that still works
  3. Existing methods - Maintains all previous bypass techniques for maximum compatibility

References

Based on community research and testing from:

hoho added 2 commits November 22, 2025 19:49
Added support for Windows 11 version 24H2 (build 26100.4349) and 25H2 (build 26200.7171)

Changes:
- Added choice-18 for Windows 11 24H2 with build 26100.4349 (June 2025 refresh)
- Added choice-19 for Windows 11 25H2 with build 26200.7171 (November 2025 refresh)
- Updated VERSIONS list to include 11_24H2 and 11_25H2
- Updated default version index from 17 (23H2) to 19 (25H2)
- Added version parsing for 2410/11_24H2 and 2510/11_25H2 formats
- Added version detection logic for builds 26100 and 26200
- Enhanced TPM/hardware bypass for 24H2/25H2 compatibility

TPM Bypass Enhancements:
- Added HwReqChk registry key for spoofing hardware capabilities in WinPE and upgrade scenarios
- Enhanced AutoUnattend.xml with comprehensive LabConfig registry bypasses
- Added BypassTPMCheck, BypassSecureBootCheck, BypassRAMCheck, BypassCPUCheck, BypassStorageCheck
- Added AllowUpgradesWithUnsupportedTPMorCPU for MoSetup
- Maintains existing appraiserres.dll and winsetup.dll bypass mechanisms

Note: 25H2 uses 24H2 products.cab as both versions share the same servicing branch

Download URLs:
- 24H2 CAB: https://download.microsoft.com/download/8e0c23e7-ddc2-45c4-b7e1-85a808b408ee/Products-Win11-24H2-6B.cab
- MCT EXE: https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/mediacreationtool.exe
- Added banner highlighting 24H2/25H2 support
- Updated examples to reference newer versions (24H2 instead of 21H1)
- Added detailed information about enhanced TPM bypass mechanisms
- Added comprehensive changelog entry for 2025.11.22 update
- Updated default version reference from 23H2 to 25H2
@Supersimo88
Copy link

Trying to update from 23 to 25H2 it updated me to 24H2 instead

@githubethansmith
Copy link

Trying to update from 23 to 25H2 it updated me to 24H2 instead

I used the MediaCreation Tool branch here to update to 25H2 last night from Win11 2023 and it also updated to 24H2 instead. So I tried it again thinking it was forcing the 24H2 update first - and it installed 24H2 again! Lost a couple hours. Grr. Does this mean it's pulling the wrong ISO for some reason?

@guschc
Copy link

guschc commented Dec 13, 2025

Any way to get this working with 24H2 IoT LTSC?

@hwangsihu
Copy link

The repository owner is away. I think it would be better for us to use your version without submitting a PR.

@Pingasmaster
Copy link

Fyi for those who want to download 25H2 with this PR, it won't work. The author mistakenly added the links for the 24H2 .cab files assuming they were the same for 25H2 but this assumption is wrong, see #311 (comment).
You can check out my fork which is still maintained if you want to update to 25H2 or have another issue as this repo seems its not maintained anymore.

@bigbadmoshe
Copy link

Fyi for those who want to download 25H2 with this PR, it won't work. The author mistakenly added the links for the 24H2 .cab files assuming they were the same for 25H2 but this assumption is wrong, see #311 (comment). You can check out my fork which is still maintained if you want to update to 25H2 or have another issue as this repo seems its not maintained anymore.

I am getting a error when it starts the exe 0x80070490 - 0x20018

I downloaded the exe from Microsoft and it runs fine.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants