abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
  2. patapout

    patapout MDL Member

    Jun 23, 2014
    232
    130
    10
    #4102 patapout, Feb 25, 2026
    Last edited: Feb 25, 2026
    So if I use that version "10.59" on ltsb 2016 , the futur updates esu will be ok without doing anything else ??
     
  3. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    8,076
    10,298
    270
    Should. Nobody knows what the future really holds.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
    #4104 abbodi1406, Mar 24, 2026
    Last edited: Mar 24, 2026
    (OP)
  5. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
    @abbodi1406 I'm back once again after testing the new 25H2 v2 ISO with March Updates integrated. It seems they have added blocklist packages that SxS cleanup commands can perform so superseded packages aren't removed. The wim file is barely getting smaller after removing unwanted Appx and edge components (my script). Even the hidden dism edge/webview cmd lines don't show up with v2 Image. It seems Appx packages got updated as well with new deps.

    The checkpoint update mechanism is giving me Win 7/Vista pending update cleanup that breaks future update if you do very deep cleanup with harkaz's rebase
     
  6. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
    @abbodi1406 After doing full Rebase with just latest defender platform image through W10UI (No recovery PE update, no boot files with edge and webview skipped) the ESD file won't install under hyper v and fails after 10%.
    Just removed Edge,Appx and kept wim which installed beautifully.
    I think deletion of SxS\Backup folder should be avoided.

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

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
    I don't delete that folder
    it's deleted for PE by dism when DisableComponentBackups = 1
     
  8. knopper84

    knopper84 MDL Novice

    Dec 5, 2015
    12
    5
    0
    ..i’m just about to choose which patch I’M applying on my W10 pro 22H2. Now that there is also the BypassESU X Patch from abbodi....i can choose between the MAS/TSForge patch and this one

    So is there any recommended or "better" patch? Maybe that one patch is more reliable or "stable"? Or does it not matter at all?
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
    TSForge = live online OS
    BypassESU X = online OS or offline image (install.wim)
     
  10. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
    @abbodi1406 Hi any new registry keys are available to skip edge and webview without breaking windows updates. It seems 25h2 v2 ISO actually doesn't consider Edge webview as FoD since it started breaking WU and I tried using junctions from System32\Edge-Webview to program files (x86)\microsoft\edge-webview but didn't work as expected. I did have skip edge and webview enabled on W10UI.
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
    No
    why not remove them from install.wim with Dism?
     
  12. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
    Oh you mean remove it through Dism Remove-Package?
    Hmm. I will give it a shot.
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
  14. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
    W10UI v10.59b

    - Build 14393: Use target image dpx.dll to expand updates files if Host OS is Windows 11 22H2 or later

    thanks to @asdddsa101 for reporting and @Enthousiast for testing
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
    PSFX MSU Maker v6

    - Include *.mumx.esd file if exists for builds 26100+ (required for online installation)
     
  17. Lubera

    Lubera MDL Novice

    Apr 12, 2021
    1
    0
    0
    VisualCppRedist_AIO 104.0 Thursday, April 16, 202 [Repack] Visual C++ Redistributable AIO
     
  18. ar_seven_am

    ar_seven_am MDL Senior Member

    Mar 7, 2010
    404
    133
    10
    #4118 ar_seven_am, Apr 24, 2026
    Last edited: Apr 24, 2026
    @abbodi1406 please check your NT 10 updates installer , I recently used your script (v10.59b) to integrate windows 10 update, but with windows 10 enterprises ltsc 2021 offline image, KB5072653 which is only for windows 10 ESU also integrated into the image, it should be excluded, right? I mean, LTSC version not include in ESU???
    I'm trying to create multi image windows 10 (Pro and LTSC), just curious why KB5072653 is also integrated to the LTSC image which should not (please correct me if I'm wrong).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,610
    100,025
    340
    It's just an update for ClipSp.sys, and applicable for all editions (per update.mum which W10UI checks)
    it can't be skipped unless i add explicit exclusion for it

    it does not worth the trouble, and it's harmless
    and LCU already include newer ClipSp.sys
     
  20. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
    @abbodi1406 it seems on host windows 11 25h2 disabling defender actually allowed me to update to April 2026 build rather quickly which didn't have edge and webview. On offline image even on VM with edge or without edge and retaining webview didn't apply the update.
    Its rather odd ASR rules can cause update issues. I activated flight mode and applied msu update.