abbodi1406's Batch Scripts Repo

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

  1. Acideb135

    Acideb135 MDL Junior Member

    Jun 25, 2024
    68
    17
    0
    I too sometimes the script seems to stop, but just by clicking a key on the keyboard it increases very quickly to catch up on the waiting time. It's a bit weird but it works
     
  2. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,941
    4,166
    60
    #3262 Paul Mercer, Sep 24, 2024
    Last edited: Sep 24, 2024
    what would this change? I guess it disables cleanup at all? I mean it should skip "/Cleanup-Image /StartComponentCleanup" and then go streight to the "/Cleanup-Image /StartComponentCleanup /ResetBase"?

    p.s. still waiting for cleanup to finish, want to try to wait at least an hour

    p.p.s. I'm getting STATUS_SHARING_VIOLATION error in the log, but it's on very healthy SSD
    seems like io / NTFS issue somehow


    this is a different thing, do not click or select the text inside of console window (check for "selected" or something in the title bar)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,941
    4,166
    60
    #3263 Paul Mercer, Sep 24, 2024
    Last edited: Sep 24, 2024
    Code:
    ============================================================
    Running W10UI v10.45r
    ============================================================
    
    ============================================================
    Copying DVD Drive contents to work directory...
    ============================================================
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files...
    ============================================================
    
    1/2: windows11.0-kb5043080-x64_LCU_1742.1.10.msu [Combined UUP]
    2/2: windows11.0-kb5043178-x64_LCU_1876.1.20.msu [Combined UUP]
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/5: windows11.0-kb5042098-x64-ndp481_CU_9266.1.cab [NetFx]
    2/5: windows11.0-kb5043934-x64_DU.SafeOS_1866.1.0.cab [SafeOS DU]
    3/5: windows11.0-kb5044075-x64_DU.Sources_1875.cab [Setup DU]
    4/5: Windows11.0-KB5043113-x64_inout.cab [SSU]
    5/5: Windows11.0-KB5043117-x64_inout.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9266.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5043178-x64_LCU_1876.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26100.1866.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [===========================71.7%=========                 ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45r\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "winre.wim" original size: 536327 KiB
    Using LZX compression with 6 threads
    Archiving file data: 1348 MiB of 1348 MiB (100%) done
    "winre.wim" optimized size: 520425 KiB
    Space saved: 15902 KiB
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Unmounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45r\DVD10UI\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    "sources\install.wim" original size: 5993047 KiB
    Using LZX compression with 8 threads
    Archiving file data: 9133 MiB of 9133 MiB (100%) done
    "sources\install.wim" optimized size: 4169503 KiB
    Space saved: 1823544 KiB
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5043178-x64_LCU_1876.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45r\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.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5043178-x64_LCU_1876.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45r\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: 922528 KiB
    Using LZX compression with 6 threads
    Archiving file data: 1473 MiB of 1473 MiB (100%) done
    "sources\boot.wim" optimized size: 591570 KiB
    Space saved: 330957 KiB
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows11.0-kb5044075-x64_DU.Sources_1875.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "F:\W10UI_10.45r"
    
    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 (1000 files in 93 directories)
    Scanning source tree complete (1052 files in 98 directories)
    
    Computing directory information complete
    
    Image file is 5149458432 bytes (before optimization)
    
    Writing 1052 files in 98 directories to 26100.1876.240918-1021.GE_RELEASE_SVC_PROD3_CLIENT_X64FRE_RU-RU.iso
    
    100% complete
    
    Storage optimization saved 66 files, 15792128 bytes (1% of image)
    
    After optimization, image file is 5136156672 bytes
    Space saved because of embedding, sparseness or optimization = 15792128
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.
    cleanup took 2 hours, something is wrong here
    install.wim filesize is 3.97 Gb.

    same issue at 71.6%, waiting...
    Code:
    ============================================================
    Running W10UI v10.45r
    ============================================================
    
    ============================================================
    Copying DVD Drive contents to work directory...
    ============================================================
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files...
    ============================================================
    
    1/2: windows11.0-kb5043080-x64_LCU_1742.1.10.msu [Combined UUP]
    2/2: windows11.0-kb5043178-x64_LCU_1876.1.20.msu [Combined UUP]
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/5: windows11.0-kb5042098-x64-ndp481_CU_9266.1.cab [NetFx]
    2/5: windows11.0-kb5043934-x64_DU.SafeOS_1866.1.0.cab [SafeOS DU]
    3/5: windows11.0-kb5044075-x64_DU.Sources_1875.cab [Setup DU]
    4/5: Windows11.0-KB5043113-x64_inout.cab [SSU]
    5/5: Windows11.0-KB5043117-x64_inout.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9266.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5043178-x64_LCU_1876.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26100.1866.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45rf\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "winre.wim" original size: 536158 KiB
    Using LZX compression with 6 threads
    Archiving file data: 1348 MiB of 1348 MiB (100%) done
    "winre.wim" optimized size: 520420 KiB
    Space saved: 15738 KiB
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Unmounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45rf\DVD10UI\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    "sources\install.wim" original size: 5991154 KiB
    Using LZX compression with 8 threads
    Archiving file data: 9124 MiB of 9124 MiB (100%) done
    "sources\install.wim" optimized size: 4167611 KiB
    Space saved: 1823542 KiB
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5043178-x64_LCU_1876.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45rf\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.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5043178-x64_LCU_1876.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [===========================75.1%===========               ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1876
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.45rf\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: 922617 KiB
    Using LZX compression with 6 threads
    Archiving file data: 1473 MiB of 1473 MiB (100%) done
    "sources\boot.wim" optimized size: 591662 KiB
    Space saved: 330955 KiB
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows11.0-kb5044075-x64_DU.Sources_1875.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "F:\W10UI_10.45rf"
    
    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 (1000 files in 93 directories)
    Scanning source tree complete (1052 files in 98 directories)
    
    Computing directory information complete
    
    Image file is 5147623424 bytes (before optimization)
    
    Writing 1052 files in 98 directories to 26100.1876.240918-1021.GE_RELEASE_SVC_PROD3_CLIENT_X64FRE_RU-RU.iso
    
    100% complete
    
    Storage optimization saved 66 files, 15792128 bytes (1% of image)
    
    After optimization, image file is 5134313472 bytes
    Space saved because of embedding, sparseness or optimization = 15792128
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.
    install.wim filesize is 3.97 Gb., but ISO size is smaller now

    overall nothing has changed, packages list is the same
    cleanup is broken in this build, looks like race condition in dism operations

    DismCleanup.log http://put.nu/files/XPCK4-t.7z
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,667
    103,477
    450
    It ran for about 2.5hrs on 26100.1867 and for 22631.4247 it ran in the usual amount of time (few minutes).
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,775
    340
    I was just making sure the hang was not caused by my modded registry values (running /ResetBase ignore the registry values)

    thanks for the long tests
     
  6. asdddsa101

    asdddsa101 MDL Member

    Feb 11, 2021
    121
    41
    10
    Integrate checkpoint update (KB5043080), DISM /Cleanup-Image.
    Then integrate the LCU (KB5043178) and DISM /Cleanup-Image again.
     
  7. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,941
    4,166
    60
    current W10UI version installs only the highest LCU, installing all LCUs one by one increases the size of the install.wim file
    I still think we should wait for a more stable checkpoint update mess
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. asdddsa101

    asdddsa101 MDL Member

    Feb 11, 2021
    121
    41
    10
    #3268 asdddsa101, Sep 25, 2024
    Last edited: Sep 25, 2024
    No. This operation does not significantly increase the image size.
    And it doesn't take long, only 15 minutes on my PC.
    I tested just now:

    26100.1 winsxs has 14263 items, install.wim 3.16GB

    after the operations I mentioned above
    26100.1876 winsxs has 14754 items, install.wim 3.79GB
     
  9. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,941
    4,166
    60
    I already tested this here and here
    in short, it was 3.75 Gb. (only the highest LCU, cleanup) vs 4.01 Gb. (all LCUs one by one, cleanup), and it's a pretty noticeable difference

    the confusing part is that the MSFT documentation says we should install all LCUs one by one in the same folder, not just the highest one
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. asdddsa101

    asdddsa101 MDL Member

    Feb 11, 2021
    121
    41
    10
    Before 24H2, we only need to install only one latest cumulative update. But because of the existence of checkpoint update, we may have to install multiple cumulative updates now.
     
  11. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,941
    4,166
    60
    as i already said, you have 2 choices:
    1. install all LCUs one by one with dism or double click for online system - larger install.wim filesize, takes very long time, documented MSFT way
    2. put all LCUs in one folder, install / integrate only the highest one with dism - smaller install.wim filesize, x3 times faster operation, not documented

    all of this breaks the FoDs update if cleanup was applied, msft said we should just reinstall all LCUs one by one again, but it makes no sense because cleanup is useless now
    and cleanup isn't working now if only the highest LCU was integrated, it was fine on the Dev channel
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Tarsynear

    Tarsynear MDL Senior Member

    Jan 4, 2021
    303
    123
    10
    #3272 Tarsynear, Sep 26, 2024
    Last edited: Sep 26, 2024
    W10UI_10.45r
    Cleanup =1
    ResetBase =1

    26100.1742 KB5043080 Staged
    26100.1876 KB5043178 Installed

    same for FoDs like

    Microsoft-Windows-Notepad-FoD-Package-Wrapper~31bf3856ad364e35~amd64~~10.0.26100.1742 Staged
    Microsoft-Windows-Notepad-FoD-Package-Wrapper~31bf3856ad364e35~amd64~~10.0.26100.1876 Installed

    same

    o_O toooooo slow
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. ЯƎHTͶAꟼ

    ЯƎHTͶAꟼ MDL Senior Member

    Jan 29, 2017
    350
    95
    10
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,775
    340
  15. ЯƎHTͶAꟼ

    ЯƎHTͶAꟼ MDL Senior Member

    Jan 29, 2017
    350
    95
    10
    ... Even more mess... absolute scary...just can shake my head about this all.
    Anyway, I'm just glad that people like you and other here and around world helping people to fix that.
    I already was thinking about,but could not find, is there any option to donate to support your work?

    Yea I'm used to to ignore, like in the world out there readmes and notes are never that much important.
    I learned here and will read (at least for stuff like here) read every single line from now on.

    Thanks a lot once again. I just wish I found earlier.. anyway, now its saving me from more headaches.
    I was like already questioning myself and raged about those errors, could not find what it was..
     
  16. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,941
    4,166
    60
    #3276 Paul Mercer, Sep 28, 2024
    Last edited: Sep 28, 2024
    MSFT released X23-81951_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso
    seems like it was cleaned, can't find original 26100.1 packages there (except FoDs specific)

    W10MUI + the latest W10UI + ru-ru language + 26100.1876 will not work
    you can't integrate only the highest LCU, but it works if you set path to the folder with LCU MSU

    seems like we shouldn't just integrate the highest one, it leads to weird FoDs update issues


    please release new test version of W10UI which integrates LCUs as
    Code:
    dism /Image:F:\mount /Add-Package /PackagePath:"F:\UUPs"
    and LCU reinstallation should be the same way


    p.s. original post https://forums.mydigitallife.net/posts/1853723
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,775
    340
    Why not one by one, each in a separate folder?
    this way, Dism will not be able to find all LCUs and extract them for each LCU sandbox, which is an extensive process
     
  18. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,941
    4,166
    60
    #3278 Paul Mercer, Sep 29, 2024
    Last edited: Sep 29, 2024
    I didn't tested this, will try it soon


    1. W10MUI without updates
    Code:
    ============================================================
    Running W10MUI v24.4
    ============================================================
    
    ============================================================
    Prepare work directories
    ============================================================
    
    
    ============================================================
    Detect language packs details
    ============================================================
    
    ru-RU: 64-bit {x64} - 26100
    
    ============================================================
    Copy Distribution contents to work directory
    ============================================================
    
    Source Path:
    "X23-81951_26100.1742.240906-0331.ge_release_svc_refresh_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso"
    
    ============================================================
    Detect install.wim details
    ============================================================
    
    Build: 26100
    Count: 1 Image(s)
    Arch : 64-bit
    
    ============================================================
    Set WinPE language packs paths
    ============================================================
    
    ru-RU / 64-bit
    
    ============================================================
    Extract language packs
    ============================================================
    
    ru-RU / 64-bit
    
    ============================================================
    Mount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Microsoft-Windows-LanguageFeatures-Basic-ru-ru-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 3 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-ru-ru-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 3 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-ru-ru-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 3 - Adding package Microsoft-Windows-LanguageFeatures-OCR-ru-ru-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 7 - Adding package Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 7 - Adding package Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 7 - Adding package Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 7 - Adding package Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 5 of 7 - Adding package Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 6 of 7 - Adding package Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 7 of 7 - Adding package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~ru-RU~11.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 4 - Adding package Microsoft-Windows-Printing-PMCPPC-FoD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 4 - Adding package Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 4 - Adding package Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 4 - Adding package Microsoft-Windows-SnippingTool-FoD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 5 - Adding package Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Microsoft-Windows-WMIC-FoD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Microsoft-Windows-WMIC-FoD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 7 - Adding package Microsoft-Windows-ProjFS-OptionalFeature-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 7 - Adding package Microsoft-Windows-Telnet-Client-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 7 - Adding package Microsoft-Windows-TFTP-Client-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 7 - Adding package Microsoft-Windows-VBSCRIPT-FoD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 5 of 7 - Adding package Microsoft-Windows-VBSCRIPT-FoD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 6 of 7 - Adding package Microsoft-Windows-WinOcr-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 7 of 7 - Adding package Microsoft-Windows-WinOcr-FOD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 7 - Adding package Microsoft-Windows-DirectoryServices-ADAM-Client-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 7 - Adding package Microsoft-Windows-DirectoryServices-ADAM-Client-FOD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 7 - Adding package Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 7 - Adding package Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package~31bf3856ad364e35~wow64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 5 of 7 - Adding package Microsoft-Windows-SenseClient-FoD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 6 of 7 - Adding package Microsoft-Windows-SimpleTCP-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 7 of 7 - Adding package Microsoft-Windows-SmbDirect-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Update winre.wim / amd64
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Mount winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 2 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package WinPE-SRT-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 3 - Adding package WinPE-HTA-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 3 - Adding package WinPE-Rejuv-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 3 - Adding package WinPE-StorageWMI-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmount winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10MUITEMP\WR\amd64\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add updated winre.wim to install.wim - index 1/1
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Unmount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10MUI_24_4\_DVD10\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 2 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package WinPE-SRT-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    [===========================80.0%==============            ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10MUI_24_4\_DVD10\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 2 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package WinPE-SRT-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 2 - Adding package WinPE-Setup-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package WinPE-Setup-Client-Package~31bf3856ad364e35~amd64~ru-RU~10.0.26100.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    [===========================80.0%==============            ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10MUI_24_4\_DVD10\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild boot.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add language files to distribution
    ============================================================
    
    ru-RU / 64-bit
    
    ============================================================
    Create ISO file
    ============================================================
    
    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 (1000 files in 100 directories)
    Scanning source tree complete (1023 files in 104 directories)
    
    Computing directory information complete
    
    Image file is 5173444608 bytes (before optimization)
    
    Writing 1023 files in 104 directories to 26100.1742.240906-0858.GE_RELEASE_SVC_PROD1_CLIENT_X64FRE_EN_RU.iso
    
    100% complete
    
    Storage optimization saved 28 files, 14370816 bytes (1% of image)
    
    After optimization, image file is 5161416704 bytes
    Space saved because of embedding, sparseness or optimization = 14370816
    
    Done.
    
    ============================================================
    Remove temporary directories
    ============================================================
    
    
    ============================================================
    Finished
    ============================================================
    
    
    Press 0 to exit.

    2. install.wim
    Code:
    C:\Users\unkno>dism /Mount-Wim /wimfile:F:\zDone\install.wim /index:1 /mountdir:F:\zDone\1\mount /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\UUPs\SSU-26100.1871-x64.cab" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\UUPs\Windows11.0-KB5042098-x64-NDP481.cab" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9266.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\LCU1\Windows11.0-KB5043080-x64.msu" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\LCU2\Windows11.0-KB5043178-x64.msu" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    C:\Users\unkno>dism /Unmount-Wim /MountDir:F:\zDone\1\mount /commit /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\zDone\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.

    3. boot.wim
    Code:
    C:\Users\unkno>dism /Mount-Wim /wimfile:F:\zDone\boot.wim /index:1 /mountdir:F:\zDone\1\mount /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\UUPs\SSU-26100.1871-x64.cab" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\LCU1\Windows11.0-KB5043080-x64.msu" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\LCU2\Windows11.0-KB5043178-x64.msu" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    C:\Users\unkno>dism /Unmount-Wim /MountDir:F:\zDone\1\mount /commit /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\zDone\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\unkno>dism /Mount-Wim /wimfile:F:\zDone\boot.wim /index:2 /mountdir:F:\zDone\1\mount /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\UUPs\SSU-26100.1871-x64.cab" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1871~31bf3856ad364e35~amd64~~26100.1871.1.11
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1871 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\LCU1\Windows11.0-KB5043080-x64.msu" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    C:\Users\unkno>dism /Image:F:\zDone\1\mount /Add-Package /PackagePath:"F:\zDone\LCU2\Windows11.0-KB5043178-x64.msu" /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    C:\Users\unkno>dism /Unmount-Wim /MountDir:F:\zDone\1\mount /commit /English
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\zDone\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.

    works fine

    but I also remember this for LCU reinstallation


    If I understand correctly:
    1. we should integrate all LCUs one by one from different folders
    2. we should set path to a folder with LCUs for LCU reinstallation after cleanup (netfx35) or just set several LCUs in /PackagePath

    p.s. would be nice to have an option Net35=2 to integrate netfx35 with multiple LCUs, just for testing
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,775
    340
    Another approch i'm considering

    unlike previous W11 versions, 24H2 servicing stack is capable to hydrate (generate) reverse deltas by itself
    that means, we can extract inner wim+psf (needs updated PSFExtractor) to a folder, and add it directly with Dism, instead the mess with msu and UpdateAgent

    and of course, install all LCUs one by one from lowest to highest

    i tested briefly with Dev 961 / 1252, and it's way faster and better than adding msu
    it would be also faster for multiple integrations (multi-index install.wim + boot.wim), as we only need to extract it once
     
  20. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    576
    268
    30
    @abbodi1406
    Sorry for the inconvenience, I know very well that this is not the topic for this.

    but I kindly ask you if it is possible that you could perhaps adjust and compile this tool.. Wintoolkit was a great tool for modification, but until now the creator seems to have decided to abandon the project, only its source code remains on github:

    https://github.com/Legolash2o/WinToolkit_v2