abbodi1406's Batch Scripts Repo

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

  1. tf

    tf MDL Junior Member

    Dec 21, 2013
    72
    13
    0
    Dear @abbodi1406 , I did try WHD-W81UI v7.4 on a clean Win8.1 OS. Still ESU updates do not get installed:
    [​IMG] [​IMG]

    I am attaching the debug log below, so please have a look if you have time. Thank you very much for always your help and assistance.
     

    Attached Files:

  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
  3. tf

    tf MDL Junior Member

    Dec 21, 2013
    72
    13
    0
    Thank you so much @abbodi1406 , it works now. A couple of notes please:

    1) After installing all the selected updates (including the ESU updates), the Cleanup System Image and ResetBase do not get into action. No RunOnce_AfterRestart_DismCleanup.cmd script is created on desktop. I reboot the PC after installing the ESU updates and rerun WHD-W81UI but nothing new happens. However, I manually ran the command "Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase", which works perfectly.

    2) Are Cleanup System Image and ResetBase options in WHD-W81UI do the same work as the above command?

    3) After running the above command the General Update KB3179574 get removed from the "Installed Updates", does this mean KB3179574 is superseded and maybe it needs to be removed from your updatelist?

    4) Are RunOnce_W10_Telemetry_Tasks.cmd and W10Tel.cmd do the same work? I can see that the latter contains more code lines than the former. Do I need to run both of them or just one of them?
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
    @tf

    1) It should
    did you get prompt when you run WHD-W81UI.cmd after reboot?

    2) Yes

    3) It's only needed for Enterprise edition, and Server editions

    4) Yes
    you can run either or both
     
  5. tf

    tf MDL Junior Member

    Dec 21, 2013
    72
    13
    0
    1) No, I did not get any prompts. I even tried several times: reboot and run WHD-W81UI.cmd, nothing new happens.

    3) I misled by the KB3179574 article, which advertises Windows 8.1 Pro besides Server and Enterprise editions. Now, when I manually try to run Windows8.1-KB3179574-x64.msu I get the message "The update is not applicable to your computer". In contrast, it gets installed by WHD-W81UI. Thank you for your clarification, and I think it is a good idea to exclude this update in your script installer on non-Server/Enterprise editions.
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
    I will check and see

    i ment it's currently superseded for all editions, except Enterprise and Server
    https://forums.mydigitallife.net/posts/1697450/

    dism (WHD-W81UI) will install any applicable update, regardless supersedence
     
  7. tf

    tf MDL Junior Member

    Dec 21, 2013
    72
    13
    0
    #2647 tf, Oct 24, 2023
    Last edited: Oct 24, 2023
    Thank you very much prof. @abbodi1406. Yes, I understand you, I meant that you may exclude its installation (through a check command in your script installer, NOT removing the update from your updatelist) on all editions except Enterprise and Server. Thank you again.
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
    WHD-W81UI v7.6

    - fixed creating RunOnce_AfterRestart_DismCleanup.cmd for online OS
    - skip update KB3179574 for non Enterprise / Server editions
     
  9. tf

    tf MDL Junior Member

    Dec 21, 2013
    72
    13
    0
    Thank you very much @abbodi1406 for your patience and time. Update KB3179574 now successfully gets skipped on Windows 8.1 Pro; however, RunOnce_AfterRestart_DismCleanup.cmd is not created, but rather Resetbase successfully gets into action within the WHD-W81UI window, which I think is totally fine.

    [​IMG]
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
    Yes, RunOnce_AfterRestart_DismCleanup.cmd will be only created if cleanup is not possible currently due pending updates
     
  11. tanxzz

    tanxzz MDL Novice

    Oct 26, 2023
    1
    0
    0
    hi im new user
    @abbodi1406 u have script net 4.7.1 for win 1511?
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
    uup-converter v96

    - Added detection for 22635 Beta EKB
    - Updated APAP.exe to support StubAppsFull option
    p.s. if you want to use Dism.exe directly to add Apps, simply delete bin\APAP.exe before running conversion
     
  13. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,349
    2,521
    120
    use net frameworks 4.8 more recent than 4.7
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    About StubAppsFull:
    I've already done some research but the explanations I found are superficial.
    What is StubApps? What is the difference when we enable this option compared to regular UWP app integration?
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
    Full = the real App

    Stub = placeholder
    if you don't launch or use the app, it doesn't get full installed (or updated?)
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,311
    450
    :yes::good3:
    Code:
    
    ============================================================
    Running UUP -> ISO v96
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    AddUpdates 1
    StartVirtual
    
    ============================================================
    Parsing Apps CompDB . . .
    ============================================================
    
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    cabs_Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
    cabs_Microsoft-OneCore-DirectX-Database-FOD-Package-amd64
    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-StepsRecorder-Package-amd64
    cabs_Microsoft-Windows-StepsRecorder-Package-wow64
    cabs_Microsoft-Windows-TabletPCMath-Package-amd64
    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-Rtl8187se-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package-amd64
    cabs_Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-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-WMIC-FoD-Package-amd64
    cabs_Microsoft-Windows-WMIC-FoD-Package-wow64
    cabs_Microsoft-Windows-WordPad-FoD-Package-amd64
    cabs_Microsoft-Windows-WordPad-FoD-Package-wow64
    cabs_OpenSSH-Client-Package-amd64
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 7411 MiB of 7411 MiB (100%) done
    Using LZX compression with 16 threads
    Archiving file data: 254 MiB of 254 MiB (100%) done
    
    ============================================================
    Updating install.wim / 2 image(s) . . .
    ============================================================
    
    1/1: Windows11.0-KB5031818-x64-NDP481.cab [NetFx]
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    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.UI.Xaml.x64.2.8
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsAppRuntime.x64.1.3
    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.OutlookForWindows_8wekyb3d8bbwe
    MicrosoftTeams_8wekyb3d8bbwe
    Microsoft.Windows.DevHome_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    Microsoft.549981C3F5F10_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Updates . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.23575.1001
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9200.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image File : C:\Users\Enthousiast\Downloads\uup-converter-wimlib-96f\ISOFOLDER\sources\install.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.22621.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.23575.1001
    
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.23575.1001
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.23575.1001
    [==========================100.0%==========================]
    
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "ISOFOLDER\sources\install.wim" original size: 3758864 KiB
    Using LZX compression with 16 threads
    Archiving file data: 8696 MiB of 8696 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3619765 KiB
    Space saved: 139098 KiB
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 1196 MiB of 1196 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    
    ============================================================
    Checking Distribution Info . . .
    ============================================================
    
    ============================================================
    Configured Virtual Options . . .
    ============================================================
    
    AutoStart
    AutoEditions: CoreSingleLanguage,ProfessionalWorkstation,ProfessionalEducation,Education,Enterprise,ServerRdsh,IoTEnterprise
    
    ============================================================
    Copying install.wim . . .
    ============================================================
    
    ============================================================
    Creating Edition: Enterprise
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 3 to "Enterprise".
    Setting the FLAGS property of image 3 to "Enterprise".
    Setting the DISPLAYNAME property of image 3 to "Windows 11 Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 3 to "Windows 11 Enterprise".
    
    ============================================================
    Creating Edition: Education
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 4 to "Education".
    Setting the FLAGS property of image 4 to "Education".
    Setting the DISPLAYNAME property of image 4 to "Windows 11 Education".
    Setting the DISPLAYDESCRIPTION property of image 4 to "Windows 11 Education".
    
    ============================================================
    Creating Edition: Pro Education
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 5 to "ProfessionalEducation".
    Setting the FLAGS property of image 5 to "ProfessionalEducation".
    Setting the DISPLAYNAME property of image 5 to "Windows 11 Pro Education".
    Setting the DISPLAYDESCRIPTION property of image 5 to "Windows 11 Pro Education".
    
    ============================================================
    Creating Edition: Pro for Workstations
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 6 to "ProfessionalWorkstation".
    Setting the FLAGS property of image 6 to "ProfessionalWorkstation".
    Setting the DISPLAYNAME property of image 6 to "Windows 11 Pro for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 11 Pro for Workstations".
    
    ============================================================
    Creating Edition: Home Single Language
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 7 to "CoreSingleLanguage".
    Setting the FLAGS property of image 7 to "CoreSingleLanguage".
    Setting the DISPLAYNAME property of image 7 to "Windows 11 Home Single Language".
    Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 11 Home Single Language".
    
    ============================================================
    Creating Edition: Enterprise multi-session
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 8 to "ServerRdsh".
    Setting the FLAGS property of image 8 to "ServerRdsh".
    Setting the DISPLAYNAME property of image 8 to "Windows 11 Enterprise multi-session".
    Setting the DISPLAYDESCRIPTION property of image 8 to "Windows 11 Enterprise multi-session".
    
    ============================================================
    Creating Edition: IoT Enterprise
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 9 to "IoTEnterprise".
    Setting the FLAGS property of image 9 to "IoTEnterprise".
    Setting the DISPLAYNAME property of image 9 to "Windows 11 IoT Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 9 to "Windows 11 IoT Enterprise".
    
    ============================================================
    Rebuilding install.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\install.wim" original size: 4295462 KiB
    Using LZX compression with 16 threads
    Archiving file data: 9 GiB of 9 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 4202599 KiB
    Space saved: 92863 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 5055086592 bytes (before optimization)
    
    Writing 947 files in 86 directories to 23575.1001.231022-1128.NI_PRERELEASE_CLIENTMULTI_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 24 files, 14135296 bytes (1% of image)
    
    After optimization, image file is 5043107840 bytes
    Space saved because of embedding, sparseness or optimization = 14135296
    
    Done.
    
    
    
    ============================================================
    Removing temporary files . . .
    ============================================================
    
    Press 0 to exit.
    
    
    [​IMG]
     
  18. lsx285p

    lsx285p MDL Novice

    Mar 6, 2022
    49
    68
    0
    @abbodi1406

    Code:
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    
    Error: 87
    
    A required option is missing from the command-line.
    Ensure that /index or /name is specified.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    
    Code:
    ============================================================
    Running W10UI v10.36
    ============================================================
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/6: Windows10.0-KB5015684-x64.cab [Enablement]
    2/6: windows10.0-kb5028311-x64.cab [Setup DU]
    3/6: Windows10.0-KB5031445-x64.cab [LCU]
    4/6: windows10.0-kb5031474-x64.cab [SafeOS DU]
    5/6: Windows10.0-KB5031540-x64.cab [SSU]
    6/6: Windows11.0-KB5031540-x64.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB5015684~31bf3856ad364e35~amd64~~19041.1799.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Processing 1 of 1 - Staging Windows10.0-KB5031445-x64
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3636.1.20
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Cleaning up OS image...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19045.3636
    
    [=====                      10.0%                          ]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB5031474~31bf3856ad364e35~amd64~~19041.3562.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.3562
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3636.1.20
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.3636
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.3636
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image File : C:\Users\Leon\Downloads\W10UI_10.36\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.25982.1000
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
            1 file(s) copied.
    
    ============================================================
    Unmounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image File : C:\Users\Leon\Desktop\19041\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.25982.1000
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB5015684~31bf3856ad364e35~amd64~~19041.1799.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3636.1.20
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.3636
    
    [=========================  43.3%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.3636
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image File : C:\Users\Leon\Desktop\19041\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.25982.1000
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_ServicingStack_3634~31bf3856ad364e35~amd64~~19041.3634.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB5015684~31bf3856ad364e35~amd64~~19041.1799.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.3636.1.20
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.3636
    
    [========================   42.3%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image Version: 10.0.19041.3636
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25982.1000
    
    Image File : C:\Users\Leon\Desktop\19041\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.25982.1000
    
    
    Error: 87
    
    A required option is missing from the command-line.
    Ensure that /index or /name is specified.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows10.0-kb5028311-x64.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "C:\Users\Leon\Downloads\W10UI_10.36"
    100%  5025MB 19045.3636.231019-1741.22H2_RELEASE_SVC_PROD3_CLIENT_X64FRE_EN-US.iso
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    

    Code:
    [W10UI-Configuration]
    Target        =
    Repo          =
    DismRoot      =dism.exe
    
    Net35         =0
    Net35Source   =
    Cleanup       =1
    ResetBase     =0
    LCUwinre      =1
    WinRE         =1
    UpdtBootFiles =1
    SkipEdge      =1
    UseWimlib     =0
    
    _CabDir       =W10UItemp
    MountDir      =W10UImount
    WinreMount    =W10UImountre
    
    wim2esd       =0
    wim2swm       =0
    ISO           =1
    ISODir        =
    Delete_Source =0
    
    AutoStart     =0
    
    
     
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,197
    90,712
    340
    Are you using ADK 25982? or Host OS is 25982.1000?
    is wmic.exe installed?
     
  20. lsx285p

    lsx285p MDL Novice

    Mar 6, 2022
    49
    68
    0
    #2660 lsx285p, Oct 29, 2023
    Last edited: Oct 29, 2023
    Host. I have wmic removed but I'll try again with wmic added back in place and update this post.

    Edit:\\ I added wmic but it still puts out the same error when rebuilding