abbodi1406's Batch Scripts Repo

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

  1. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    8,041
    10,269
    270
    Git is not GitHub, git can be hosted anywhere. Even UUPDump has its own git as backup location.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,562
    99,691
    340
    I'm aware of that
    i ment free-for-any gits
     
  3. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    8,041
    10,269
    270
    Want to rather keep yourself being kicked around by GitHub, instead? It's owned by MS, so, any day your repos stay up there is probably overlooking on their part. :cool:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Vineet Garg

    Vineet Garg MDL Member

    Aug 4, 2016
    109
    34
    10
    Unable to download : office2007-kb967642-fullfile-x86-glb.exe

    Thanks in advance.
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,562
    99,691
    340
    Source link removed

    it's the same as targetdir2007-kb967642-fullfile-x86-glb.cab
    you don't need the exe
     
  6. Vineet Garg

    Vineet Garg MDL Member

    Aug 4, 2016
    109
    34
    10
    Renaming ?

    ( Thanks )
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,562
    99,691
    340
    Rename what?
    targetdir2007-kb967642-fullfile-x86-glb.cab is already included in the downloder list
     
  8. Vineet Garg

    Vineet Garg MDL Member

    Aug 4, 2016
    109
    34
    10
    yes, It's already there. My bad.

    Thanks.
     
  9. onlesaura

    onlesaura MDL Novice

    Aug 15, 2014
    13
    2
    0
    Hi, about integration of updates offline, I'm not sure I got the point. Usually I integrate them offline, booting with my usb install key, and from cmd command with dism. when shall I use Wim-Integration.cmd? thank you!
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,562
    99,691
    340
    offline = dism /Image ....
    online = dism /Online ...

    are you asking about BypassESU X?
     
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,757
    125,010
    450
    You mean you boot an winpe environmont to install the updates on an installed windows?

    Wim-Integration.cmd = bypass-x = already integrated in W10UI too,

    Code:
    ## How to Use - Offline Image/Wim Integration
    
    * Wim-Integration.cmd support two target types to integrate BypassESU:
    
    [1] Direct WIM file (not mounted), either install.wim or boot.wim
    
    [2] Already Mounted image directory, or offline image deployed on another partition/drive/vhd
    
    I would just use W10UI :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. onlesaura

    onlesaura MDL Novice

    Aug 15, 2014
    13
    2
    0
    first, thank you for your kind answers. I'm not an expert as you are. thank you for your time. Yes, it has to do with bypass ESU on an offline system. that's why usually I use the install usb boot key, and use dism to integrate updates on the offline system with dism /add-package i/mage:e:\ /scratchdir!:e:\scratch /packagepath:e:\update\name of the KB I don't understand how to use WinUI or wim-integration in that specific setting, when, and how. Sorry for my ignorance. and thank you for your kindness.
     
  13. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,757
    125,010
    450
    Basically it's the same as shown here, put the updates next to W10UI.cmd and run the cmd as admin:
    https://forums.mydigitallife.net/posts/1571109

    ps, this is a lot less techy then going the winpe boot way :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. onlesaura

    onlesaura MDL Novice

    Aug 15, 2014
    13
    2
    0
    again, a big thank you for yur support. sadly the update for technical reasons cannot be done with windows online, only offline. if there is a way to do it thank you very much. Sorry again for my ignorance.
     
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,757
    125,010
    450
    What technical reason makes online updating impossible? No admin rights on the system?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. onlesaura

    onlesaura MDL Novice

    Aug 15, 2014
    13
    2
    0
    actually, online it works. thank you for your support.
     
  17. onlesaura

    onlesaura MDL Novice

    Aug 15, 2014
    13
    2
    0
    no to bother you at all, I wonder about this, as a legit way to get updates. I hate having a MS account to get free updates (I'm in EU). But to pay €30 for one year otherwise...
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,757
    125,010
    450
    Nobody is forcing you to have an online account (MSA).

    Use MAS > TSForge > ESU to get the extra 3 year of updates.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
    @abbodi1406 Hey I'm back again to report weird update integration issue with boot.wim with latest W10UI with Win 11 25H2.

    W10UI Settings 1:
    Code:
    [W10UI-Configuration]
    Target        ="D:\Backup\W11\Win11_25H2_English_x64"
    Repo          ="D:\Backup\updates"
    DismRoot      =dism.exe
    
    Net35         =0
    Net35Source   =
    Cleanup       =1
    ResetBase     =0
    LCUwinre      =1
    WinRE         =1
    LCUmsuExpand  =0
    UpdtBootFiles =1
    SkipEdge      =1
    SkipWebView   =0
    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

    W10UI Settings 2:
    Code:
    [W10UI-Configuration]
    Target        ="D:\Backup\W11\Win11_25H2_English_x64"
    Repo          ="D:\Backup\updates"
    DismRoot      =dism.exe
    
    Net35         =0
    Net35Source   =
    Cleanup       =1
    ResetBase     =1
    LCUwinre      =0
    WinRE         =1
    LCUmsuExpand  =0
    UpdtBootFiles =1
    SkipEdge      =1
    SkipWebView   =0
    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

    Common errors with both indexes in boot.wim:

    Code:
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.1742.1.10
    [==========================100.0%==========================]
    An error occurred - Package_for_RollupFix Error: 0x80073712
    
    Error: 14098
    
    The component store has been corrupted.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\DismLCU_boot.log
    Snapshot of logs:

    Code:
    2026-01-07 20:21:28, Error                 CSI    000000f9@2026/1/7:14:51:28.381 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    000000fa@2026/1/7:14:51:28.388 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-SleepStudy-Events-Container, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(120) tid(4728) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    000000fb@2026/1/7:14:51:28.388 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-SNMP-Common-API, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(121) tid(38f8) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    000000fc@2026/1/7:14:51:28.388 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    000000fd@2026/1/7:14:51:28.388 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-Sx-Shared, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(122) tid(15dc) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    000000fe@2026/1/7:14:51:28.388 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    000000ff@2026/1/7:14:51:28.390 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    00000100@2026/1/7:14:51:28.390 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-UserenvExt, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(123) tid(17c8) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    00000101@2026/1/7:14:51:28.390 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-Verifier, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(124) tid(15dc) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    00000102@2026/1/7:14:51:28.390 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    00000103@2026/1/7:14:51:28.390 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-WMI-Core-reg-folder-settings, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(125) tid(15dc) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    00000104@2026/1/7:14:51:28.390 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    00000105@2026/1/7:14:51:28.390 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-LUA-Settings, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(126) tid(ea8) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    00000106@2026/1/7:14:51:28.390 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    00000107@2026/1/7:14:51:28.390 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    00000108@2026/1/7:14:51:28.390 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Error                 CSI    00000109@2026/1/7:14:51:28.390 (F) Attempting to mark store corrupt with category [l:15 ml:16]'CorruptManifest'[gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-SmartCardSubsystemAudit-instrumentation, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(127) tid(ea8) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    0000010a@2026/1/7:14:51:28.390 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-SmartCardSubsystemClient, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(128) tid(38f8) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    0000010b@2026/1/7:14:51:28.390 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    2026-01-07 20:21:28, Info                  CBS    Sending WER
    2026-01-07 20:21:28, Error                 SXS    Component metadata corrupt for Microsoft-Windows-COM-ComPlus.Res, version 10.0.26100.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}: STATUS_SXS_COMPONENT_STORE_CORRUPT
    2026-01-07 20:21:28, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\staging.cpp(3969)\TurboStack.dll!00007FFE3107DF2B: (caller: 00007FFE31069799) Exception(129) tid(4440) C015001A The component store has been corrupted.
    
    2026-01-07 20:21:28, Error                 CSI    0000010c@2026/1/7:14:51:28.397 (F) onecore\base\servicing\turbostack\lib\staging.cpp(3969): Error HRESULT_FROM_WIN32(14098) originated in function (null) expression: (null)
    [gle=0x80004005]
    
    I'm using latest Win 11 ADK. For me checkpoint update mechanism with 24H2 and above is a massive PITA as opposed to full CU. The files are much bigger and takes longer time to apply Online Host/Offline Image. Should I try without SafeOS and Setup dynamic updates?
    Screenshot 2026-01-07 211439.png
     
  20. shhnedo

    shhnedo MDL Guru

    Mar 20, 2011
    2,080
    2,835
    90
    Why? If you're going to integrate updates into a windows image, you might as well do it to a (in your case) 26100.1 image. I've been doing this ever since 24H2 came out, I kept doing it through the nonsense checkpoint update(which still isn't superseded by anything), I keep doing it today as well - I am yet to see an integration issue.