UpgradeMatrix.xml FiX Tool (Very Beta)

Discussion in 'Windows 11' started by Enthousiast, Aug 1, 2024.

  1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    #1 Enthousiast, Aug 1, 2024
    Last edited: Aug 8, 2024
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    #2 Enthousiast, Aug 1, 2024
    Last edited: Aug 1, 2024
    (OP)
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    Reserved...
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    Reserved...
     
  6. najimhmd776

    najimhmd776 MDL Novice

    Oct 15, 2023
    18
    13
    0
  7. Oli66

    Oli66 MDL Novice

    Feb 4, 2023
    9
    5
    0
    #7 Oli66, Aug 2, 2024
    Last edited: Aug 2, 2024
    Great, I've been looking for a function script like this for ages. Thank you very much for that

    Addendum: I tested your script under the following conditions..

    The original was a Win11 Pro (Build 22631.2792) and I tried the current Win11 (Build 26100.1301) - here the IOT LTSC 2024 that I chose and I was able to upgrade from the Pro to the IOT version, while retaining all my apps and programs
     
  8. garf02

    garf02 MDL Member

    Sep 15, 2007
    186
    71
    10
    I have testing from Win11 Pro build 26100.1150 directcly to Iot LTSC 26100.1150 and the upgrade was successful, keeping all apps, programs and settings.
    The activation was gone, but with KMS-VL-ALL or MAS, the system is reactivate with correct license
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    That's not a surprise, the new SKU you upgraded to is not the same as the old one.

    ----------------------------------------------

    Added the registry editionid option:
    Code:
    https://forums.mydigitallife.net/posts/1846462
    Last night i got the feeling that someone would bring up that option;)
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    Change the registry, mount or extract the ISO and run setup.exe.
     
  11. fabricio simoes

    fabricio simoes MDL Member

    Dec 17, 2020
    139
    27
    10
    What is LTSC2024?
     
  12. #13 Deleted member 1488350, Aug 4, 2024
    Last edited by a moderator: Aug 5, 2024
    Amazing idea! Clean and simple and a nice alternative to reg changes ;).

    Where is it from, always good for crediting.
     
  13. javaspain

    javaspain MDL Member

    Jul 29, 2009
    218
    114
    10
    The script doesn't work for me with this image, with the IoT and Consumer versions in English it works correctly.

    es-es_windows_11_business_editions_version_23h2_updated_july_2024_x64_dvd_4fde1bd2.iso

    No error message appears, only a screen appears and then disappears.

    Thanks
     
  14. Windows 11 Enterprise LTSC (IoT) 2024 Build 26100.1
     
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    #16 Enthousiast, Aug 7, 2024
    Last edited: Aug 7, 2024
    (OP)
    What scenario?

    What installed build and SKU do you want to upgrade to with the mentioned ISO?

    If the build is the same then there is no need for this tool, just a lincense switch.

    EDIT:

    nvm, i see the script shuts down, will try to find out what is causing this.
     
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    Debugging why 23H2 ISOs is going not that well, i can't find anything that could cause this, i already added 22621 to the list but i can't see why it doesn't run thru on 23H2 ISO.

    Test script:
    Code:
    @setlocal DisableDelayedExpansion
    @echo off
    REM change wording if needed for echo commands..
    
    ::Options to set by dev
    SET "Version=v2.1_b3"
    
    REM User settings
    REM When set to "0" = No install.wim optimizing
    REM When set to "1" = Install.wim will be optimized, this can use all system resources and take a while
    SET "Optimize=0"
    REM When set to "0" the EI.CFG file won't be added
    REM When set to "1" the EI.CFG file will be added (when there already is an EI.CFG it will be ranemed to EI.CFG.ORI)
    SET "EI_CFG_ADD=1"
    
    :: Re-launch the script with x64 process if it was initiated by x86 process on x64 bit Windows
    
    if exist %SystemRoot%\Sysnative\cmd.exe (
    set "_cmdf=%~f0"
    setlocal EnableDelayedExpansion
    start %SystemRoot%\Sysnative\cmd.exe /c ""!_cmdf!" %*"
    exit /b
    )
    
    TITLE Create Modified ISO To Be Able To Directly Upgrade From any Windows Install %version%
    
    echo===============================================
    echo Check for Admin rights...
    echo===============================================
    if not "%1"=="am_admin" powershell start -verb runas '%0' am_admin & exit /b
    
    :gotAdmin
    pushd "%CD%"
    CD /D "%~dp0"
    cls
    
    :: Detect OS Architecture
    set "arch=x64"
    if /i %PROCESSOR_ARCHITECTURE%==x86 (if not defined PROCESSOR_ARCHITEW6432 (
      set "arch=x86"
      )
    )
    
    if %arch%==x86 (
      set "_wimlib=%~dp0bin\wimlib-imagex.exe"
      set "xOS=x86"
    ) else (
      set "_wimlib=%~dp0bin\bin64\wimlib-imagex.exe"
      set "xOS=amd64"
    )
    
    if exist "TEMP" RD /S /Q "TEMP"
    if not exist "Source_ISO\*.iso" (
    echo.
    ECHO==========================================================
    echo No iso file detected in Source_ISO dir...
    ECHO==========================================================
    echo.
    pause
    exit /b
    )
    
    mkdir "TEMP"
    for /f %%i in ('dir /b Source_ISO\*.iso') do bin\7z.exe e -y -oTEMP Source_ISO\%%i sources\setup.exe >nul
    bin\7z.exe l .\TEMP\setup.exe >.\TEMP\version.txt 2>&1
    for /f "tokens=4 delims=. " %%i in ('findstr /i /b FileVersion .\TEMP\version.txt') do set vermajor=%%i
    echo Vermajor = %vermajor%
    pause
    REM ==========
    
    IF NOT DEFINED vermajor (
    echo.
    ECHO==========================================================
    echo Detecting setup.exe version failed...
    ECHO==========================================================
    echo.
    Goto :Cleanup
    )
    
    SET "Winver="
    IF %vermajor% EQU 22000 SET "Winver=22000" & GOTO :SetISOFiX
    IF %vermajor% EQU 22621 SET "Winver=22621" & GOTO :SetISOFiX
    
    IF %vermajor% EQU 17763 SET "Winver=17763" & SET "ISOFiX=0" & GOTO :SKiPSetISOFiX
    IF %vermajor% EQU 19041 SET "Winver=1904x" & SET "ISOFiX=0" & GOTO :SKiPSetISOFiX
    IF %vermajor% EQU 22621 SET "Winver=22621" & SET "ISOFiX=0" & GOTO :SKiPSetISOFiX
    REM IF %vermajor% EQU 22631 SET "Winver=22631" & SET "ISOFiX=0" & GOTO :SKiPSetISOFiX
    IF %vermajor% EQU 26100 SET "Winver=26100" & SET "ISOFiX=0" & GOTO :SKiPSetISOFiX
    
    IF NOT DEFINED Winver (
    ::if exist "TEMP" rmdir /q /s "TEMP"
    echo.
    ECHO==========================================================
    echo Unsupported iso version...
    ECHO==========================================================
    echo.
    Goto :Cleanup
    )
    
    if exist "ISO" RD /S /Q "ISO"
    
    :SKiPSetISOFiX
    
    MkDir "ISO"
    echo.
    echo===============================================
    echo Extracting the %Winver% source ISO...
    echo===============================================
    echo.
    bin\7z x -y -o"ISO\" "Source_ISO\"
    
    if exist "ISO\sources\install.wim" set WIMFILE=install.wim
    if exist "ISO\sources\install.esd" set WIMFILE=install.esd
    
    for /f "tokens=2 delims=: " %%# in ('dism.exe /english /get-wiminfo /wimfile:"ISO\sources\%WIMFILE%" /index:1 ^| find /i "Architecture"') do set warch=%%#
    echo.
    echo===============================================
    echo Adding the modified %Winver% %warch% UpgradeMatrix.xml to the %Winver% %warch% %WIMFILE%...
    echo===============================================
    echo.
    for /f "tokens=3 delims=: " %%i in ('%_wimlib% info ISO\sources\%WIMFILE% ^| findstr /c:"Image Count"') do set images=%%i
    for /L %%i in (1,1,%images%) do (
      %_wimlib% update "ISO\Sources\%WIMFILE%" %%i --command="add 'Files\UpgradeMatrix\UpgradeMatrix_%warch%.xml' '\Windows\servicing\Editions\UpgradeMatrix.xml'"
    )
    echo.
    IF /I "%Optimize%"=="0" GOTO :CreateISO
    echo===============================================
    echo Optimizing the %Winver% %warch% WIM file...
    echo===============================================
    echo.
    %_wimlib% optimize "ISO\Sources\%WIMFILE%" --recompress
    echo.
    :CreateISO
    
    echo.
    :EI
    IF /I "%EI_CFG_ADD%" NEQ "1" GOTO :SKIPEI
    echo.
    echo ============================================================
    echo Copying the generic ei.cfg to the work dir...
    echo ^(If exists, the original file will be renamed to EI.CFG.ORI^)
    echo ============================================================
    echo.
    IF EXIST "ISO\Sources\EI.CFG" ren "ISO\Sources\EI.CFG" "EI.CFG.ORI"
    COPY /Y "Files\EI.CFG" "ISO\Sources\"
    echo.
    :SKIPEI
    echo.
    echo===============================================
    echo Creating the %Winver% %warch% ISO...
    echo===============================================
    echo.
    for /f %%# in ('powershell "get-date -format _yyyy_MM_dd"') do set "isodate=%%#"
    echo.
    for /f "delims=" %%i in ('dir /b Source_ISO\*.iso') do set "isoname=%%i"
    set "isoname=%isoname:~0,-4%_FIXED_Upgrade_Matrix%isodate%.iso"
    
    bin\cdimage.exe -bootdata:2#p0,e,b"ISO\boot\etfsboot.com"#pEF,e,b"ISO\efi\Microsoft\boot\efisys.bin" -o -m -u2 -udfver102 -l%WINVer%_%warch% ISO "%isoname%"
    
    :Cleanup
    echo.
    echo===============================================
    echo Cleaning up the ISO folder...
    echo===============================================
    if exist "ISO" RD /S /Q "ISO"
    if exist "TEMP" RD /S /Q "TEMP"
    echo.
    pause
    
    I have added this line:
    Code:
    IF %vermajor% EQU 22621 SET "Winver=22621" & SET "ISOFiX=0" & GOTO :SKiPSetISOFiX
    I forgot to add 22621 (=22631) before but it was not the cause of the script disappearing after setting the %vermajor% info.

    And this line (to echo the found %vermajor%:
    Code:
    echo Vermajor = %vermajor%
    Progress till the added pause:
    Code:
    Vermajor = 22621
    Press any key to continue . . .
    
    :thinking:
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    Scratch the above :D:D

    Seems i fixed it, by adding the 26100 lines i made the other version lines not working anymore, will have to test this on all possible builds but this is looking good:

    Code:
    
    ==============================================
    Extracting the 22621 source ISO...
    ==============================================
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 folder, 1 file, 7032070144 bytes (6707 MiB)
    
    Extracting archive: Source_ISO\es-es_windows_11_business_editions_version_23h2_updated_july_2024_x64_dvd_4fde1bd2.iso
    --
    Path = Source_ISO\es-es_windows_11_business_editions_version_23h2_updated_july_2024_x64_dvd_4fde1bd2.iso
    Type = Udf
    Physical Size = 7032070144
    Comment = CPBA_X64FRE_ES-ES_DV9
    Cluster Size = 2048
    Created = 2024-07-05 02:00:00
    
    Everything is Ok
    
    Folders: 85
    Files: 948
    Size:       7026576336
    Compressed: 7032070144
    
    ==============================================
    Adding the modified 22621 x64 UpgradeMatrix.xml to the 22621 x64 install.wim...
    ==============================================
    
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 14 KiB of 14 KiB (100%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    
    
    
    ============================================================
    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.
    
    
    ==============================================
    Creating the 22621 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 43 directories)
    Scanning source tree complete (949 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 7131627520 bytes (before optimization)
    
    Writing 949 files in 86 directories to es-es_windows_11_business_editions_version_23h2_updated_july_2024_x64_dvd_4fde1bd2_FIXED_Upgrade_Matrix_2024_08_07.iso
    
    100% complete
    
    Storage optimization saved 3 files, 18432 bytes (0% of image)
    
    After optimization, image file is 7133726720 bytes
    Space saved because of embedding, sparseness or optimization = 18432
    
    Done.
    
    ==============================================
    Cleaning up the ISO folder...
    ==============================================
    
    Press any key to continue . . .
    
    Code:
    
    ==============================================
    Extracting the 1904x source ISO...
    ==============================================
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 folder, 1 file, 4803827712 bytes (4582 MiB)
    
    Extracting archive: Source_ISO\nl-nl_windows_10_enterprise_ltsc_2021_x64_dvd_88f53466.iso
    --
    Path = Source_ISO\nl-nl_windows_10_enterprise_ltsc_2021_x64_dvd_88f53466.iso
    Type = Udf
    Physical Size = 4803827712
    Comment = CES_X64FREV_NL-NL_DV9
    Cluster Size = 2048
    Created = 2021-10-07 02:00:00
    
    Everything is Ok
    
    Folders: 85
    Files: 904
    Size:       4798405553
    Compressed: 4803827712
    
    ==============================================
    Adding the modified 1904x x64 UpgradeMatrix.xml to the 1904x x64 install.wim...
    ==============================================
    
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 14 KiB of 14 KiB (100%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    
    
    
    ============================================================
    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.
    
    
    ==============================================
    Creating the 1904x 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 41 directories)
    Scanning source tree complete (905 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 4817977344 bytes (before optimization)
    
    Writing 905 files in 86 directories to nl-nl_windows_10_enterprise_ltsc_2021_x64_dvd_88f53466_FIXED_Upgrade_Matrix_2024_08_07.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14182400 bytes (1% of image)
    
    After optimization, image file is 4805869568 bytes
    Space saved because of embedding, sparseness or optimization = 14182400
    
    Done.
    
    ==============================================
    Cleaning up the ISO folder...
    ==============================================
    
    Press any key to continue . . .
    
    Code:
    
    ==============================================
    Extracting the 26100 source ISO...
    ==============================================
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 folder, 1 file, 4501397504 bytes (4293 MiB)
    
    Extracting archive: Source_ISO\26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso
    --
    Path = Source_ISO\26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso
    Type = Udf
    Physical Size = 4501397504
    Comment = CES_X64FREO_EN-US_DV9
    Cluster Size = 2048
    Created = 2024-04-02 02:00:00
    
    Everything is Ok
    
    Folders: 87
    Files: 960
    Size:       4495839613
    Compressed: 4501397504
    
    ==============================================
    Adding the modified 26100 x64 UpgradeMatrix.xml to the 26100 x64 install.wim...
    ==============================================
    
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 14 KiB of 14 KiB (100%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    
    
    
    ============================================================
    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.
    
    
    ==============================================
    Creating the 26100 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 45 directories)
    Scanning source tree complete (961 files in 88 directories)
    
    Computing directory information complete
    
    Image file is 4522475520 bytes (before optimization)
    
    Writing 961 files in 88 directories to 26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us_FIXED_Upgrade_Matrix_2024_08_07.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14342144 bytes (1% of image)
    
    After optimization, image file is 4510316544 bytes
    Space saved because of embedding, sparseness or optimization = 14342144
    
    Done.
    
    ==============================================
    Cleaning up the ISO folder...
    ==============================================
    
    Press any key to continue . . .
    
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,510
    450
    Released the beta 3 version, cleaned up unneeded/faulty code:

    Test run:

    Code:
    ==============================================
    Running ISO Upgrade Enabler v2.1_b3...
    
    Crappy Tools By Enthousiast @MDL
    ==============================================
    
    
    ==============================================
    Extracting the 226x1 source ISO...
    ==============================================
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 folder, 1 file, 7032070144 bytes (6707 MiB)
    
    Extracting archive: Source_ISO\es-es_windows_11_business_editions_version_23h2_updated_july_2024_x64_dvd_4fde1bd2.iso
    --
    Path = Source_ISO\es-es_windows_11_business_editions_version_23h2_updated_july_2024_x64_dvd_4fde1bd2.iso
    Type = Udf
    Physical Size = 7032070144
    Comment = CPBA_X64FRE_ES-ES_DV9
    Cluster Size = 2048
    Created = 2024-07-05 02:00:00
    
    Everything is Ok
    
    Folders: 85
    Files: 948
    Size:       7026576336
    Compressed: 7032070144
    
    ==============================================
    Adding the modified 226x1 x64 UpgradeMatrix.xml to the 226x1 x64 install.wim...
    ==============================================
    
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 14 KiB of 14 KiB (100%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Files\UpgradeMatrix\UpgradeMatrix_x64.xml" (loading as WIM path: "\Windows\servicing\Editions\UpgradeMatrix.xml")...
    14 KiB scanned (1 files, 0 directories)
    Updating "\Windows\servicing\Editions\UpgradeMatrix.xml" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    
    
    
    ============================================================
    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.
    
    
    ==============================================
    Creating the 226x1 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 43 directories)
    Scanning source tree complete (949 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 7131627520 bytes (before optimization)
    
    Writing 949 files in 86 directories to es-es_windows_11_business_editions_version_23h2_updated_july_2024_x64_dvd_4fde1bd2_FIXED_Upgrade_Matrix_2024_08_07.iso
    
    100% complete
    
    Storage optimization saved 3 files, 18432 bytes (0% of image)
    
    After optimization, image file is 7133726720 bytes
    Space saved because of embedding, sparseness or optimization = 18432
    
    Done.
    
    ==============================================
    Cleaning up the ISO folder...
    ==============================================
    
    Press any key to continue . . .
    
    OP: https://forums.mydigitallife.net/threads/upgrade-matrix-fix-tool-very-beta.88518/
     
  19. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    762
    556
    30
    Nice work!
    From the readme:
    "Now you can use the fixed ISO to upgrade by mounting the ISO and running setup.exe."
    Maybe the word "fixed" can be replaced by "modified" or "adapted".
    Anyway I can see a lot of uses for this, not myself but a lot of people I know prefer upgrades as they somehow become terrorized when I say format or clean install.

    Cheers.