abbodi1406's Batch Scripts Repo

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

  1. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    I see, just compared it with the other logs
    sorry for the false alarm

    all is fine then, I guess
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340
    W10UI v10.63 - uup-converter v126

    - Implement new value 3 for option "LCUmsuExpand" to add highest LCU msu only (auto set for insider builds with baseline KB5122055)
    - ResetBase=2 will be changed to 1 when LCUmsuExpand=3
    - Change WinPE images detection to check for wpeinit.exe
    - W10UI: Add option "LtscAddEP" to install Enablement Packages for LTSC editions (OFF by default)

    Big thanks to @Paul Mercer for all the testing, and to @Spooks in Space and @TS2008 for feedback

    ---
    W10MUI v25.2 is also refreshed to include updated W10UI
     
  3. Spooks in Space

    Spooks in Space MDL Novice

    Jan 5, 2026
    25
    46
    0
    That was a very difficult birth. :D
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340
    Making 26340 updating works on Win10 host still needs a cesarean section :biggrin:
     
  5. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    #4245 Paul Mercer, Sep 15, 2026
    Last edited: Sep 15, 2026
    Windows11_InsiderPreview_Client_x64_en-us_26340_9482.iso
    winre.wim
    Code:
    Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.9482.1.3                               | Installed | Security Update | 09.09.2026 18:02
    Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26100.9482.1.1                                | Installed | Update          | 09.09.2026 18:03
    Package_for_ServicingStack_9482~31bf3856ad364e35~amd64~~26100.9482.1.2                     | Installed | Security Update | 09.09.2026 18:01
    now they are integrating LCU into winre.wim (it was 25H2 EP before that)


    Windows11_InsiderPreview_Client_x64_en-us_26300_9278.iso
    winre.wim
    Code:
    Package_for_KB5121794~31bf3856ad364e35~amd64~~26100.8966.1.0                            | Installed | Update        | 25.08.2026 20:34
    Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26100.9168.1.12                            | Installed | Update        | 25.08.2026 20:35
    Package_for_ServicingStack_9274~31bf3856ad364e35~amd64~~26100.9274.1.11                 | Installed | Update        | 25.08.2026 20:35
    this time it's 26H2 EP again

    I don't get it
     
  6. Gladwin

    Gladwin MDL Senior Member

    Dec 20, 2012
    255
    124
    10
    i got some problem use W10UI v10.63

    Code:
    ============================================================
    Running W10UI v10.63
    ============================================================
    
    ============================================================
    Configured Options...
    ============================================================
    
    Net35
    LCUmsuExpand 1
    UpdtBootFiles
    
    ============================================================
    Extracting files from .msu files...
    ============================================================
    
    1/2: Windows11.0-KB5043080-x64.msu [Combined UUP]
    2/2: Windows11.0-KB5129195-x64.msu [Combined UUP]
    
    ============================================================
    Extracting files from update containers (cab/wim)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/2: Windows11.0-KB5043113-x64_inout.cab [SSU]
    2/2: Windows11.0-KB5124007-x64_inout.cab [SSU]
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing updates...
    ============================================================
    
    Windows11.0-KB5043080-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454
    
    Image Version: 10.0.26300.9457
    
    Processing 1 of 1 - Expand
    
    An error occurred - C:\WHU\Ganeral\Windows11.0-KB5043080-x64.msu Error: 0x80070228
    
    Error: 552
    
    The passed ACL did not contain the minimum required information.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\DismLCU.log
    
    Windows11.0-KB5129195-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454
    
    Image Version: 10.0.26300.9457
    
    Processing 1 of 1 - Expand
    
    The operation completed successfully.
    
    .NET 3.5 feature: already enabled
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.
    
    Code:
    ============================================================
    Running W10UI v10.62
    ============================================================
    
    ============================================================
    Configured Options...
    ============================================================
    
    Net35
    LCUmsuExpand 1
    UpdtBootFiles
    
    ============================================================
    Extracting .cab files from .msu files...
    ============================================================
    
    1/2: Windows11.0-KB5043080-x64.msu [Combined UUP]
    2/2: Windows11.0-KB5129195-x64.msu [Combined UUP]
    
    ============================================================
    Extracting files from update containers (cab/wim)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/2: Windows11.0-KB5043113-x64_inout.cab [SSU]
    2/2: Windows11.0-KB5124007-x64_inout.cab [SSU]
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing updates...
    ============================================================
    
    01742-Windows11.0-KB5043080-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454
    
    Image Version: 10.0.26300.9457
    
    Processing 1 of 1 - Expand
    
    The operation completed successfully.
    
    09457-Windows11.0-KB5129195-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454
    
    Image Version: 10.0.26300.9457
    
    Processing 1 of 1 - Expand
    
    The operation completed successfully.
    
    .NET 3.5 feature: already enabled
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.
    
    is it my problem ? Running W10UI v10.62 with same Configuration no error show.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340
    #4247 abbodi1406, Sep 15, 2026
    Last edited: Sep 15, 2026
    (OP)
  8. Gladwin

    Gladwin MDL Senior Member

    Dec 20, 2012
    255
    124
    10
    thanks , just a bit question , the LCUmsuExpand =2 or 3 when need to use ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340
    for builds 28000+, 2 and 3 has the same effect
    for 26100 based builds, 3 seems better

    1 is the preferable and the default choice
     
  10. sevenlin007

    sevenlin007 MDL Novice

    Nov 22, 2017
    34
    34
    0
    how to remove source language after adding news language?
     
  11. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    suggestion for the new W10UI / uup-converter updates: remove LCUmsuExpand 2 at all, LCUmsuExpand 3 could be renamed to LCUmsuExpand 2 instead
    based on this: https://forums.mydigitallife.net/posts/1922367

    currently, LCUmsuExpand 1 and LCUmsuExpand 3 should be fully sufficient
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340
    i would just make them equivalent (as they are for 28000+)

    or i can fix that by adding the Baseline LCU before latest SSU
    and skip it for reinstallation after NetFx3
     
  13. BELNN

    BELNN MDL Member

    Apr 2, 2016
    150
    98
    10
    Why does uup-converter-wimlib-126 ignore setting LCU to Winre.wim if LCUmsuExpand=2 and LCUmsuExpand=3 are enabled with LCUwinre =1 enabled? Please take a test.
     
  14. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    check readme

    Code:
    LCUwinre
    Force updating winre.wim with Cumulative Update even if SafeOS update detected.
    This option is ignored and auto disabled for builds 26052 and later.
    it is ignored for builds 26052+


    more info by msft: https://learn.microsoft.com/en-us/w...amic-update#update-windows-installation-media

    for winre.wim:
    1. Add servicing stack update via latest cumulative update
    2. Add Safe OS Dynamic Update
    3. Clean up the image
    4. Export image
     
  15. BELNN

    BELNN MDL Member

    Apr 2, 2016
    150
    98
    10
    It must be forced when LCUwinre =1 is enabled, and it is ignored when LCUmsuExpand=2 and LCUmsuExpand=3. With LCUmsuExpand=0 and LCUmsuExpand=1, everything runs smoothly.
     
  16. Paul Mercer

    Paul Mercer MDL Guru

    Apr 6, 2018
    2,153
    4,508
    90
    no, it should be ignored for builds 26052+ according to readme

    you never mentioned what build you are trying to build anyway, so the whole conversation makes no sense so far
     
  17. BELNN

    BELNN MDL Member

    Apr 2, 2016
    150
    98
    10
    There is a person who wrote this script and prescribed this item, which should work when the mode is turned on on any assembly as desired. The image was created on build 26340 and is present in the original LCU image in Winre.wim.
     
  18. JerryWin

    JerryWin MDL Junior Member

    Mar 16, 2019
    66
    63
    0
    I have a question: starting with Windows 11 Version 24H2, Virtualization-based Security (VBS) is enabled by default. Is there any way to modify install.wim to disable Virtualization-based Security (VBS) in advance?
     
  19. pp03

    pp03 MDL Guru

    Apr 12, 2014
    2,019
    857
    90
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,875
    101,772
    340