Win 11 Boot And Upgrade FiX KiT (v6.1f2 Released!!!)

Discussion in 'Windows 11' started by Enthousiast, Jun 28, 2021.

  1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    #1701 Enthousiast, Aug 23, 2025
    Last edited: Aug 23, 2025
    (OP)
    That's not the tool of this thread, it probably uses the same fixes (UFWS) this original tool uses (among other fixes), it make setup believe the installation is server so the hardware requierments are circumvented.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,549
    1,674
    60
    #1702 rpo, Sep 4, 2025
    Last edited: Sep 16, 2025
    The present implementation requests that the iso image be copied/moved to the Source_ISO folder.
    Issue may occur if no housekeeping is done in this folder : the script may process an incorrect iso image if remaining imags are present.
    As a work around, the implementation of a file browser can help to select the correct iso image in the Source_ISO folder.
    Moreover, this offers the possibility to select an iso image from any folder of the local or network attached devices, avoiding the need to copy/move to the Source_ISO folder.
    Implementing the file browser needs to introduce some powershell statements to return the full path of the desired iso image to process.

    Detail of changes to be applied :
    Code:
    Insert before original line 1 :
    @SET "Select_ISO=yes" &@rem the variable Select_ISO is defined
    @rem If the variable Select_ISO is not defined (ie set "Select_ISO="), the iso
    @rem image must be available in the Source_ISO folder.
    @rem If the vatiable is defined, an grid is displayed to select
    @rem the iso image.
    
    Change original line 12 by :
    SET "Version=v6.1"
    
    Insert before original line 40
    IF DEFINED Select_ISO goto iso_select
    
    Insert after original line 47 :
    for /f "delims=" %%i in ('dir /b Source_ISO\*.iso') do set "ISO_Path=Source_ISO\%%i"&goto Preparing
    :iso_select
    set "s=[void](Add-Type -AssemblyName System.Windows.Forms);"
    set "s=%s%$FB=New-Object System.Windows.Forms.OpenFileDialog;"
    set "s=%s%$FB.Title='Select the Windows iso image';"
    rem set "s=%s%$FB.InitialDirectory=\"%~dp0Source_ISO\";"
    set "s=%s%$FB.Multiselect=$false;"
    set "s=%s%$FB.Filter='ISO images (*.iso)|*.iso';"
    set "s=%s%If($FB.ShowDialog() -ne 'Cancel'){$FB.filename}"
    for /f "delims=" %%i in ('powershell -c "%s%"') do set "ISO_Path=%%i"
    if /i not "%ISO_Path:~-4%"==".iso" (
    ECHO.
    ECHO =========================================================
    ECHO No iso file detected ...
    ECHO =========================================================
    ECHO.
    GOTO :cleanup
    )
    
    Change original line 163 by :
    bin\7z.exe e -y -oTEMP "%Source_ISO%" sources\setup.exe >nul
    
    Change original line 203 by :
    bin\7z x -y -oWork\ "%Source_ISO%"
    
    Change original lines 411 to 414 by :
    for /f "delims=" %%i in ('powershell -c "(Get-ChildItem \"%ISO_Path%\").BaseName+\"_FIXED_\"+(get-date -format yyyy_MM_dd)"') do set "isoname=%%i.ISO"
    
    

    A copy of the proposed script is available here :
     

    Attached Files:

  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    My problem is that when i entirely cut out the ISO_Source folder i am always renaming other ISOs to .bak to have the correct .ISO to be be processed, that is the reason i kept the ISO_Source folder.

    I will try your changes asap:)

    You did suggest these changes before and i said that i can't read / change / maintain it, but these days i can hardly litterally read code (long lines and large blocks of code in specific) so i will have to start accepting these changes/improvements.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,549
    1,674
    60
    I remember your precedent anwser and respect your point of view.
    The proposed change is small and the browsing of the Source_ISO folder is proposed as the default choice.
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    Please allow me some time to check it, i have a long list of tests to do and tonight a new IP release is expected (so hoping that there won't be ISOs too).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. WoddMax

    WoddMax MDL Novice

    Dec 8, 2016
    1
    0
    0
    The download link of Buzzheavier says the file doesnt exist.
    Also, why isnt this working for the IoT versions ? It create a 0 bytes file, but no errors are displayed.
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    That means the file has expired, the mega link will work fine.
    IoT versions of windows 11 24H2 don't enforce the system requirements like tpm 2.0 and efi, but it doesn't hurt to fix them either.

    Code:
    =============================================================
    Win 11 Boot & Upgrade FiX KiT v6.0 By Enthousiast @MDL...
    =============================================================
    
    =================================== Fixes ====================================
    
    [ 1 ] {*} AIO 1 : UFWS + setup.cfg (2022/2025)
    
    [ 2 ] { } AIO 2a: boot.wim Registry + winsetup.dll
    [ 3 ] { } AIO 2b: Current OS Registry
    
    =================================== Extras ===================================
    
    [ 6 ] {*} Replace ISO appraiserres.dll
    [ 7 ] {*} Integrate Diskpart & Apply Image script
    [ 8 ] {*} Add the generic EI.CFG file
    [ 9 ] {*} Optimize boot.wim
    [ A ] {*} Add 22621 Autorun.dll to 26100 (And higher) Boot.wim (Only use this option when the ISO is already updated!)
    
    ==============================================================================
    Select desired option(s), then press 0 to start the process: 0
    
    =========================================================
    Extracting Win 11 Source ISO...
    =========================================================
    
    
    7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
    
    Scanning the drive for archives:
    1 folder, 1 file, 5144817664 bytes (4907 MiB)
    
    Extracting archive: Source_ISO\en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814.iso
    --
    Path = Source_ISO\en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814.iso
    Type = Udf
    Physical Size = 5144817664
    Comment = CES_X64FREO_EN-US_DV9
    Cluster Size = 2048
    Created = 2024-09-07 02:00:00
    
    Everything is Ok
    
    Folders: 94
    Files: 968
    Size:       5139192405
    Compressed: 5144817664
    
    
    =============================================================
    Copying the generic ei.cfg to the work dir...
    (If exists, the original file will be renamed to EI.CFG.Ori)
    =============================================================
    
            1 file(s) copied.
    
    =============================================================
    Applying UFWS v1.4 to install.wim
    (Circumvent CPU-Disksize-RAM-TPM-Secureboot checks)
    =============================================================
    
    =============================================================
    Replacing setup.cfg for ISO dir & boot.wim
    (The original file will be renamed to setup.cfg.bak)
    =============================================================
    
            1 file(s) copied.
    Scanning "Files\setup2025.cfg" (loading as WIM path: "\sources\inf\setup.cfg")...
    1936 bytes scanned (1 files, 0 directories)
    Updating "\sources\inf\setup.cfg" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 1936 bytes of 1936 bytes (100%) done
    
    =============================================================
    Replacing Win11 appraiserres.dll with Win10 15063
    (The original file will be renamed to appraiserres.dll.bak)
    =============================================================
    
            1 file(s) copied.
    
    =============================================================
    Adding Murphy78 Diskpart and Apply Image Script 1.4.3 To Boot.wim...
    =============================================================
    
    Scanning "Files\murphy78-DiskPart-Apply-v1.4.3\x64\"
    10 MiB scanned (164 files, 15 directories)
    Using LZX compression with 16 threads
    Archiving file data: 10 MiB of 10 MiB (100%) done
    
    =============================================================
    Optimizing boot.wim...
    =============================================================
    
    "WORK\Sources\boot.wim" original size: 533730 KiB
    Using LZX compression with 16 threads
    Archiving file data: 1278 MiB of 1278 MiB (100%) done
    "WORK\Sources\boot.wim" optimized size: 523368 KiB
    Space saved: 10362 KiB
    
    =============================================================
    Adding 22621 Autorun.dll to 26100 (or later) boot.wim...
    =============================================================
    
    Scanning "Files\autorun_22621.dll" (loading as WIM path: "\sources\autorun.dll")...
    169 KiB scanned (1 files, 0 directories)
    Updating "\sources\autorun.dll" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 169 KiB of 169 KiB (100%) done
    
    =========================================================
    Creating x64 ISO...
    =========================================================
    
    
    
    OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2012. All rights reserved.
    Licensed only for producing Microsoft authorized content.
    
    
    Scanning source tree (500 files in 49 directories)
    Scanning source tree complete (971 files in 95 directories)
    
    Computing directory information complete
    
    Image file is 5141397504 bytes (before optimization)
    
    Writing 971 files in 95 directories to en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814_FIXED_2025_09_04.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14342144 bytes (1% of image)
    
    After optimization, image file is 5129275392 bytes
    Space saved because of embedding, sparseness or optimization = 14342144
    
    Done.
    
    Press 9 or q to exit.
    
    
    Code:
    =============================================================
    Win 11 Boot & Upgrade FiX KiT v6.0 By Enthousiast @MDL...
    =============================================================
    
    =================================== Fixes ====================================
    
    [ 1 ] { } AIO 1 : UFWS + setup.cfg (2022/2025)
    
    [ 2 ] {*} AIO 2a: boot.wim Registry + winsetup.dll
    [ 3 ] { } AIO 2b: Current OS Registry
    
    =================================== Extras ===================================
    
    [ 6 ] {*} Replace ISO appraiserres.dll
    [ 7 ] {*} Integrate Diskpart & Apply Image script
    [ 8 ] {*} Add the generic EI.CFG file
    [ 9 ] {*} Optimize boot.wim
    [ A ] {*} Add 22621 Autorun.dll to 26100 (And higher) Boot.wim (Only use this option when the ISO is already updated!)
    
    ==============================================================================
    Select desired option(s), then press 0 to start the process: 0
    
    =========================================================
    Extracting Win 11 Source ISO...
    =========================================================
    
    
    7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
    
    Scanning the drive for archives:
    1 folder, 1 file, 5144817664 bytes (4907 MiB)
    
    Extracting archive: Source_ISO\en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814.iso
    --
    Path = Source_ISO\en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814.iso
    Type = Udf
    Physical Size = 5144817664
    Comment = CES_X64FREO_EN-US_DV9
    Cluster Size = 2048
    Created = 2024-09-07 02:00:00
    
    Everything is Ok
    
    Folders: 94
    Files: 968
    Size:       5139192405
    Compressed: 5144817664
    
    
    =============================================================
    Copying the generic ei.cfg to the work dir...
    (If exists, the original file will be renamed to EI.CFG.Ori)
    =============================================================
    
            1 file(s) copied.
    
    =============================================================
    Adding HwReqChkVars registry for Current OS
    (Bypass CPU-Disksize-RAM-TPM-Secureboot checks for upgrade)
    =============================================================
    
    The operation completed successfully.
    The operation completed successfully.
    
    =============================================================
    Copying 24H2+ 24H2_Online_Upgrade_Enabler_Script.cmd to ISO dir...
    =============================================================
    
            1 file(s) copied.
    
    =============================================================
    Modding Boot.wim registry
    (Bypass RAM-TPM-Secureboot checks for legacy setup)
    (Bypass CPU-Disksize-RAM-TPM-Secureboot checks for new setup)
    =============================================================
    
    Extracting file data: 7936 KiB of 7936 KiB (100%) done
    Done extracting files.
    Extracting file data: 10 MiB of 10 MiB (100%) done
    Done extracting files.
    
    - Adding LabConfig registry:
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    
    - Adding HwReqChkVars registry:
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    
    Scanning "TEMP\SYSTEM" (loading as WIM path: "\Windows\System32\config\SYSTEM")...
    6400 KiB scanned (1 files, 0 directories)
    Updating "\Windows\System32\config\SYSTEM" in WIM image
    Using LZX compression with 16 threads
    Archiving file data: 6400 KiB of 6400 KiB (100%) done
    Scanning "TEMP\SOFTWARE" (loading as WIM path: "\Windows\System32\config\SOFTWARE")...
    9728 KiB scanned (1 files, 0 directories)
    Updating "\Windows\System32\config\SOFTWARE" in WIM image
    Using LZX compression with 16 threads
    Archiving file data: 9728 KiB of 9728 KiB (100%) done
    
    =============================================================
    Modding Boot.wim winsetup.dll
    (Suppress HWRequirements checks for legacy setup)
    =============================================================
    
    Extracting file data: 2921 KiB of 2921 KiB (100%) done
    Done extracting files.
    Scanning "TEMP\winsetup.dll" (loading as WIM path: "\sources\winsetup.dll")...
    2921 KiB scanned (1 files, 0 directories)
    Updating "\sources\winsetup.dll" in WIM image
    Using LZX compression with 16 threads
    Archiving file data: 2921 KiB of 2921 KiB (100%) done
    
    =============================================================
    Replacing Win11 appraiserres.dll with Win10 15063
    (The original file will be renamed to appraiserres.dll.bak)
    =============================================================
    
            1 file(s) copied.
    
    =============================================================
    Adding Murphy78 Diskpart and Apply Image Script 1.4.3 To Boot.wim...
    =============================================================
    
    Scanning "Files\murphy78-DiskPart-Apply-v1.4.3\x64\"
    10 MiB scanned (164 files, 15 directories)
    Using LZX compression with 16 threads
    Archiving file data: 10 MiB of 10 MiB (100%) done
    
    =============================================================
    Optimizing boot.wim...
    =============================================================
    
    "WORK\Sources\boot.wim" original size: 540853 KiB
    Using LZX compression with 16 threads
    Archiving file data: 1279 MiB of 1279 MiB (100%) done
    "WORK\Sources\boot.wim" optimized size: 523971 KiB
    Space saved: 16882 KiB
    
    =============================================================
    Adding 22621 Autorun.dll to 26100 (or later) boot.wim...
    =============================================================
    
    Scanning "Files\autorun_22621.dll" (loading as WIM path: "\sources\autorun.dll")...
    169 KiB scanned (1 files, 0 directories)
    Updating "\sources\autorun.dll" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 169 KiB of 169 KiB (100%) done
    
    =========================================================
    Creating x64 ISO...
    =========================================================
    
    
    
    OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2012. All rights reserved.
    Licensed only for producing Microsoft authorized content.
    
    
    Scanning source tree (500 files in 49 directories)
    Scanning source tree complete (971 files in 95 directories)
    
    Computing directory information complete
    
    Image file is 5142020096 bytes (before optimization)
    
    Writing 971 files in 95 directories to en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814_FIXED_2025_09_04.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14342144 bytes (1% of image)
    
    After optimization, image file is 5129893888 bytes
    Space saved because of embedding, sparseness or optimization = 14342144
    
    Done.
    
    Press 9 or q to exit.
    
    
    Non LTSC IoT Enterprise will work too, i assume.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    #1708 Enthousiast, Sep 4, 2025
    Last edited: Sep 4, 2025
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. DjDiabolik

    DjDiabolik MDL Junior Member

    Sep 1, 2014
    61
    4
    0
    #1709 DjDiabolik, Sep 6, 2025
    Last edited by a moderator: Sep 8, 2025
    hello friends. i had used some time ago this tool to upgrade my notebook from a 23h2 version of windows 11 to 24h2.
    now i have been asked to install a windows 11 on a friend's pc and i plan to do it via the classic usb pendrive that i will use with Rufus.

    if i have understood correctly, especially reading the last pages, using the current version of rufus i don't need to use this tool to patch the iso but rufus already does everything?
    excuse the stupid question but when you are not behind it daily i get a bit confused.
     
  10. raptorddd

    raptorddd MDL Addicted

    Aug 17, 2019
    842
    419
    30
    #1710 raptorddd, Sep 6, 2025
    Last edited by a moderator: Sep 8, 2025
    yes rufus does this just check option to skip tpm.
    i have used this tool when i want to patch a iso to use as installation in a virtual machine.
     
  11. Muggaen

    Muggaen MDL Addicted

    Dec 30, 2011
    863
    393
    30
    Win 11 Boot And Upgrade FiX KiT (v6.0 Released!!!)
    I Still prefered to use this tool
     
  12. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,549
    1,674
    60
    Me too. Rufus is a black box
     
  13. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    There is no rufus info in this thread: This is NOT a rufus discussion nor help thread.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    385
    114
    10
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    Yes, nothing changed, it still is 24H2 with a little registry bump to 25H2..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. poor dude

    poor dude MDL Junior Member

    Mar 21, 2010
    69
    5
    0
    This doesn't work anymore with updated 23H2, never mind 25H2.
    Specifically it doesn't work with en-us_windows_11_business_editions_version_23h2_updated_sep_2025_x64_dvd_073234fb.iso from massgrave repo. Setup.exe will still bitch about TPM no matter the registry. For in-place upgrade at least.
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    #1717 Enthousiast, Sep 24, 2025
    Last edited: Sep 24, 2025
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,944
    450
    I see i forgot to release the 6.1 version with the new Source ISO selection method by @rpo, will do this asap :)

    No other changes were done in 6.1.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Skunk1966

    Skunk1966 MDL Member

    Jul 15, 2011
    198
    242
    10
    instead of just saying that it doesn't work show the procedure just like @Enthousiast always does. That way we may be able to find out where you went wrong
     
  20. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    8,076
    10,299
    270
    Method 2 still works, on VirtualBox, too (which is more b*tchy when it comes to checks). Just don't forget to run the additional script copied to the root of the ISO, just before setup.exe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...