abbodi1406's Batch Scripts Repo

Discussion in 'Scripting' started by abbodi1406, May 4, 2017.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340
    26100 is the most unstable, most changed servicing stack
    they will never stop breaking it and making it worse

    can you test adding SSU-26100.9441 to 26100.1 image, then add 1742 LCU msu alone?
     
  2. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    #4202 Paul Mercer, Sep 9, 2026
    Last edited: Sep 9, 2026
    I tested this with 26100.1 boot.wim

    Code:
    C:\Users\usr>dism /Mount-Wim /wimfile:F:\\upds\boot.wim /index:1 /mountdir:F:\\33\mnt /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\\33\mnt /Add-Package /PackagePath:F:\\11\SSU-26100.9441-x64.cab /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\\33\mnt /Add-Package /PackagePath:F:\\22\windows11.0-kb5043080-x64_LCU_1742.1.10.msu /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    Error: 87
    
    Package F:\\22\windows11.0-kb5043080-x64_LCU_1742.1.10.msu may have failed due to pending updates to servicing components in the image. Try the command again.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    if it doesn't work with boot.wim then it's still broken

    I can try with the install.wim

    Code:
    C:\Users\usr>dism /Mount-Wim /wimfile:F:\upds\install.wim /index:1 /mountdir:F:\33\mnt /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Add-Package /PackagePath:F:\11\SSU-26100.9441-x64.cab /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Add-Package /PackagePath:F:\22\windows11.0-kb5043080-x64_LCU_1742.1.10.msu /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    Error: 87
    
    Package F:\22\windows11.0-kb5043080-x64_LCU_1742.1.10.msu may have failed due to pending updates to servicing components in the image. Try the command again.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    same issue with the install.wim
    folder 22 from log has only windows11.0-kb5043080-x64_LCU_1742.1.10.msu file
     
  3. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    latest manual test

    Code:
    Microsoft Windows [Version 10.0.28000.2954]
    (c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
    
    C:\Users\usr>dism /Mount-Wim /wimfile:F:\upds\install.wim /index:1 /mountdir:F:\33\mnt /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Add-Package /PackagePath:F:\11\SSU-26100.9441-x64.cab /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Add-Package /PackagePath:F:\22\windows11.0-kb5124008-x64_LCU_9445.1.26.msu /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Cleanup-Image /StartComponentCleanup /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Cleanup-Image /StartComponentCleanup /ResetBase /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:F:\sxs /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\usr>dism /Image:F:\33\mnt /Add-Package /PackagePath:F:\22\windows11.0-kb5124008-x64_LCU_9445.1.26.msu /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    Processing 1 of 1 - Expand
    [==========================100.0%==========================]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\usr>

    everything looks fine, but W10MUI needs to be tested separately
     
  4. steph888

    steph888 MDL Novice

    Jul 2, 2015
    3
    0
    0
    #4204 steph888, Sep 11, 2026
    Last edited: Sep 11, 2026
    edit: tnas.online/e_e3jxtuv3xpjood/share/030a

    Hello,

    Automatic LTSC → IoT Enterprise LTSC conversion in W10UI
    Context: Microsoft doesn't publish updated ISOs for Windows Enterprise LTSC after its initial release (unlike IoT Enterprise LTSC, which is regularly updated). To keep benefiting from up-to-date servicing while retaining LTSC characteristics, the solution is to convert an Enterprise LTSC image into IoT Enterprise LTSC before injecting updates.
    Changes made to W10UI.cmd:
    New ToIoT option in W10UI.ini (0 by default, 1 to enable the conversion).
    Edition conversion via DISM, applied only to install.wim (never to boot.wim/WinPE), before injecting updates — so that newly-enabled IoT-specific components also receive all patches:
    Dism /Image:<mountdir> /Set-Edition:IoTEnterpriseS
    Tested and confirmed working on Windows 11 Enterprise LTSC 2024 (build 26100) and Windows 10 Enterprise LTSC 2021 (build 19044): Get-TargetEditions confirms IoTEnterpriseS as a valid target in both cases, and Set-Edition automatically installs the product key and applies the edition-specific settings.
    Cosmetic metadata fix on install.esd via wimlib-imagex --image-property (Name, Description, Display Name/Description, Flags), since Set-Edition only changes the real EditionID and leaves these display fields untouched. The label ("IoT Enterprise 2021 LTSC" or "IoT Enterprise 2024 LTSC") is picked automatically based on the image's build number.
    Result: an original Enterprise LTSC ISO, fully updated and converted to IoT Enterprise LTSC, in a single pass of the script — no manual DISM/wimlib steps required.
    Known limitation: this conversion is not an officially supported Microsoft upgrade path (EnterpriseS → IoTEnterpriseS isn't listed as a standard cross-family upgrade), so test it before any production deployment.

    LTSC IoT 2021 OK need wimlib on 1
    LTSC IoT 2024 OK need wimlib on 1

    What do you think?
    Greg
    PS: Thank you Claude ;)
     
  5. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    #4205 Paul Mercer, Sep 11, 2026
    Last edited: Sep 11, 2026
    We already have this in uup-converter
    Just build yourself an iso with the only pro edition or pro+ltsc (you don't need home at all, but home+pro+ltsc is okay too) and fully update it
    Then use standalone script in uup-converter to create all possible virtual editions

    You don't need to convert it before the updates integration, but even this is possible with the same standalone script in uup-converter

    More universal solution for w10ui would be to add new option to create all possible virtual editions / selected ones in the ini after updates integration
     
  6. steph888

    steph888 MDL Novice

    Jul 2, 2015
    3
    0
    0
    I don't understand, is W10UI abandoned? Here I'm proposing a first attempt with LTSC to IoT LTSC 2021/2024. I'm not claiming to replace uup-dump, but the process isn't the same. In one pass, you get an up-to-date IoT build. Also, it seems to me that Pro to LTSC isn't coherent.
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,068
    131,025
    450
    The virtual edition script is in the UUP>ISO project. LTSC itself is MVS ISO only released:
    https://forums.mydigitallife.net/th...ot-enterprise-n-ltsc-2021.84509/#post-1705449

    Updating the ISO or live install is for W10UI.

    @Paul Mercer last time i tested with a combined source iso ltsc was not picked up, did no recent test.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,068
    131,025
    450
    #4208 Enthousiast, Sep 11, 2026
    Last edited: Sep 11, 2026
    https://forums.mydigitallife.net/th...-n-ltsc-2024-24h2-26100-x.88280/#post-1833792
    +
    https://forums.mydigitallife.net/th...ot-enterprise-n-ltsc-2021.84509/#post-1705450
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    I'm doing this for the last 3 years, source iso has Pro and Enterprise LTSC only
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,068
    131,025
    450
    #4210 Enthousiast, Sep 11, 2026
    Last edited: Sep 11, 2026
    Last time i tested it, it didn't notice the LTSC source SKU, no time to test atm and i never mix 2 different builds on one ISO anyways.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    #4211 Paul Mercer, Sep 11, 2026
    Last edited: Sep 11, 2026
    it works 100%, here's the xml from the final install.wim

    Windows 11 Pro
    Windows 11 Enterprise LTSC 2024
    Windows 11 Enterprise
    Windows 11 IoT Enterprise
    Windows 11 IoT Enterprise Subscription
    Windows 11 Enterprise multi-session
    Windows 11 Education
    Windows 11 Pro Education
    Windows 11 Pro for Workstations
    Windows 11 SE
    Windows 11 IoT Enterprise LTSC
    Windows 11 IoT Enterprise LTSC Subscription
     

    Attached Files:

  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,068
    131,025
    450
    Will have to test again when i have time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    about this: I said nothing about Pro to LTSC conversion

    what you need is create_virtual_editions.cmd from uup-converter-wimlib-125r, that's it
    https://forums.mydigitallife.net/posts/1303176/
    your source ISO could be fully updated home+pro+ltsc or any combination of that

    if you are interested in IoT Enterprise LTSC only then vDeleteSource=1 will remove source Enterprise LTSC edition

    we already have this and it has no connection to UUP dump

    if you want it as "one pass" then again,
     
  14. steph888

    steph888 MDL Novice

    Jul 2, 2015
    3
    0
    0
    I'm sorry but the technique isn't the same, again — we keep the W10UI logic, and in one shot our LTSC gets converted to IoT. I may have posted in the wrong thread. Anyway, it was a suggestion to see if it made sense — apparently not. For info, I've re-edited the link to fix a typo, for anyone who still wants to test it.
     
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,068
    131,025
    450
    Test what? ALL possible ways to online / offline switch between IoT LTSC and non IoT LTSC are known on MDL, the scripts are from here.

    And let's not try to make an AiO for every possible tool...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    it is the same, by default create_virtual_editions.cmd is using DISM for editions upgrades, you can read the script yourself

    your suggestion as I understand it:
    1. convert original Enterprise LTSC to IoT Enterprise LTSC
    2. update the IoT Enterprise LTSC edition

    correct and time-saving way:
    1. get yourself fully updated ISO with the base editions you prefer
    2. use create_virtual_editions.cmd
    so conversion is happening on fully updated ISO

    it makes no sense to specifically update the base converted virtual edition
     
  17. fengqihuanghun

    fengqihuanghun MDL Novice

    Sep 26, 2021
    40
    14
    0
    support Win11 29667?
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,068
    131,025
    450
    Nope.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340
    https://pixeldrain.com/u/TE6t86XT
    http://put.nu/files/Ko7nvAd.zip

    For testing new value for option LCUmsuExpand
    Code:
    :: for builds 26052 and later:
    :: auto enabled
    :: change to 2 to disable and add LCUs msu one by one
    :: change to 3 to disable and add highest LCU msu only
    :: auto set to 3 for insider builds with baseline KB5122055
     
  20. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    #4220 Paul Mercer, Sep 13, 2026
    Last edited: Sep 13, 2026
    small issue: "Resetting OS image base..." is happening twice in W10UI, full logs when it's ready

    Code:
    [W10UI-Configuration]
    Target        =
    Repo          =
    DismRoot      =dism.exe
    
    Net35         =1
    Net35Source   =
    Cleanup       =1
    ResetBase     =2
    LCUwinre      =0
    WinRE         =1
    LCUmsuExpand  =3
    UpdtBootFiles =0
    SkipEdge      =0
    SkipWebView   =0
    UseWimlib     =1
    WimCreateTime =1
    
    _CabDir       =W10UItemp
    MountDir      =W10UImount
    WinreMount    =W10UImountre
    
    wim2esd       =0
    wim2swm       =0
    ISO           =1
    ISODir        =
    Delete_Source =0
    
    AutoStart     =0
    
    AddDrivers    =0
    Drv_Source    =\Drivers

    Retail tests first, updates set for Retail 26300.9445 build

    install.wim is combined for testing purposes:
    1. 26100.1 Pro from UUP dump
    2. 26100.1742 Enterprise LTSC by MSFT

    winre.wim is 26100.1 from UUP dump - doesn't matter in this test
    boot.wim is 26100.1 from UUP dump

    Code:
    ============================================================
    Running W10UI v10.62u
    ============================================================
    
    ============================================================
    Configured Options...
    ============================================================
    
    Net35
    LCUmsuExpand 3
    Cleanup
    ResetBase
    UseWimlib
    WimCreateTime
    WinRE
    ISO
    
    ============================================================
    Copying DVD Drive contents to work directory...
    ============================================================
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting files from .msu files...
    ============================================================
    
    1/2: windows11.0-kb5043080-x64_LCU_1742.1.10.msu [Combined UUP]
    2/2: windows11.0-kb5124008-x64_LCU_9445.1.26.msu [Combined UUP]
    
    ============================================================
    Extracting files from update containers (cab/wim)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/6: windows11.0-kb5121794-x64_EP.26H2_8966.1.0.cab [Enablement]
    2/6: windows11.0-kb5124015-x64_DU.SafeOS_9444.1.29.cab [SafeOS DU]
    3/6: windows11.0-kb5126052-x64-ndp481_CU_9347.1.cab [NetFx]
    4/6: windows11.0-kb5126056-x64_DU.Setup_9443.cab [Setup DU]
    5/6: Windows11.0-KB5043113-x64_inout.cab [SSU]
    6/6: Windows11.0-KB5124007-x64_inout.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 2 - Adding package Package_for_KB5121794~31bf3856ad364e35~amd64~~26100.8966.1.0
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9347.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9347.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    Processing 1 of 1 - Expand
    [==========================100.0%==========================]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26100.9444.1.29
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9444
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9444
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image File : F:\W10UI_10.62\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "winre.wim" original size: 788772 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1827 MiB of 1827 MiB (100%) done
    "winre.wim" optimized size: 770466 KiB
    Space saved: 18306 KiB
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Unmounting sources\install.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image File : F:\W10UI_10.62\DVD10UI\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\install.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 2 - Adding package Package_for_KB5121794~31bf3856ad364e35~amd64~~26100.8966.1.0
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9347.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9347.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26300.9445
    
    Processing 1 of 1 - Expand
    [==========================100.0%==========================]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Unmounting sources\install.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image File : F:\W10UI_10.62\DVD10UI\sources\install.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    "sources\install.wim" original size: 10711765 KiB
    Using LZX compression with 8 threads
    Archiving file data: 14 GiB of 14 GiB (100%) done
    "sources\install.wim" optimized size: 7320738 KiB
    Space saved: 3391027 KiB
    
    ============================================================
    Modifying install.wim image creation time ...
    ============================================================
    
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_KB5121794~31bf3856ad364e35~amd64~~26100.8966.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [===========================73.5%==========                ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image File : F:\W10UI_10.62\DVD10UI\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_KB5121794~31bf3856ad364e35~amd64~~26100.8966.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [===========================73.5%==========                ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [===========================71.2%=========                 ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image File : F:\W10UI_10.62\DVD10UI\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    
    "sources\boot.wim" original size: 1103022 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1578 MiB of 1578 MiB (100%) done
    "sources\boot.wim" optimized size: 695906 KiB
    Space saved: 407116 KiB
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows11.0-kb5126056-x64_DU.Setup_9443.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "F:\W10UI_10.62"
    
    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 (1000 files in 93 directories)
    Scanning source tree complete (1055 files in 98 directories)
    
    Computing directory information complete
    
    Image file is 8414527488 bytes (before optimization)
    
    Writing 1055 files in 98 directories to 26300.9445.260905-1124.26H2_GE_RELEASE_SVC_PROD1_CLIENT_X64FRE_RU-RU.iso
    
    100% complete
    
    Storage optimization saved 65 files, 15425536 bytes (1% of image)
    
    After optimization, image file is 8401580032 bytes
    Space saved because of embedding, sparseness or optimization = 15425536
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.

    everything is fine except for the "Resetting OS image base..." thing - cleanup is happening twice for install.wim

    sidenote: it would also be very useful to have an option in W10UI to skip EP integration into install.wim for LTSC editions only



    it makes no sense to test winre.wim from LTSC ISO since it's just SSU+SafeOS updates anyway
    so the next test is boot.wim 26100.1742 from Enterprise LTSC ISO by MSFT

    Code:
    ============================================================
    Running W10UI v10.62u
    ============================================================
    
    ============================================================
    Configured Options...
    ============================================================
    
    Net35
    LCUmsuExpand 3
    Cleanup
    ResetBase
    UseWimlib
    WimCreateTime
    WinRE
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting files from .msu files...
    ============================================================
    
    1/2: windows11.0-kb5043080-x64_LCU_1742.1.10.msu [Combined UUP]
    2/2: windows11.0-kb5124008-x64_LCU_9445.1.26.msu [Combined UUP]
    
    ============================================================
    Extracting files from update containers (cab/wim)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/6: windows11.0-kb5121794-x64_EP.26H2_8966.1.0.cab [Enablement]
    2/6: windows11.0-kb5124015-x64_DU.SafeOS_9444.1.29.cab [SafeOS DU]
    3/6: windows11.0-kb5126052-x64-ndp481_CU_9347.1.cab [NetFx]
    4/6: windows11.0-kb5126056-x64_DU.Setup_9443.cab [Setup DU]
    5/6: Windows11.0-KB5043113-x64_inout.cab [SSU]
    6/6: Windows11.0-KB5124007-x64_inout.cab [SSU]
    
    ============================================================
    Mounting boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_KB5121794~31bf3856ad364e35~amd64~~26100.8966.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [===========================97.0%========================  ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image File : F:\zDone\upds\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_9441~31bf3856ad364e35~amd64~~26100.9441.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_9441 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_KB5121794~31bf3856ad364e35~amd64~~26100.8966.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    09445-windows11.0-kb5124008-x64_LCU_9445.1.26.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [===========================94.6%======================    ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image Version: 10.0.26100.9445
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.2804
    
    Image File : F:\zDone\upds\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding boot.wim ...
    ============================================================
    
    "boot.wim" original size: 1074715 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1377 MiB of 1377 MiB (100%) done
    "boot.wim" optimized size: 605817 KiB
    Space saved: 468897 KiB
    
    ============================================================
    Modifying boot.wim image creation time ...
    ============================================================
    
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.

    as expected, everything is fine again