abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
    @Gloeyisk
    can you post screenshoot of the folder containing updates?
    what's the folder path?
     
  2. Gloeyisk

    Gloeyisk MDL Member

    Sep 2, 2020
    107
    14
    10
    #1282 Gloeyisk, Dec 17, 2020
    Last edited: Dec 18, 2020
    My PC is turned Off at this moment (at bed now; 1:50 AM UTC+7). But I remember the directory.
    That is:
    Code:
    D:\WHD\Updates\Office2016_x64\*
    
    Where * is a location for both General and Security folders.
    I also put the .cmd on those path (*) as well but still persist.
    If you still need the screenshot, give me some time (in the afternoon or so).

    Edit: @abbodi1406 here's the screenshot you wanted before.
     

    Attached Files:

  3. TheCollDude489

    TheCollDude489 MDL Member

    Apr 16, 2018
    147
    32
    10
    Sorry if this is not the right place to report this but I'm encountering a very strange issue with WHD-W7UI. When the script updates multiple indexes and any of them are WES7 images or certain Windows Server 2008 R2 images, on the second and further selected indexes the script seems to act funny and attempt to integrate ESU updates several times resulting in DISM error 14099 appearing and the currently mounted image becoming corrupt. If the script only updates one index, then the issue does not occur and updates are integrated properly.

    I've attached outputs of when I attempted to update indexes 46 and 47 in my WIM image (script_bug_00.txt), and when I only updated index 47 (script_bug_01.txt)
     

    Attached Files:

  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
    @TheCollDude489
    Acknowledged and fixed (verifying now), thanks

    i'm keen to know why winre.wim updating shows not applicable error for KB4490628/KB4474419
    is the file RTM without SP1?
     
  5. TheCollDude489

    TheCollDude489 MDL Member

    Apr 16, 2018
    147
    32
    10
    OK after more testing I found out the bug seems to happen with far more images than I first thought (I just tried updating only the Windows Server 2008 R2 Standard and Windows Server 2008 R2 Standard VL indexes in my WIM as a test and the same issue happened with the VL version; the script integrates ESU updates several times).
     

    Attached Files:

  6. TheCollDude489

    TheCollDude489 MDL Member

    Apr 16, 2018
    147
    32
    10
    Yeah for some reason the Windows Recovery for a few indexes are RTM without SP1, even though the indexes themselves are SP1.
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
    WHD-W7UI v6.6

    - fixed ESU updates mis-integration for multiple install.wim indexes
    - added applicability check for KB2646060/KB3161102/winre.wim

    thanks @TheCollDude489
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
    W7ESUI v3

    - Enhanced detection for updates files and KB number

    e.g.
    when you download updates from Microsoft Update Catalog using ActiveX IE11 version (basket), it prefix the files with AMD64-all- , X86-all- or both
     
  9. SergeSF

    SergeSF MDL Novice

    Jan 15, 2021
    2
    0
    0
    Hi there
    I need ESU bypass for Windows Server 2008 (NOT R2!) to install standalone monthly updates from Microsoft catalog. Where I can find that archive?
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
  11. SergeSF

    SergeSF MDL Novice

    Jan 15, 2021
    2
    0
    0
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
  13. Prodif

    Prodif MDL Junior Member

    Apr 5, 2017
    59
    23
    0
  14. Muggaen

    Muggaen MDL Addicted

    Dec 30, 2011
    678
    296
    30
  15. ricktendo64

    ricktendo64 MDL Expert

    Apr 20, 2008
    1,397
    2,024
    60
    @abbodi1406 I use your KMS_VL_ALL during setupcomplete.cmd, is it possible to add code in this to self delete/cleanup itself after running?

    Maybe you can show me how I could do it, or add it as an additional feature?

    Thanks
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
    if you use KMS_VL_ALL_AIO "Create $OEM$ Folder", created setupcomplete.cmd cleanup after executing KMS_VL_ALL_AIO.cmd

    you may also use it for traditional KMS_VL_ALL
    Code:
    @echo off
    call %~dp0KMS_VL_ALL.cmd
    cd \
    (goto) 2>nul&rd /s /q "%~dp0"
    KMS_VL_ALL.cmd here is renamed setupcomplete.cmd, it's already silent and configured for AutoRenewal


    i will see if i can add self clean command for setupcomplete.cmd in traditional KMS_VL_ALL
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,692
    340
    #1298 abbodi1406, Jan 22, 2021
    Last edited: Jan 22, 2021
    (OP)
  19. adric

    adric MDL Expert

    Jul 30, 2009
    1,249
    1,324
    60
    8.9:
    - Added support to install v1607 updates for unsupported editions (non Enterprise LTSB)

    Not sure what versions are meant with "non Enterprise LTSB". Are all versions of 1607 supported such as Win 10 Pro?