abbodi1406's Batch Scripts Repo

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

  1. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    795
    1,438
    30
    @abbodi1406

    Thx for the info...Yes, i installed all of them from 2016. It showed me about 182 updates after that.

    Then i slipstreamed IE11, and all it's updates in it, and added the 2016 rollup. After this, it showed 27 updates. 2 Rollups (2017-12/2020-01) are 2 of those....

    Then i ran KUC update checker, and to my suprise it was missing a lot of updates?! Because i ran "Rebase" before that, KUC could not clean some old/superseded updates...However it fixed it all, and after 3 runs of KUC Update checker, it finally showed up2date/no updates on WU. Both those Rollups where gone also...

    I'm gonna redo it later, and not run Rebase before KUC.

    I have to check the registry to see if it added that key, damn...what a mess :p ;)

    Cheers!
     
  2. loader24

    loader24 MDL Junior Member

    May 18, 2016
    80
    11
    0
    Do this update multi wim with having both x86 and x64 in 1 instance?
     
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,019
    93,829
    450
    Not that i know of, i always run x86 and x64 separately and after i am done, i run multi_arch_iso.cmd from the ESD>ISO tool.
     
  4. adric

    adric MDL Expert

    Jul 30, 2009
    1,244
    1,303
    60
    #1164 adric, Aug 13, 2020
    Last edited: Aug 13, 2020
    @abbodi1406
    When I run W10UI 8.4 to create an offline image, I noticed resetbase occurs twice for the install.wim and twice for the winre.wim which I don't understand why this is happening since my logs never showed this with 8.1. The 2nd resetbase for both wims end with 20%. Just curious, but how or why does this happen?
    Code:
    2020-08-13 13:22:51, Info                  DISM   DISM.EXE: Executing command line: "u:\$W0\ADK_6\amd64\DISM\dism.exe"  /English /NoRestart /ScratchDir:"d:\cab_20058" /image:"d:\W10UImount_21564" /Cleanup-Image /StartComponentCleanup /ResetBase
    2020-08-13 13:29:00, Info                  DISM   DISM.EXE: Executing command line: "u:\$W0\ADK_6\amd64\DISM\dism.exe"  /English /NoRestart /ScratchDir:"d:\cab_20058" /image:"d:\W10UImount_21564" /Cleanup-Image /StartComponentCleanup /ResetBase
    
    2020-08-13 13:38:02, Info                  DISM   DISM.EXE: Executing command line: "u:\$W0\ADK_6\amd64\DISM\dism.exe"  /English /NoRestart /ScratchDir:"d:\cab_20058" /image:"d:\W10UImountre_19429" /Cleanup-Image /StartComponentCleanup /ResetBase
    2020-08-13 13:39:41, Info                  DISM   DISM.EXE: Executing command line: "u:\$W0\ADK_6\amd64\DISM\dism.exe"  /English /NoRestart /ScratchDir:"d:\cab_20058" /image:"d:\W10UImountre_19429" /Cleanup-Image /StartComponentCleanup /ResetBase
    ============================================================
    [1] Target (x64): "u:\$W0\$0_WUI\x64\_LTSB_1607\LTSB+08.wim"
    
    [2] Updates: "U:\$W0\$0_WUI\x64\_LTSB_1607\Repo-Dir\Base"
    
    [3] DISM: "u:\$W0\ADK_6\amd64\DISM\dism.exe"
    
    [4] Enable .NET 3.5: YES
    
    [5] Cleanup System Image: YES      [6] Reset Image Base: YES
    
    [M] Mount Directory: "d:\W10UImount_21564"
    
    [E] Extraction Directory: "d:\cab_20058"
    .
    .
    .
    
    ============================================================
    Resetting OS image base
    ============================================================
    13:22
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Image Version: 10.0.14393.3801
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting OS image base
    ============================================================
    13:29
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Image Version: 10.0.14393.3801
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Adding .NET Framework 3.5 feature
    ============================================================
    .
    .
    
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    @adric

    i have not fix it in W10UI yet
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    W10UI v8.5

    - Added SkipEdge option for EdgeChromium with v20H2 Enablement Package
    the option can only be set manually (ini file), it does not have Menu choice

    - Fixed cosmetic double image cleanup without EdgeChromium update
     
  7. loader24

    loader24 MDL Junior Member

    May 18, 2016
    80
    11
    0
    I am not satisfied with this multi_arch_iso.cmd do you have known other batch script that do the same job? can't update on online windows. no set up found
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,019
    93,829
    450
    What is not being satisfied with a tool that simply creates a MCT like multi-arch ISO or an alternative mixed arch install.wim/esd ISO, which can boot x86 EFI on x86 EFI systems?
     
  9. AshtonLee

    AshtonLee MDL Novice

    Mar 13, 2018
    19
    5
    0
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,019
    93,829
    450
    Code:
    ============================================================
    Running ESD -> ISO v55
    ============================================================
    
    
    ============================================================
    Checking ESD Info . . .
    ============================================================
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 847 MiB of 847 MiB (100%) done
    
    Using LZX compression with 8 threads
    Archiving file data: 106 MiB of 106 MiB (100%) done
    
    ============================================================
    Creating install.esd . . .
    ============================================================
    
    Using LZMS compression with 1 thread
    Archiving file data: 9 GiB of 9 GiB (100%) done
    
    Using LZMS compression with 1 thread
    Archiving file data: 254 MiB of 254 MiB (100%) done
    
    Using LZMS compression with 1 thread
    Archiving file data: 141 MiB of 141 MiB (100%) done
    
    Using LZMS compression with 1 thread
    Archiving file data: 333 MiB of 333 MiB (100%) done
    
    Using LZMS compression with 1 thread
    Archiving file data: 248 MiB of 248 MiB (100%) done
    
    Using LZMS compression with 1 thread
    Archiving file data: 148 MiB of 148 MiB (100%) done
    
    Using LZMS compression with 1 thread
    Archiving file data: 137 MiB of 137 MiB (100%) done
    
    ============================================================
    Creating ISO . . .
    ============================================================
    
    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 (899 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 4497080320 bytes (before optimization)
    
    Writing 899 files in 85 directories to 19042.450.200814-0345.20H2_RELEASE_SVC_REFRESH_CLIENTCONSUMER_OEMRET_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 25 files, 14182400 bytes (1% of image)
    
    After optimization, image file is 4484954112 bytes
    Space saved because of embedding, sparseness or optimization = 14182400
    
    Done.
    
    Press 0 to exit.
    
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    W10UI v8.6

    - Fixed fail-safe integration using update cab file directly
     
  14. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    you forgot @SeT uiv = v8.6, in W10UI.cmd
     
  15. ssjkakaroto

    ssjkakaroto MDL Junior Member

    Mar 3, 2011
    59
    18
    0
    Hi @abbodi1406, do you have a script to create an up-to-date .NET 4.8 installer that I can use on a live system?
     
  16. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,662
    2,217
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,022
    210
    There's an oddity I've observed in the UUP converter from @abbodi1406 - nothing serious. When creating virtual Editions, I don't select any, meaning "create all".

    Code:
    AutoEditions: Enterprise,Education,ProfessionalEducation,ProfessionalWorkstation,EnterpriseN,EducationN,ProfessionalEducationN,ProfessionalWorkstationN,CoreSingleLanguage,ServerRdsh,IoTEnterprise,IoTEnterpriseS
    The "IoTEnterpriseS" Edition is always shown, but never created. My question: Why is that SKU there?
     
  18. awuctl

    awuctl MDL Member

    Jun 6, 2020
    118
    432
    10
    That's a virtual edition of EnterpriseS (LTSB/LTSC) with an OEM key. It's there simply because it's a virtual edition.
    You (or rather the converter) can't make it without proper files though. (they're not available on UUP)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,022
    210
    Uh-huh, a ghost SKU.
     
  20. awuctl

    awuctl MDL Member

    Jun 6, 2020
    118
    432
    10
    Code:
    --- Windows 10 IoT Enterprise LTSC 2019 (x64) - DVD (English) [ID: 3465] ---
    225eea895e19bce56d43f00a1df37a93b6793bc9 *en_windows_10_iot_enterprise_ltsc_2019_x64_dvd_4c97c86c.iso
    6598bd10e43e4857610e66735b043f62e8036c11 *en_windows_10_iot_enterprise_ltsc_2019_x86_dvd_1df040b1.iso
    
    It has its own ISO, so it must be a drastic change from the regular one. (it isn't. not at all. no idea why this exists.)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...