abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    Which approch is better for W10UI (and uup-converter)?

    1) Detect and rename SSUs per version:
    - the lower version(s) will not be processed or extracted
    - the highest version will be the only one processed and installed
    - works only with SSU-*.cab files (inner or outer) = builds 17763+
    Code:
    8/10: SSU-00960-KB5039320-x64.cab [SSU] - Skipped
    8/10: SSU-01251-KB5040553-x64.cab [SSU] - Skipped
    9/10: SSU-01350-KB5041870-x64.cab [SSU]
    
    2) Keep the current structure and detect SSU versions internally:
    - all SSUs will be processed and extracted
    - the highest version will be the only one installed
    - works with any SSU file name = all builds
    Code:
    7/10: Windows11.0-KB5039320-x64_inout.cab [SSU]
    8/10: Windows11.0-KB5040553-x64_inout.cab [SSU]
    9/10: Windows11.0-KB5041870-x64_inout.cab [SSU]
    
     
  2. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    SSU filesize is very small, so overhead is negligible
    I prefer the second variant

    But it doesn't matter, you should choose the simpliest variant to implement and maintain in the future
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,771
    7,713
    210
    Yes, second variant. Additionally to the arguments from @Paul Mercer, this would avoid the need for a special handling (or even a separate version) of pre-17763 versions.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    There won't be separate version
    pre-17763 SSUs had been always handled normally (added first alone, even if multiple versions)

    it's Win11 that causes all the headache
     
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,771
    7,713
    210
    So true, so true...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,534
    450
    Code:
    
    === Running UUP Converter v108 ===
    
    === Checking UUP Info . . .
    
    === Configured Options . . .
    
    AutoStart 1
    AddUpdates 1
    Cleanup
    ResetBase
    DisableUpdatingUpgrade
    NetFx3
    
    === Parsing Apps CompDB . . .
    
    === Preparing Reference ESDs . . .
    
    cabs_HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package-amd64
    cabs_Microsoft-Edge-WebView-FOD-Package-amd64
    cabs_Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
    cabs_Microsoft-OneCore-DirectX-Database-FOD-Package-amd64
    cabs_Microsoft-Windows-DirectoryServices-ADAM-Client-FOD-Package-amd64
    cabs_Microsoft-Windows-DirectoryServices-ADAM-Client-FOD-Package-wow64
    cabs_Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package-amd64
    cabs_Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package-wow64
    cabs_Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package-amd64
    cabs_Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package-amd64
    cabs_Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package-amd64
    cabs_Microsoft-Windows-Ethernet-Client-Vmware-Vmxnet3-FOD-Package-amd64
    cabs_Microsoft-Windows-FoDMetadata-Package
    cabs_Microsoft-Windows-Hello-Face-Package-amd64
    cabs_Microsoft-Windows-InternetExplorer-Optional-Package-amd64
    cabs_Microsoft-Windows-Kernel-LA57-FoD-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-Basic-en-us-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package-amd64
    cabs_Microsoft-Windows-MediaPlayer-Package-amd64
    cabs_Microsoft-Windows-MediaPlayer-Package-wow64
    cabs_Microsoft-Windows-Notepad-System-FoD-Package-amd64
    cabs_Microsoft-Windows-Notepad-System-FoD-Package-wow64
    cabs_Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64
    cabs_Microsoft-Windows-PowerShell-ISE-FOD-Package-wow64
    cabs_Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64
    cabs_Microsoft-Windows-ProjFS-OptionalFeature-FOD-Package-amd64
    cabs_Microsoft-Windows-SenseClient-FoD-Package-amd64
    cabs_Microsoft-Windows-SimpleTCP-FOD-Package-amd64
    cabs_Microsoft-Windows-SmbDirect-FOD-Package-amd64
    cabs_Microsoft-Windows-StepsRecorder-Package-amd64
    cabs_Microsoft-Windows-StepsRecorder-Package-wow64
    cabs_Microsoft-Windows-TabletPCMath-Package-amd64
    cabs_Microsoft-Windows-Telnet-Client-FOD-Package-amd64
    cabs_Microsoft-Windows-TerminalServices-AppServer-Client-FOD-Package-amd64
    cabs_Microsoft-Windows-TerminalServices-AppServer-Client-FOD-Package-wow64
    cabs_Microsoft-Windows-TFTP-Client-FOD-Package-amd64
    cabs_Microsoft-Windows-VBSCRIPT-FoD-Package-amd64
    cabs_Microsoft-Windows-VBSCRIPT-FoD-Package-wow64
    cabs_Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Intel-Netwtw10-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package-amd64
    cabs_Microsoft-Windows-WinOcr-FOD-Package-amd64
    cabs_Microsoft-Windows-WinOcr-FOD-Package-wow64
    cabs_OpenSSH-Client-Package-amd64
    
    === Creating Setup Media Layout . . .
    
    === Creating install.wim . . .
    
    Using LZX compression with 16 threads
    Archiving file data: 6966 MiB of 6966 MiB (100%) done
    Using LZX compression with 16 threads
    Archiving file data: 401 MiB of 401 MiB (100%) done
    
    === Updating install.wim / 2 image{s} . . .
    
    1/1: Windows11.0-KB5041170-x64-NDP481.cab [NetFx]
    
    === Servicing Index: 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding Microsoft Edge . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    The operation completed successfully.
    
    === Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.Services.Store.Engagement.x64
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.UI.Xaml.x64.2.8
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsAppRuntime.x64.1.3
    Microsoft.WindowsAppRuntime.x64.1.4
    Microsoft.WindowsAppRuntime.x64.1.5
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingSearch_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.ZuneMusic_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.ApplicationCompatibilityEnhancements_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.StartExperiencesApp_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.Todos_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.GamingApp_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.WebMediaExtensions_8wekyb3d8bbwe
    Microsoft.RawImageExtension_8wekyb3d8bbwe
    Microsoft.HEIFImageExtension_8wekyb3d8bbwe
    Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
    Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
    Microsoft.AV1VideoExtension_8wekyb3d8bbwe
    Microsoft.AVCEncoderVideoExtension_8wekyb3d8bbwe
    Microsoft.MPEG2VideoExtension_8wekyb3d8bbwe
    Microsoft.WebpImageExtension_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    MicrosoftWindows.CrossDevice_cw5n1h2txyewy
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    Microsoft.OutlookForWindows_8wekyb3d8bbwe
    MSTeams_8wekyb3d8bbwe
    Microsoft.Windows.DevHome_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding Updates . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9261.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Processing NetFx3 feature
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9261.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image File : C:\Users\Enthousiast\Downloads\Compressed\27686.1000_amd64_en-us_multi_8afa0828_convert\ISOFOLDER\sources\install.wim
    Image Index : 1
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Servicing Index: 2
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding Microsoft Edge . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    The operation completed successfully.
    
    === Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.Services.Store.Engagement.x64
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.UI.Xaml.x64.2.8
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsAppRuntime.x64.1.3
    Microsoft.WindowsAppRuntime.x64.1.4
    Microsoft.WindowsAppRuntime.x64.1.5
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingSearch_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.ZuneMusic_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.ApplicationCompatibilityEnhancements_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.StartExperiencesApp_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.Todos_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.GamingApp_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.WebMediaExtensions_8wekyb3d8bbwe
    Microsoft.RawImageExtension_8wekyb3d8bbwe
    Microsoft.HEIFImageExtension_8wekyb3d8bbwe
    Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
    Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
    Microsoft.AV1VideoExtension_8wekyb3d8bbwe
    Microsoft.AVCEncoderVideoExtension_8wekyb3d8bbwe
    Microsoft.MPEG2VideoExtension_8wekyb3d8bbwe
    Microsoft.WebpImageExtension_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    MicrosoftWindows.CrossDevice_cw5n1h2txyewy
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    Microsoft.OutlookForWindows_8wekyb3d8bbwe
    MSTeams_8wekyb3d8bbwe
    Microsoft.Windows.DevHome_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding Updates . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9261.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Processing NetFx3 feature
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.27686.1000
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9261.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image File : C:\Users\Enthousiast\Downloads\Compressed\27686.1000_amd64_en-us_multi_8afa0828_convert\ISOFOLDER\sources\install.wim
    Image Index : 2
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Rebuilding install.wim . . .
    
    "ISOFOLDER\sources\install.wim" original size: 3655117 KiB
    Using LZX compression with 16 threads
    Archiving file data: 8580 MiB of 8580 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3509470 KiB
    Space saved: 145647 KiB
    
    === Creating winre.wim . . .
    
    Using LZX compression with 16 threads
    Archiving file data: 1169 MiB of 1169 MiB (100%) done
    
    === Adding winre.wim to install.wim . . .
    
    === Creating boot.wim . . .
    
    === Removing temporary files . . .
    
    === Creating ISO . . .
    
    OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2012. All rights reserved.
    Licensed only for producing Microsoft authorized content.
    
    
    Scanning source tree (500 files in 43 directories)
    Scanning source tree complete (961 files in 88 directories)
    
    Computing directory information complete
    
    Image file is 4815290368 bytes (before optimization)
    
    Writing 961 files in 88 directories to 27686.1000.240809-2254.RS_PRERELEASE_CLIENTMULTI_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 51 files, 19691520 bytes (1% of image)
    
    After optimization, image file is 4797839360 bytes
    Space saved because of embedding, sparseness or optimization = 19691520
    
    Done.
    
    Finished.
    Press 0 or q to exit.
    
    
    Code:
    ====================== W10UI v10.45 =======================
    [1] Target (x64): "E:\W10UI_LTSC_2024_26100\Work"
    
    [2] Updates: "E:\W10UI_LTSC_2024_26100\Updates"
    
    [3] DISM: "Windows NT 10.0 ADK"
    
    [4] Enable .NET 3.5: YES
    
    [5] Cleanup System Image: YES      [6] Reset Image Base: YES
    
    [7] Update WinRE.wim: YES
    
    [8] install.wim selected indexes: 1 / [K] Keep indexes: Selected
    
    [M] Mount Directory: "c:\W10UImount_20123"
    
    [E] Extraction Directory: "E:\W10UItemp_29776"
    
    ============================================================
    Change a menu option, press 0 to start the process, or 9 to exit:
    
    Code:
    ============================================================
    Running W10UI v10.45
    ============================================================
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files...
    ============================================================
    
    1/1: windows11.0-kb5041571-x64_LCU_1457.1.20.msu [Combined UUP]
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/5: defender-dism-x64_steven4554_Aug_16_2024.cab
    2/5: windows11.0-kb5041178-x64_DU_Sources_1297.cab [Setup DU]
    3/5: windows11.0-kb5041979-x64_DU_SafeOS_1287.1.0.cab [SafeOS DU]
    4/5: Windows11.0-KB5042098-x64-NDP481_CU_9266.1.cab [NetFx]
    5/5: Windows11.0-KB5041575-x64_inout.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/3
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 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.1
    
    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-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    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.1
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1457
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    ============================================================
    Adding Defender update...
    ============================================================
    
    Platform  : 4.18.24070.5
    Engine    : 1.1.24070.3
    Signatures: 1.417.155.0
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1457
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1457
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9266.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1457
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 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.1
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26100.1287.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image File : E:\W10UI_LTSC_2024_26100\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
            1 file(s) copied.
    
    ============================================================
    Unmounting sources\install.wim - index 1/3
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    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.1
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1457
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image File : E:\W10UI_LTSC_2024_26100\Work\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.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    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.1
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.26100.1457
    
    [===========================70.0%========                  ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image File : E:\W10UI_LTSC_2024_26100\Work\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows11.0-kb5041178-x64_DU_Sources_1297.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "E:\W10UI_LTSC_2024_26100"
    
    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 45 directories)
    Scanning source tree complete (961 files in 89 directories)
    
    Computing directory information complete
    
    Image file is 5507579904 bytes (before optimization)
    
    Writing 961 files in 89 directories to 26100.1457.240810-0546.GE_RELEASE_SVC_PROD1_CLIENT_X64FRE_EN-US.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14342144 bytes (1% of image)
    
    After optimization, image file is 5495416832 bytes
    Space saved because of embedding, sparseness or optimization = 14342144
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.
    
    
     
  8. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    #3128 Paul Mercer, Aug 21, 2024
    Last edited: Aug 21, 2024
    why at "Resetting OS image base..." stage DisableResetbase = 1 for builds 25380+ now?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    Precaution

    25380 is where the dism cleanup issues started
     
  10. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    ok, I just thought you found something different with resetbase, I didn't
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Clusterhead

    Clusterhead MDL Novice

    Mar 29, 2013
    33
    27
    0
    #3131 Clusterhead, Aug 21, 2024
    Last edited: Aug 21, 2024
    Works for me without any glitch....so far.:D

    EDIT:
    Reinstallation after .NET 3.5 causes problems...at least that's what it looks like. Has been stuck at 80% for what feels like an eternity......
     
  12. Jens1976

    Jens1976 MDL Novice

    Apr 23, 2016
    8
    7
    0
    ok, I have the same problem as Clusterhead. Dism has some kind of problem, the CPU load goes up to over 90%. Somehow I can't find a way to attach the log file...
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    maybe i'll skip LCU reinstallation for 24H2
    not sure if Windows Update will offer it later

    in previous versions (10.44 & 107z) i add all LCUs together for reinstallation
    now, i just add the latest LCU, assuming dism will handle the rest and identify lower LCUs
     
  14. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    #3134 Paul Mercer, Aug 22, 2024
    Last edited: Aug 22, 2024
    logs https://pixeldrain.com/u/joRgRKKF
    100% CPU usage when reinstalling LCU

    so maybe you could add it back for testing purposes?


    W10UI_10.44 is working fine with build 26120.1542
    it's documented to set the path to a folder with LCU, so to install it one by one, and it works
    installation time is very long, install.wim filesize is larger as well

    or maybe we should try "adding all LCU together"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    There is no need for the one by one or install them all, more time, more size
    adding highest LCU msu only is the correct step

    as for reinstallation after NetFx3, i found a much simple and easy workaround:
    expand the highest LCU inner .wim file (no need for extracting the .psf), and install it normally via update.mum
    Code:
    >Dism /Image:D:\Mount /Add-Package /PackagePath:W:\11\uc\26100\3\Windows11.0-KB5039417-x64.msu /LogLevel:1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    >Dism /Image:D:\Mount /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:W:\Data\Programs\ISO\sxs
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.26100.3
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    >md W:\11\uc\26100\_tmp
    
    >Dism /Apply-Image /ImageFile:W:\11\uc\26100\3\Windows11.0-KB5039417-x64.wim /Index:1 /ApplyDir:"W:\11\uc\26100\_tmp" /NoAcl:all
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Applying image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    >Dism /Image:D:\Mount /Add-Package /PackagePath:W:\11\uc\26100\_tmp\update.mum
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.26100.3
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.3.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    it only took < 1 minute to expand and install (later versions will take little longer being bigger and more packages)
    it's known that LCU doesn't include or install any NetFx3 files, so no payload is required, it just parse the applicable packages

    the LCU only include updated version of Microsoft-Windows-NetFx3-OnDemand-Package + Wrapper
    but it always deploy the same inbox .1 packages

    i'll updated the script to add this workaround after further testing with checkpoint LCUs
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    I knew it was too good to be true

    it does't work with checkpoint LCUs
    because highest LCU require its base version of Microsoft-Windows-NetFx3-OnDemand-Package (e.g. 1252), not the RTM version .1
    we would need to reinstall or restage the base LCU... if that possible
     
  17. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    let's just skip the LCU reinstall and I'll install this ISO in the VM and see if WU reinstalls it

    how to edit W10UI to skip it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    delete this line
    Code:
    %_dism2%:"!_cabdir!" %dismtarget% /LogPath:"%_dLog%\DismNetFx3.log" /Add-Package %msulcu%
    i think WU will reinstall it
    because it include Microsoft-Windows-NetFx3-OnDemand-Package + Wrapper since W11 22H2
    while the package doesn't install anything, it's still part of the LCU
     
  19. TS2008

    TS2008 MDL Junior Member

    Mar 24, 2015
    77
    79
    0
    The update comes via the WU, but the installation only works if no offline cleanup has been executed (26120).
     
  20. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    so it's not an option to skip it
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...