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,792
    340
    Yeah, i now remembered that W10UI (and convert-uup) gets the date/time from LCU update.mum before integration, so it should be always correct

    restoring original timestamp for Package_for_RollupFix*.mum file after integration will not be hard
     
  2. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    #2042 Paul Mercer, Jul 15, 2022
    Last edited: Jul 15, 2022
    I also have found some glitch with W10UI when there's only Defender and .NET updates are integrated

    for example:
    1. base image (AutoStart=1) - 25158.1000.220708-1401.RS_PRERELEASE_CLIENTPRO_OEMRET_X64FRE_EN-US
    2. W10UI with Defender, Net35=1 and net48 update - 25158.1000.220716-0245.RS_PRERELEASE_CLIENT_X64FRE_EN-US

    somehow filename is with current date and time again

    ____
    back to my original issue
    Code:
    ============================================================
    Running UUP -> ISO v81
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    AddUpdates 1
    Cleanup
    ResetBase
    NetFx3
    
    ============================================================
    Parsing Apps CompDB . . .
    ============================================================
    
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
    Microsoft-OneCore-DirectX-Database-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Vmware-Vmxnet3-FOD-Package-amd64
    Microsoft-Windows-FoDMetadata-Package
    Microsoft-Windows-Hello-Face-Package-amd64
    Microsoft-Windows-InternetExplorer-Optional-Package-amd64
    Microsoft-Windows-Kernel-LA57-FoD-Package-amd64
    Microsoft-Windows-LanguageFeatures-Basic-en-us-Package-amd64
    Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package-amd64
    Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64
    Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-amd64
    Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package-amd64
    Microsoft-Windows-MediaPlayer-Package-amd64
    Microsoft-Windows-MediaPlayer-Package-wow64
    Microsoft-Windows-Notepad-System-FoD-Package-amd64
    Microsoft-Windows-Notepad-System-FoD-Package-wow64
    Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64
    Microsoft-Windows-PowerShell-ISE-FOD-Package-wow64
    Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64
    Microsoft-Windows-StepsRecorder-Package-amd64
    Microsoft-Windows-StepsRecorder-Package-wow64
    Microsoft-Windows-TabletPCMath-Package-amd64
    Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw10-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8187se-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package-amd64
    Microsoft-Windows-WMIC-FoD-Package-amd64
    Microsoft-Windows-WMIC-FoD-Package-wow64
    Microsoft-Windows-WordPad-FoD-Package-amd64
    Microsoft-Windows-WordPad-FoD-Package-wow64
    OpenSSH-Client-Package-amd64
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 6694 MiB of 6694 MiB (100%) done
    
    ============================================================
    Creating Cumulative Update MSU . . .
    ============================================================
    
    Extracting required files...
    
    Creating: DesktopDeployment_x86.cab
    
    Creating: onepackage.AggregatedMetadata.cab
    
    Creating: Windows11.0-KB5016322-x64.msu
    
    ============================================================
    Updating install.wim / 1 image(s) . . .
    ============================================================
    
    1/6: Windows11.0-KB5016322-x64.msu [Combined UUP]
    2/6: SSU-25151.1010-x64.cab [SSU]
    3/6: Windows10.0-KB5016323-x64.cab
    4/6: Windows10.0-KB5016324-x64.cab [WinPE]
    5/6: Windows10.0-KB5016325-x64.cab [Setup DU]
    6/6: Windows10.0-KB5016327-x64.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.1.3
    Microsoft.NET.Native.Framework.x64.1.7
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.1.4
    Microsoft.NET.Native.Runtime.x64.1.7
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.UI.Xaml.x64.2.1
    Microsoft.UI.Xaml.x64.2.3
    Microsoft.UI.Xaml.x64.2.4
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    microsoft.windowscommunicationsapps_8wekyb3d8bbwe
    Microsoft.People_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.ZuneMusic_8wekyb3d8bbwe
    Microsoft.ZuneVideo_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_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.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.Todos_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.GamingApp_8wekyb3d8bbwe
    Microsoft.XboxGameOverlay_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_8wekyb3d8bbwe
    Microsoft.Getstarted_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.WindowsMaps_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.WebpImageExtension_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    Microsoft.549981C3F5F10_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Updates . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1000
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1010~31bf3856ad364e35~amd64~~25151.1010.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1010 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.22000.653
    
    Image Version: 10.0.25151.1000
    
    Processing 1 of 2 - Adding package Package_for_KB5016323~31bf3856ad364e35~amd64~~25151.1010.1.0
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_KB5016327~31bf3856ad364e35~amd64~~25151.1010.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows11.0-KB5016322-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1000
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1010
    
    [=====                      10.0%                          ]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1010
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1010
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : F:\1\uup-converter-wimlib-81f\ISOFOLDER\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "ISOFOLDER\sources\install.wim" original size: 3414382 KiB
    Using LZX compression with 8 threads
    Archiving file data: 7798 MiB of 7798 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3280451 KiB
    Space saved: 133930 KiB
    
    ============================================================
    Adding setup dynamic update(s) . . .
    ============================================================
    
    Windows10.0-KB5016325-x64.cab
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 1181 MiB of 1181 MiB (100%) done
    
    ============================================================
    Updating winre.wim / 1 image(s) . . .
    ============================================================
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1000
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1010~31bf3856ad364e35~amd64~~25151.1010.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1010 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.22000.653
    
    Image Version: 10.0.25151.1000
    
    Processing 1 of 1 - Adding package Package_for_KB5016324~31bf3856ad364e35~amd64~~25151.1010.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1000
    
    Processing 1 of 1 - Adding package Package_for_KB5016323~31bf3856ad364e35~amd64~~25151.1010.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows11.0-KB5016322-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1000
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25151.1010
    
    [==============             24.5%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : F:\1\uup-converter-wimlib-81f\temp\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Using LZX compression with 8 threads
    Archiving file data: 1260 MiB of 1260 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\boot.wim" original size: 546463 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1310 MiB of 1310 MiB (100%) done
    "ISOFOLDER\sources\boot.wim" optimized size: 499791 KiB
    Space saved: 46672 KiB
    
    ============================================================
    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 (947 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 4631822336 bytes (before optimization)
    
    Writing 947 files in 86 directories to 25151.1010.220627-0317.RS_PRERELEASE_FLT_CLIENTPRO_OEMRET_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 24 files, 14135296 bytes (1% of image)
    
    After optimization, image file is 4619841536 bytes
    Space saved because of embedding, sparseness or optimization = 14135296
    
    Done.
    Finished.
    
    
    ============================================================
    Removing temporary files . . .
    ============================================================
    
    Press 0 to exit.

    larger screenshot is here — https://imgur.com/a/efMmXxS
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,792
    340
    It's not a glitch
    Code:
    if not defined isodate set "isodate=%_date:~2,6%-%_date:~8,4%"
    no LCU = no isodate = current date
    because with W10 era, LCU logically should exist with any updates :)

    maybe i could get the timestamp of microsoft-windows-coreos-revision .manifest
     
  4. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    got it, thank you

    I've updated my previous post with conversion log and screenshot of mum file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,792
    340
    Thanks
    could you check it inside boot.wim too?

    i don't think the issue is because of self-created MSU, i.e. it would be the same with original MSU
     
  6. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    yes, the same thing with boot.wim in two indexes
    screenshots — https://imgur.com/a/hw7cZ6H
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Solarsails

    Solarsails MDL Junior Member

    Jan 6, 2016
    74
    33
    0
    Excellent and current. Thank you.
    Do you use any sort of scheduled synchronization software to update these or do you do it manually?
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,792
    340
    Mostly manually
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #2049 inTerActionVRI, Jul 17, 2022
    Last edited: Jul 17, 2022
    @abbodi1406,

    I'm doing tests at Custom Toolkit.
    And, an unusual problem appeared.


    If possible, I need a tip with a problem here...

    Updates List from UUPDump:
    Code:
    SSU-17763.3100-x64.cab
    Windows10.0-KB4506578-x64.cab
    Windows10.0-KB5005545-x64.cab
    Windows10.0-KB5015811-x64.cab
    
    Image Default Lang:
    pt-BR
    Image Editions:
    Home (Core)
    Professional

    Code:
    ===============================================================================
                       MSMG Toolkit - Integrate WHD General Updates
                    to Windows Setup Boot, Install & Recovery Images
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ##################Starting Integrating WHD General Updates#####################
    ##############to Windows Setup Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
        Image                    : boot.wim         |  install.wim   |  WinRE.wim
        Image Index              : 1, 2             |      1;2         |      1
        Image Architecture       : x64
        Image Version            : 10.0.17763.1.0
    
    -------------------------------------------------------------------------------
    ####Processing WHD General Updates Packages####################################
    -------------------------------------------------------------------------------
    
    Creating WHD General Updates Temporary folder...
    
    Extracting Update Package files to Temporary folder...
    
    Finished Extracting Update Package files to Temporary folder...
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Boot Image################
    -------------------------------------------------------------------------------
    
    =============================[boot.wim, Index : 1]=============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3165.1.8
    [==========================100.0%==========================]
    The operation completed successfully.
    
    =============================[boot.wim, Index : 2]=============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3165.1.8
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Safe OS Dynamic Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_KB4506578~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Dynamic Update for Sources...
    -------------------------------------------------------------------------------
    
    Copying Windows 10 Dynamic Update for Sources to <DVD> folder.
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Install Image#############
    -------------------------------------------------------------------------------
    
    
    ===============================================================================
                [install.wim, Index :  1 - Edition : Core]
    ===============================================================================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    An error occurred trying to open - C:\TK\TMP\Updates\Cumulative Error: 0x800f0823
    The specified package cannot be added to this Windows Image due to a version mismatch.
    Update the Windows image and try the operation again.
    
    Error: 0x800f0823
    
    The specified package cannot be added to this Windows Image due to a version mismatch.
    Update the Windows image and try the operation again.
    
    The DISM log file can be found at C:\TK\Logs\Dism.txt
    
    
    
    ===============================================================================
                [install.wim, Index :  2 - Edition : Professional]
    ===============================================================================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3165.1.8
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Recovery Image############
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Safe OS Dynamic Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_KB4506578~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Generating WHD General Updates Integration Log File...
    -------------------------------------------------------------------------------
    
    Writing WHD General Updates Integration Log.
    
    -------------------------------------------------------------------------------
    ####Cleaning Up Temporary files & Folders######################################
    -------------------------------------------------------------------------------
    
    Cleaning Up WHD General Updates Temporary folder.
    
    -------------------------------------------------------------------------------
    ##################Finished Integrating WHD General Updates#####################
    ##############to Windows Setup Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    


    DISM log:
    Code:
    2022-07-17 01:33:17, Info                  CBS    Build: 17763.1.amd64fre.rs5_release.180914-1434
    2022-07-17 01:33:17, Info                  CBS    Session: 10896_358621390 initialized by client DISM Package Manager Provider, external staging directory: (null), external registry directory: (null
    2022-07-17 01:33:18, Error                 CBS    Package "Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3165.1.8" requires Servicing Stack v10.0.17763.2090 but current Servicing Stack is v10.0.17763.1. [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]
    2022-07-17 01:33:18, Info                  CBS    Failed to initialize internal package [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]
    2022-07-17 01:33:18, Error                 CBS    Failed to create internal package [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]
    2022-07-17 01:33:18, Info                  CBS    Failed to create windows update package [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]
    
    Problems I'm facing:
    All integration occurs, but finally, in Core, an error occurs when integrating the CU.
    Here it requires SSU-17763.2090-x64.cab, but identifies after the integration of SSU-17763.3100-x64.CAB that I am still in the service stack is v10.0.0.17763.1.
    This does not occur in the Professional Edition.

    What could I do here?
    Or do you have anything that should be present on the update package list?
    Should I add any command to read a new data from the new SSU applied to Index?

    I thank you in advance for your help.
    I am testing with Aria2C (using custom "uup_download_windows.cmd") for automatic download from UUPDump updates directly in the "WHD\OS\Arch\MainBuildVersion" folders of the Toolkit structure.
     
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #2051 inTerActionVRI, Jul 17, 2022
    Last edited: Jul 17, 2022
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,792
    340
    Don't use Core edition anymore, it's not supported by SSU or LCU
     
  12. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    I did not test for, 19041.1 Core yet. Does this only happen to 17763 Core? Or for all Build Core Editions?
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,792
    340
    19041 Core still supported
    all builds before are not
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,792
    340
    W10UI v10.20

    uup-converter v82

    - Implemented workaround to restore original timestamp for Package_for_RollupFix .mum when integrated via MSU file, for builds 22621 and later

    thanks to @Paul Mercer for reporting and testing
     
  15. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    So I will put some conditions to avoid the attempt to integrate SSU and LCU in the Build Core Editions below 19041.

    Very grateful, man!
     
  16. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #2057 inTerActionVRI, Jul 17, 2022
    Last edited: Jul 18, 2022
    I put information about the integration of CU and LCU on the core editions below 19041.
    For SSU this is working. I left it. But if there is against indications, I remove this SSU integration as well.
    Code:
    ===============================================================================
                       MSMG Toolkit - Integrate WHD General Updates
                    to Windows Setup Boot, Install & Recovery Images
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ##################Starting Integrating WHD General Updates#####################
    ##############to Windows Setup Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
        Image                    : boot.wim         |  install.wim   |  WinRE.wim
        Image Index              : 1, 2             |      1;2         |      1
        Image Architecture       : x64
        Image Version            : 10.0.17763.1.0
    
    -------------------------------------------------------------------------------
    ####Processing WHD General Updates Packages####################################
    -------------------------------------------------------------------------------
    
    Creating WHD General Updates Temporary folder...
    
    Extracting Update Package files to Temporary folder...
    
    Finished Extracting Update Package files to Temporary folder...
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Boot Image################
    -------------------------------------------------------------------------------
    
    =============================[boot.wim, Index : 1]=============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3165.1.8
    [==========================100.0%==========================]
    The operation completed successfully.
    
    =============================[boot.wim, Index : 2]=============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3165.1.8
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Safe OS Dynamic Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_KB4506578~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Dynamic Update for Sources...
    -------------------------------------------------------------------------------
    
    Copying Windows 10 Dynamic Update for Sources to <DVD> folder.
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Install Image#############
    -------------------------------------------------------------------------------
    
    
    ===============================================================================
                [install.wim, Index :  1 - Edition : Core]
    ===============================================================================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    For Builds prior to 19041:
        SSU and CU or LCU integration in Core* Editions is no longer supported.
        All Non-Core* Editions are still being recommended for daily use.
    
    
    
    
    ===============================================================================
                [install.wim, Index :  2 - Edition : Professional]
    ===============================================================================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.3165
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3165.1.8
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Recovery Image############
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_3100~31bf3856ad364e35~amd64~~17763.3100.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Safe OS Dynamic Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25145.1000
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_KB4506578~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Generating WHD General Updates Integration Log File...
    -------------------------------------------------------------------------------
    
    Writing WHD General Updates Integration Log.
    
    -------------------------------------------------------------------------------
    ####Cleaning Up Temporary files & Folders######################################
    -------------------------------------------------------------------------------
    
    Cleaning Up WHD General Updates Temporary folder.
    
    -------------------------------------------------------------------------------
    ##################Finished Integrating WHD General Updates#####################
    ##############to Windows Setup Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,792
    340
    It's not
    SSU components get staged for Professional edition (supported upgrade path)
    Core edition don't get any SSU components
     
  18. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #2059 inTerActionVRI, Jul 18, 2022
    Last edited: Jul 18, 2022
    Understood. Removing it now.
    There is no need to run this integration procedure and waste time, if it will be for nothing.

    I only improve the message to be displayed.
    Code:
    For Builds prior to 19041:
        SSU and CU or LCU integration in Core* Editions is no longer supported.
        All Non-Core* Editions are still being recommended for daily use.
    
     
  19. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    #2060 Paul Mercer, Jul 22, 2022
    Last edited: Jul 22, 2022
    Base 22000.1 ISO --> W10UI --> create_virtual_editions.cmd
    incorrect file name with build 22000.832 after create_virtual_editions.cmd

    input: 22000.832.220719-0806.CO_RELEASE_SVC_PROD3_CLIENT_X64FRE_EN-US.iso
    output: 22000.832.220715-1440.CO_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_EN-US.ISO

    screenshot of mum file in first ISO — https://imgur.com/a/0pAIXlh
    it's correct, but create_virtual_editions.cmd getting timestamp from another source
     

    Attached Files:

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