abbodi1406's Batch Scripts Repo

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

  1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,243
    131,929
    450
    Yesterday my wife was out for dinner with her work colleagues at Purino in m'gladbach, she brought a piece of pizza back home, it was delicious :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. haksancan

    haksancan MDL Novice

    Jun 6, 2011
    16
    2
    0
    Has anyone tried this with Windows Update on Windows 10 LTSC? Does it stop getting offered LTSC updates after making it 22H2 because branch has changed?
     
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,243
    131,929
    450
    That option is one the weirdest additions @abbodi1406 made, LTSC is not meant to be "upgraded" and won't get the 22H2 EP offered by WU, also installing it on 2021 LTSC won't give you anything else then a bumped buildnr, no new features or anything.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dback

    dback MDL Junior Member

    Nov 30, 2012
    62
    27
    0
    Works fine for me
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,243
    131,929
    450
    And here we go again about the 22H2 EP on a Windows that NEVER will get it offered on WU, for a reason.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. dback

    dback MDL Junior Member

    Nov 30, 2012
    62
    27
    0
    There are anti-cheat programs for games that require atleast 19045+, which is why asked abbodi1406 if he could add support for integrating the EP.
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,243
    131,929
    450
    Aren't they meant for the games to prevent cheating? Just don't cheat in games, that takes the fun out of it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. dback

    dback MDL Junior Member

    Nov 30, 2012
    62
    27
    0
    #4328 dback, Oct 17, 2026
    Last edited: Oct 17, 2026
    Well, I worded it badly I guess.

    I don't cheat in games, but many multiplayer games require an anticheat in order to play.
    And those anticheats sometimes need a specific windows build and some starting with 19045.
    If the build is lower than 19045, then you can't play them.
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,243
    131,929
    450
    Not going in to a depth discussion but if it only is for certain gaming related software, don't use LTSC (the reason of its existance is that it won't be upgraded to a higher (fake or not) build.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. haksancan

    haksancan MDL Novice

    Jun 6, 2011
    16
    2
    0
    Do you get offered monthly updates (without enabling ESU)?
     
  11. June's Hill

    June's Hill MDL Member

    Jul 1, 2021
    163
    188
    10
    Dear friend, if you have Windows 10 you should use MAS (Microsoft Activation Scripts) -> TSforge Activation. With that, you will get ESU licenses and the updates through Windows Updates effortless. Good luck!
     
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,243
    131,929
    450
    Nope, ran the tests the other night for @abbodi1406 22H2 gets the LCU offered by the UUP system and LTSC is not available on it, so no LCU offered by WU.

    [​IMG]

    [​IMG]

    The NDP CU is an old one from exact one year ago:

    ISO:

    Code:
    ============================================================
    Running W10UI v10.66m
    ============================================================
    
    ============================================================
    Configured Options...
    ============================================================
    
    Net35
    Net35Source
    Cleanup
    ResetBase
    LtscAddEP 2
    WinRE
    ISO
    
    ============================================================
    Extracting files from .msu files...
    ============================================================
    
    1/1: windows10.0-kb5129236-x64_LCU_7727.1.0.msu
    
    ============================================================
    Extracting files from update containers (cab/wim)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/9: defender-dism-x64_steven4554_Oct_13_2026.cab
    2/9: windows10.0-kb5007401-x64_Critical_DU_for_NET35.cab
    3/9: windows10.0-kb5011048-x64_NDP481_Base_9166.1.cab [NetFx]
    4/9: windows10.0-kb5015684-x64_22H2_EP_1799.1.2.cab [Enablement]
    5/9: Windows10.0-KB5019180-x64_PSFX_MMIO_2673.1.1.cab [Microcode]
    6/9: Windows10.0-KB5020683-x64_PSFX_OOBE_2304.1.3.cab [OOBE]
    7/9: windows10.0-kb5122887-x64_DU_SafeOS_7722.1.16.cab [SafeOS DU]
    8/9: windows10.0-kb5126029-x64_DU_Sources_7720.cab [Setup DU]
    9/9: Windows10.0-KB5129236-x64.cab [Combined]
    10/11: Windows10.0-KB5122877-x64_inout.cab [SSU]
    11/11: Windows10.0-KB5129236-x64_inout.cab [LCU]
    
    ============================================================
    Mounting sources\install.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19044.1288
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_7714~31bf3856ad364e35~amd64~~19041.7714.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19044.1288
    
    Processing 1 of 5 - Adding package Microsoft-Windows-22H2Enablement-Package~31bf3856ad364e35~amd64~~10.0.19041.1799
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Package_for_KB5011048~31bf3856ad364e35~amd64~~10.0.9166.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Package_for_KB5007401~31bf3856ad364e35~amd64~~19041.1378.1.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Package_for_KB5019180~31bf3856ad364e35~amd64~~19041.2673.1.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package Package_for_KB5020683~31bf3856ad364e35~amd64~~19041.2304.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19044.1288
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.7727.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19045.7727
    
    [=====                      10.0%                          ]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19045.7727
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding Defender update...
    ============================================================
    
    Platform  : 4.18.26090.9
    Engine    : 1.1.26080.3
    Signatures: 1.459.691.0
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19045.7727
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19045.7727
    
    Processing 1 of 2 - Adding package Package_for_KB5007401~31bf3856ad364e35~amd64~~19041.1378.1.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.7727.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_7714~31bf3856ad364e35~amd64~~19041.7714.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_SafeOSDU~31bf3856ad364e35~amd64~~19041.7722.1.16
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.7722
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.7722
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image File : G:\W10UI\W10UI_2021_LTSC\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
           1 file(s) copied.
    
    ============================================================
    Unmounting sources\install.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image File : G:\W10UI\W10UI_2021_LTSC\19044_Work_x64_US_LTSC\sources\install.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_7714~31bf3856ad364e35~amd64~~19041.7714.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 3 - Adding package Package_for_KB5015684~31bf3856ad364e35~amd64~~19041.1799.1.2
    [==========================100.0%==========================]
    Processing 2 of 3 - Adding package Package_for_KB5019180~31bf3856ad364e35~amd64~~19041.2673.1.1
    [==========================100.0%==========================]
    Processing 3 of 3 - Adding package Package_for_KB5020683~31bf3856ad364e35~amd64~~19041.2304.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.7727.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.7727
    
    [===========================93.4%======================    ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.7727
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image File : G:\W10UI\W10UI_2021_LTSC\19044_Work_x64_US_LTSC\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.19041.3636
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_7714~31bf3856ad364e35~amd64~~19041.7714.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 3 - Adding package Package_for_KB5015684~31bf3856ad364e35~amd64~~19041.1799.1.2
    [==========================100.0%==========================]
    Processing 2 of 3 - Adding package Package_for_KB5019180~31bf3856ad364e35~amd64~~19041.2673.1.1
    [==========================100.0%==========================]
    Processing 3 of 3 - Adding package Package_for_KB5020683~31bf3856ad364e35~amd64~~19041.2304.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.7727.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.7727
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image Version: 10.0.19041.7727
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Image File : G:\W10UI\W10UI_2021_LTSC\19044_Work_x64_US_LTSC\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.3636
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows10.0-kb5126029-x64_DU_Sources_7720.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "G:\W10UI\W10UI_2021_LTSC"
    
    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 87 directories)
    
    Computing directory information complete
    
    Image file is 5963677696 bytes (before optimization)
    
    Writing 905 files in 87 directories to 19045.7727.260912-1745.22H2_RELEASE_SVC_IM_CLIENT_X64FRE_EN-US.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14182400 bytes (1% of image)
    
    After optimization, image file is 5951551488 bytes
    Space saved because of embedding, sparseness or optimization = 14182400
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.
    
    
    didn't integrate the latest ndp481 cu and it got the one from last year offered:
    https://catalog.s.download.windowsu..._62d1e2cbc14bd4ef08e10b076868a6ee7a986fa6.msu
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,918
    102,036
    340
    PSFX MSU Maker v0.7

    - Include TurboContainer.dll (if exist) for the repacked DesktopDeployment cab
     
  14. SEBA33

    SEBA33 MDL Member

    Oct 28, 2024
    245
    46
    10
    @abbodi1406 Will you fix for bypass esu X monit about register to ESU ? That example isn't shown when use Mas TSFORGE.
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,918
    102,036
    340
    - I did not understand a thing
    - BypassESU allow to install updates, it's not obligated to fix any ESU registration shenanigans