HowTo: Modify ISO to launch legacy installer + bypass eligibility checks!


Starting from Windows 11 24H2, the official installer on the ISO has been replaced. For several reasons, people may prefer launching the legacy installer. In my use case, that new installer does not allow to install Windows on a single pre-formated partiion (+ ESP), but it always wants to create its own MSR and Recovery partitions. If no space for these partitions is available it will throw:
"There is an error selecting this partition for install. Please select a different partition or refresh selections."
error-part-1343585226.webp

To work around this, it is possible to launch the legacy installer!

In case we need them, we have also have to apply hw eligibility bypass hacks manually – Rufus won't do, because it applies it only for the new installer!

Procedure​

  1. Flash the original ISO image onto a USB-Stick.
  2. Locally, create a file called winpeshl.ini with the following contents:

    INI:
    [LaunchApps]
    %SystemDrive%\bypass.bat
    %SystemDrive%\sources\setup.exe
  3. Also create a bypass.bat file:
    Batch:
    :: Bypass eligibility checks on a clean install
    reg add HKLM\SYSTEM\Setup\LabConfig /v BypassCPUCheck /t REG_DWORD /d 1
    reg add HKLM\SYSTEM\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 1
    reg add HKLM\SYSTEM\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 1
    reg add HKLM\SYSTEM\Setup\LabConfig /v BypassStorageCheck /t REG_DWORD /d 1
    reg add HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1
    
    :: Bypass eligibility checks for upgrade path
    reg add HKCU\SOFTWARE\Microsoft\PCHC /v UpgradeEligibility /t REG_DWORD /d 1
    reg add HKLM\SYSTEM\Setup\MoSetup /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1
    
    :: Bypass forced Microsoft account with internet connection
    reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO/t REG_DWORD /d 1
    :: Bypass forced BitLocker encryption
    reg add HKLM\SYSTEM\CurrentControlSet\Control\BitLocker /v PreventDeviceEncryption /t REG_DWORD /d 1
  4. Navigate to \sources on the flashed USB drive with the explorer. Now, look for a file called boot.wim. Right click and open with 7-Zip.
  5. Once inside boot.wim, do the following:

    1. drag bypass.bat into the folder called 2\,
    2. drag winpeshl.ini into 2\Windows\System32\
    3. Close 7-Zip.

    FYI: Folder "2" will be the root dir during in the live environment/setup process (basically drive letter X:\). :)

Done!​

This USB Stick will now launch the old installer and bypass hw eligibility checks!

Sources & additional references:​

Figured it out mostly due to info provided by user @SIW2! 🖖
 
Windows Build/Version
25H2v2 ISO
Last edited:
In this guide, I’ll outline the steps to perform the cleanest debloated installation of Windows 11 on unsupported hardware.

 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
HP Pavilion
CPU
AMD Ryzen 7 5700G
Motherboard
Erica6
Memory
Micron Technology DDR4-3200 16GB
Graphics Card(s)
NVIDIA GeForce RTX 3060
Sound Card
Realtek ALC671
Monitor(s) Displays
Samsung SyncMaster U28E590
Screen Resolution
3840 x 2160
Hard Drives
SAMSUNG MZVLQ1T0HALB-000H1
  • Great Support
Reactions: OAT
Back
Top Bottom