abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
  2. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
    Solved...
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
  4. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,939
    4,156
    60
    #2724 Paul Mercer, Dec 10, 2023
    Last edited: Dec 10, 2023
    I tried it on 17763.1 build with Pro edition
    everything was fine but sxs folder (extracted from ISO with removed Internet Explorer FoD) with .Net Framework 3.5 wasn't detected (Net35Source option is blank in W10UI.ini)
    please add detection of sxs folder for .Net Framework 3.5 next to the W10UI.cmd script and/or in updates repo folder for online updates integration

    I'll add logs later

    Code:
    ============================================================
    Running W10UI v10.38
    ============================================================
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/4: Windows10.0-KB4486153-x64.cab [NetFx]
    2/4: Windows10.0-KB5031990-x64-NDP48.cab [NetFx]
    3/4: windows10.0-kb5032196-x64.cab [LCU]
    4/4: Windows10.0-KB5032306-x64.cab [SSU]
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_5084~31bf3856ad364e35~amd64~~17763.5084.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 2 - Adding package Package_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3106
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4682.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.5122.1.11
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4682.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.5122.1.11
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    ============================================================
    System restart is required to complete installation
    ============================================================
    
    
    Press 9 or q to exit.
    Code:
    ============================================================
    Running W10UI v10.38
    ============================================================
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/4: Windows10.0-KB4486153-x64.cab [NetFx]
    2/4: Windows10.0-KB5031990-x64-NDP48.cab [NetFx]
    3/4: windows10.0-kb5032196-x64.cab [LCU]
    4/4: Windows10.0-KB5032306-x64.cab [SSU]
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_5084~31bf3856ad364e35~amd64~~17763.5084.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 2 - Adding package Package_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3106
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4682.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.5122.1.11
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4682.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.5122.1.11
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    ============================================================
    System restart is required to complete installation
    ============================================================
    
    
    Press 9 or q to exit.

    got weird problem with 18362.1 build in VMware Workstation Pro - keyboard isn't working at all so can't create an account
    got 18363.2212 build on UUP dump and it's fine now, updates integration is in progress

    Code:
    ============================================================
    Running W10UI v10.38
    ============================================================
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/5: Windows10.0-KB4517245-x64.cab [Enablement]
    2/5: Windows10.0-KB4535680-x64.cab [SecureBoot]
    3/5: Windows10.0-KB5013627-x64-NDP48.cab [NetFx]
    4/5: Windows10.0-KB5013945-x64.cab [LCU]
    5/5: Windows10.0-KB5014029-x64.cab [SSU]
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2271~31bf3856ad364e35~amd64~~18362.2271.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_KB4535680~31bf3856ad364e35~amd64~~10.0.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4510.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.2274.1.5
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4510.3
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.2274.1.5
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    ============================================================
    System restart is required to complete installation
    ============================================================
    
    
    Press 9 or q to exit.
    Code:
    ============================================================
    Running W10UI v10.38
    ============================================================
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/5: Windows10.0-KB4517245-x64.cab [Enablement]
    2/5: Windows10.0-KB4535680-x64.cab [SecureBoot]
    3/5: Windows10.0-KB5013627-x64-NDP48.cab [NetFx]
    4/5: Windows10.0-KB5013945-x64.cab [LCU]
    5/5: Windows10.0-KB5014029-x64.cab [SSU]
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2271~31bf3856ad364e35~amd64~~18362.2271.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_KB4535680~31bf3856ad364e35~amd64~~10.0.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4510.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.2274.1.5
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1379
    
    Image Version: 10.0.18363.2212
    
    Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4510.3
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.2274.1.5
    [==========================100.0%==========================]
    The operation completed successfully.
            1 file(s) moved.
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    ============================================================
    System restart is required to complete installation
    ============================================================
    
    
    Press 9 or q to exit.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
    @Paul Mercer
    Thanks

    does LCU installation complete successfully after restart?
     
  6. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,939
    4,156
    60
    #2726 Paul Mercer, Dec 11, 2023
    Last edited: Dec 11, 2023
    Yes, cleanup+resetbase from the shortcut on the desktop is working fine as well in all 4 tests

    11.jpg

    by the way, what's the changelog?
    I'm not familiar with older Windows 10 versions, but it seems like it's something for LCU installation on EOL builds (1809)?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
    #2727 abbodi1406, Dec 11, 2023
    Last edited: Dec 12, 2023
    (OP)
    W10UI v10.38

    - Fixed processing SSU-*.cab from normally-named SSU msu (e.g. Windows10.0-KB5031539-x86.msu from WHDownloader)

    - Changed 22631 iso label to 23h2_ni_release

    - Changed finish prompt to "Press 9 or q to exit"

    - Added detection for Net35 sxs folder from W10UI.cmd script root, or updates repo folder

    - Added SupplementalServicing suppressor for builds 14393+ < 19041

    - Added ExtendedSecurityUpdates suppressor for builds 17763+ < 20348 // theoretical

    - Added EdgeChromium suppressor for builds 17134+ < 20348 if SkipEdge=1 // works only if Edge.wim is not already installed with previous LCU

    thanks to @Paul Mercer for verifying and testing
     
  8. MMIKEE

    MMIKEE MDL Senior Member

    Oct 6, 2012
    380
    361
    10
    FYI
    Malwarebytes Premium 4.6.7.301 is preventing the W10UI 10.38 cmd window from displaying properly. Tested again with W10UI 10.37f and same issue, so NOT a W10UI 10.xx issue…

    Quit Malwarebytes Premium 4.6.7.301 then W10UI 10.38 & .37f cmd windows display properly…
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ananhaid

    ananhaid MDL Member

    Oct 16, 2017
    246
    221
    10
    patching ltsc 2021 iso will be close the window undone the process.
     
  10. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,939
    4,156
    60
    can't confirm

    Code:
    [W10UI-Configuration]
    Target        =
    Repo          =
    DismRoot      =dism.exe
    
    Net35         =1
    Net35Source   =
    Cleanup       =1
    ResetBase     =1
    LCUwinre      =0
    WinRE         =1
    UpdtBootFiles =1
    SkipEdge      =0
    UseWimlib     =1
    
    _CabDir       =W10UItemp
    MountDir      =W10UImount
    WinreMount    =W10UImountre
    
    wim2esd       =0
    wim2swm       =0
    ISO           =1
    ISODir        =
    Delete_Source =0
    
    AutoStart     =0
    Code:
    ============================================================
    Running W10UI v10.38
    ============================================================
    
    ============================================================
    Copying DVD Drive contents to work directory...
    ============================================================
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/10: defender-dism-x64_06.12.2023.cab
    2/10: windows10.0-kb5007401-x64_DU.Critical_1378.1.1.cab
    3/10: windows10.0-kb5011048-x64-ndp481_9206.1.cab [NetFx]
    4/10: windows10.0-kb5011069-x64-ndp481_ru-ru_8028.cab [NetFx]
    5/10: windows10.0-kb5015684-x64_EP.22H2_1799.1.2.cab [Enablement]
    6/10: windows10.0-kb5031474-x64_DU.SafeOS_3562.1.1.cab [SafeOS DU]
    7/10: windows10.0-kb5032005-x64-ndp481_CU_9206.1.cab [NetFx]
    8/10: windows10.0-kb5032906-x64_DU.Sources_3685.cab [Setup DU]
    9/10: windows10.0-kb5032907-x64_SSU_3745.1.0.cab [SSU]
    10/10: windows10.0-kb5033372-x64_LCU_3803.1.3.cab [LCU]
    
    ============================================================
    Mounting sources\install.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19044.1288
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3745~31bf3856ad364e35~amd64~~19041.3745.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19044.1288
    
    Processing 1 of 4 - Adding package Package_for_KB5011048~31bf3856ad364e35~amd64~~10.0.9206.1
    [==========================100.0%==========================]
    Processing 2 of 4 - Adding package Package_for_KB5007401~31bf3856ad364e35~amd64~~19041.1378.1.1
    [==========================100.0%==========================]
    Processing 3 of 4 - Adding package Package_for_KB5011069~31bf3856ad364e35~amd64~~10.0.1.8028
    [==========================100.0%==========================]
    Processing 4 of 4 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9206.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19044.1288
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3803.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19044.3803
    
    [=====                      10.0%                          ]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19044.3803
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding Defender update...
    ============================================================
    
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19044.3803
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19044.3803
    
    Processing 1 of 3 - Adding package Package_for_KB5007401~31bf3856ad364e35~amd64~~19041.1378.1.1
    [==========================100.0%==========================]
    Processing 2 of 3 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9206.1
    [==========================100.0%==========================]
    Processing 3 of 3 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3803.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3745~31bf3856ad364e35~amd64~~19041.3745.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB5031474~31bf3856ad364e35~amd64~~19041.3562.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.3562
    
    [===========================94.5%======================    ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.3562
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image File : F:\W10UI_10.38\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "winre.wim" original size: 497785 KiB
    Using LZX compression with 6 threads
    Archiving file data: 1010 MiB of 1010 MiB (100%) done
    "winre.wim" optimized size: 406111 KiB
    Space saved: 91673 KiB
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Unmounting sources\install.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image File : F:\W10UI_10.38\DVD10UI\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 7894 MiB of 7894 MiB (100%) done
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3745~31bf3856ad364e35~amd64~~19041.3745.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_KB5015684~31bf3856ad364e35~amd64~~19041.1799.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3803.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.3803
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.3803
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image File : F:\W10UI_10.38\DVD10UI\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.25398.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3745~31bf3856ad364e35~amd64~~19041.3745.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_KB5015684~31bf3856ad364e35~amd64~~19041.1799.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.1288
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3803.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.3803
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image Version: 10.0.19041.3803
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25398.1
    
    Image File : F:\W10UI_10.38\DVD10UI\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    
    "sources\boot.wim" original size: 939385 KiB
    Using LZX compression with 6 threads
    Archiving file data: 983 MiB of 983 MiB (100%) done
    "sources\boot.wim" optimized size: 401166 KiB
    Space saved: 538219 KiB
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows10.0-kb5032906-x64_DU.Sources_3685.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "F:\W10UI_10.38"
    
    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 (903 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 4984864768 bytes (before optimization)
    
    Writing 903 files in 86 directories to 19044.3803.231203-1311.21H2_RELEASE_SVC_PROD1_CLIENT_X64FRE_EN-US.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14182400 bytes (1% of image)
    
    After optimization, image file is 4972746752 bytes
    Space saved because of embedding, sparseness or optimization = 14182400
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.

    source: en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso (1st index only)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
    I don't even understand what you mean
    cmd window closed? or LCU revert after restart?

    updates can fail and undone for various reasons
     
  12. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,939
    4,156
    60
    #2732 Paul Mercer, Dec 14, 2023
    Last edited: Dec 14, 2023
    it's been a long time since the last discussion of W10UI LCUwinre option

    I suggest to change its behavior to automatic:
    1. default option in W10UI.ini (or cmd script) is 0, and it could be enabled to 1 for Windows 10 (pre 22000 builds)
    2. for 22000 and later builds it's enabled by default even if it's 0 in config
    3. LCUwinre=2 disables this option for 22000 and later builds (for all builds, to be exact)

    I think this is how it works for uup-converter now, would be useful for W10UI as well
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
    I guess MS should stop releasing SafeOS DU for Win11 if so, since LCU is always added :rolleyes:
     
  14. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,939
    4,156
    60
    #2734 Paul Mercer, Dec 14, 2023
    Last edited: Dec 14, 2023
    well, if anything goes different then we still have the LCUwinre=2 option
    don't get me wrong, manual way is fine, but.. if it's not hard to implement then I think it would be useful for many users, personally I could use one config for Windows 10 and Windows 11 builds

    anyway, it's up to you, thanks for continued support
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
    Not at all :)
    it's easy to add

    i really ment MS inconsistency :D
     
  16. migascalp

    migascalp MDL Senior Member

    Sep 18, 2009
    446
    755
    10
    create_virtual_editions.cmd:
    Source ISO: fr-fr_windows_10_enterprise_ltsc_2021_x64_dvd_bda01eb0.iso

    Tryed:
    Code:
    <!-- : Begin batch script
    @setlocal DisableDelayedExpansion
    @set uivr=v97
    @echo off
    :: ### Creation Method ###
    ::
    :: 0 - Registry manipulation / hacky way, work with install.wim or install.esd, support any host OS
    :: 1 - Dism.exe tool         / official way, work with install.wim, require NT 10.0 host OS or Windows 8.1 with Windows ADK
    :: 2 - Force Dism.exe tool   / Same as 1, but work on Windows 7/8 with Windows ADK
    set UseDism=1
    
    :: Change to 1 to start the process directly, creating editions specified in AutoEditions
    set AutoStart=1
    
    :: Specify target editions to auto create separated with space or comma ,
    :: leave it empty to create *all* possible editions
    :: see ReadMe for details
    set "AutoEditions=IoTEnterpriseS"
    And
    Code:
    <!-- : Begin batch script
    @setlocal DisableDelayedExpansion
    @set uivr=v97
    @echo off
    :: ### Creation Method ###
    ::
    :: 0 - Registry manipulation / hacky way, work with install.wim or install.esd, support any host OS
    :: 1 - Dism.exe tool         / official way, work with install.wim, require NT 10.0 host OS or Windows 8.1 with Windows ADK
    :: 2 - Force Dism.exe tool   / Same as 1, but work on Windows 7/8 with Windows ADK
    set UseDism=1
    
    :: Change to 1 to start the process directly, creating editions specified in AutoEditions
    set AutoStart=1
    
    :: Specify target editions to auto create separated with space or comma ,
    :: leave it empty to create *all* possible editions
    :: see ReadMe for details
    set "AutoEditions="
    AutoStart seems not to work.
    The menu to choose the editions appears.
    Or maybe there's something I don't understand.
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340
    @migascalp

    inner script options are overridden with options from ConvertConfig.ini (if exist)

    delete ini file, or modify it instead create_virtual_editions.cmd
     
  18. migascalp

    migascalp MDL Senior Member

    Sep 18, 2009
    446
    755
    10
    Damn ! I hadn't thought about that one.
    THANKS.
     
  19. adric

    adric MDL Expert

    Jul 30, 2009
    1,385
    1,498
    60
    i'm using Win7_WU_ESU_Patcher to check for updates and planning to use W7ESUI to install them instead of Bypass. Does W7ESUI handle ,NET48
    updates like ndp48-kb5031995-x64-NET48-11.exe?

    I can't tell by trying because I already have 5031995 installed via my previous method using abbodi1406's dotNetFx4xW7. Do I still have to still use the .msi method to install future .NET48 updates for W7?
     
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,724
    340