abbodi1406's Batch Scripts Repo

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

  1. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,729
    6,690
    60
    Hi @abbodi1406

    I am integrating Windows 26200 updates using W10UI, and although I haven't selected the boot.wim update (UpdtBootFiles =), the process always updates the boot.wim.

    How can I perform the integration without updating the boot.wim?

    My W10UI.ini configuration:
    What am I forgetting?

    Thanks for your help!

    Attached log file

     

    Attached Files:

  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,471
    128,272
    450
    About the first line, bootwim is updated when the extracted/mounted ISO is selected, when you only select install.wim it won't update boot.wim, not related to updtebootfiles, that is certificate related (afaik).

    Code:
    # UpdtBootFiles
    update ISO boot files bootmgr/memtest/efisys.bin from Cumulative Update
    this will also update new UEFI CA 2023 boot files if detected. See KB5053484 for details
    note: the two default files bootmgr.efi/bootmgfw.efi will be updated if this option is OFF
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,724
    100,772
    340
    @SunLion
    updating boot.wim is required to match iso\sources files

    if you only want to update install.wim, just select it directly as target
     
  4. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,729
    6,690
    60
    Thanks a lot for your help.

    You're right—I was pointing to the extracted folder instead of the install.wim file.

    That saved me!

    Best regards,
     
  5. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,729
    6,690
    60
    Yes, I understand the logic of the process now.

    Thank you very much for your help!

    Best regards,
     
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,471
    128,272
    450
    I always use the full extracted or mounted ISO to update all wim files, updating boot.wim doesn't take much time and you can always extract the install.wim later, when desired (or set ISO creation to "0").
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,729
    6,690
    60
    That's a good suggestion.

    I'll adopt that too.

    Thanks!
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,724
    100,772
    340
    uup-converter v125

    - Add workaround to fix the situation for 26300/26220 new baseline KB5122055 (msu processing order by size instead name, LCUmsuExpand auto disabled)

    thanks to @Enthousiast for testing
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,471
    128,272
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Spooks in Space

    Spooks in Space MDL Novice

    Jan 5, 2026
    5
    5
    0
    @abbodi1406
    So far, no other errors have been noticed or detected. Thank you for the quick solution.:)
     
  11. Reducer

    Reducer MDL Junior Member

    Jul 30, 2014
    57
    73
    0
    Hi all,

    According to W10UI changelog, .NET 3.5 is enabled after installing other updates to allow ResetBase. And cumulative updates have to be reapplied after enabling .NET 3.5 to satisfy WU.

    So how about checking if ResetBase=0 and Net35=1, then enable .NET 3.5 before any other update to skip reapplying cumulatives in that case?
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,724
    100,772
    340
    @Reducer
    why would want to hold most or all LCU's components hostage in installation pending state?
    this will increase setup period, maybe even more than the period for reapplying cumulatives
     
  13. Reducer

    Reducer MDL Junior Member

    Jul 30, 2014
    57
    73
    0
    Not a good idea then, thanks abbodi.
     
  14. armond

    armond MDL Addicted

    Jun 16, 2008
    756
    253
    30
    Hi. May I ask how about 26h1?
    Seams those fun killers changed how OneDrive installs in 26H1.
    I am sure OneDriveSetup.exe still runs somehow.
    Thank you.
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,724
    100,772
    340
    I did not download or use it

    scheduled task perhaps?
    or check these registry keys:
    Code:
    HKLM\SOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler
    HKLM\SOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler
     
  16. armond

    armond MDL Addicted

    Jun 16, 2008
    756
    253
    30
    Yes. It's there.
    Thank you.
     
  17. BELNN

    BELNN MDL Member

    Apr 2, 2016
    143
    98
    10
    uup-converter refuses to build the Russian version of Windows Server 29641.1000 Please check.
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,471
    128,272
    450
    #4178 Enthousiast, Aug 16, 2026
    Last edited: Aug 16, 2026
    https://uupdump.net/download.php?id...eaa54d2ff4e&pack=ru-ru&edition=serverstandard
    Code:
    === Running UUP Converter v125 ===
    
    === Checking UUP Info . . .
    
    === Configured Options . . .
    
    AutoStart 1
    AddUpdates 1
    LCUmsuExpand 1
    DisableUpdatingUpgrade 1
    StubAppsFull
    
    === Preparing Reference ESDs . . .
    
    cabs_Downlevel-NLS-Sorting-Versions-Server-FoD-Package-amd64
    cabs_Downlevel-NLS-Sorting-Versions-Server-FoD-Package-wow64
    cabs_Microsoft-Edge-WebView-FOD-Package-amd64
    cabs_Microsoft-OneCore-DirectX-Database-FOD-Package-amd64
    cabs_Microsoft-Server-AzureArcSetup-FoD-Package-amd64
    cabs_Microsoft-Server-WacSetup-FoD-Package-amd64
    cabs_Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package-amd64
    cabs_Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package-wow64
    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-Basic-ru-ru-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-Handwriting-ru-ru-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-OCR-ru-ru-Package-amd64
    cabs_Microsoft-Windows-LanguageFeatures-TextToSpeech-ru-ru-Package-amd64
    cabs_Microsoft-Windows-MediaPlayer-Package-amd64
    cabs_Microsoft-Windows-MediaPlayer-Package-wow64
    cabs_Microsoft-Windows-MSPaint-FoD-Package-amd64
    cabs_Microsoft-Windows-MSPaint-FoD-Package-wow64
    cabs_Microsoft-Windows-Notepad-FoD-Package-amd64
    cabs_Microsoft-Windows-Notepad-FoD-Package-wow64
    cabs_Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64
    cabs_Microsoft-Windows-PowerShell-ISE-FOD-Package-wow64
    cabs_Microsoft-Windows-ProjFS-OptionalFeature-FOD-Package-amd64
    cabs_Microsoft-Windows-SenseClient-FoD-Package-amd64
    cabs_Microsoft-Windows-Server-FoDMetadata-Package
    cabs_Microsoft-Windows-Server-WOW-Package-amd64
    cabs_Microsoft-Windows-ServerCoreFonts-NonCritical-Fonts-BitmapFonts-FOD-Package-amd64
    cabs_Microsoft-Windows-ServerCoreFonts-NonCritical-Fonts-MinConsoleFonts-FOD-Package-amd64
    cabs_Microsoft-Windows-ServerCoreFonts-NonCritical-Fonts-Support-FOD-Package-amd64
    cabs_Microsoft-Windows-ServerCoreFonts-NonCritical-Fonts-TrueType-FOD-Package-amd64
    cabs_Microsoft-Windows-ServerCoreFonts-NonCritical-Fonts-UAPFonts-FOD-Package-amd64
    cabs_Microsoft-Windows-SimpleTCP-FOD-Package-amd64
    cabs_Microsoft-Windows-SmbDirect-FOD-Package-amd64
    cabs_Microsoft-Windows-SnippingTool-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-TFTP-Client-FOD-Package-amd64
    cabs_Microsoft-Windows-VBSCRIPT-FoD-Package-amd64
    cabs_Microsoft-Windows-VBSCRIPT-FoD-Package-wow64
    cabs_Microsoft-Windows-WinOcr-FOD-Package-amd64
    cabs_Microsoft-Windows-WinOcr-FOD-Package-wow64
    cabs_Microsoft-Windows-Xps-Xps-Viewer-Opt-Package-amd64
    cabs_OpenSSH-Client-Package-amd64
    cabs_OpenSSH-Server-Package-amd64
    
    === Creating Setup Media Layout . . .
    
    === Creating install.wim . . .
    
    Using LZX compression with 16 threads
    Archiving file data: 9 GiB of 9 GiB (100%) done
    
    === Updating install.wim / 1 image{s} . . .
    
    1/1: Windows11.0-KB5121512-x64-NDP481.cab [NetFx]
    
    === Servicing Index: 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.1
    
    Image Version: 10.0.29641.1000
    
    Processing 1 of 1 - Adding package Package_for_KB5121512~31bf3856ad364e35~amd64~~10.0.10001.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.1
    
    Image File : C:\Users\Enthousiast\Downloads\Compressed\29641.1000_amd64_ru-ru_serverstandard_62eb4764_convert\ISOFOLDER\sources\install.wim
    Image Index : 1
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Rebuilding install.wim . . .
    
    "ISOFOLDER\sources\install.wim" original size: 4168116 KiB
    Using LZX compression with 16 threads
    Archiving file data: 9 GiB of 9 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 4130123 KiB
    Space saved: 37992 KiB
    
    === Creating winre.wim . . .
    
    Using LZX compression with 16 threads
    Archiving file data: 1611 MiB of 1611 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 (1000 files in 91 directories)
    Scanning source tree complete (1154 files in 98 directories)
    
    Computing directory information complete
    
    Image file is 5727911936 bytes (before optimization)
    
    Writing 1154 files in 98 directories to 29641.1000.260729-1515.RS_FLIGHT_SERVERSTANDARD_OEMRET_X64FRE_RU-RU.ISO
    
    100% complete
    
    Storage optimization saved 95 files, 20215808 bytes (1% of image)
    
    After optimization, image file is 5710436352 bytes
    Space saved because of embedding, sparseness or optimization = 20215808
    
    Done.
    
    Finished.
    Press 0 or q to exit.
    
    [​IMG]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. BELNN

    BELNN MDL Member

    Apr 2, 2016
    143
    98
    10
    Code:
    UUP source contains multiple editions:
    ____________________________________________________________
    
    1.  [ / ]
    2.  [ / ]
    ____________________________________________________________
    
    Enter zero '0' to create AIO
    Enter individual edition number to create solely
    Enter multiple editions numbers to create, separated with spaces
    ________________________________________________
    
    > Enter your option and press "Enter":
    That's it. The script closes. Text files info.txt, info2.txt, info2u.txt, infou.txt appear in the bin folder, containing incomprehensible texts like this: ЌҐ г¤ Ґвбп ўлЇ®«Ёвм гЄ § го Їа®Ја ¬¬г.
    Most likely, this is due to the Russian localization of the system.
     
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,471
    128,272
    450
    Must be, i can test run it on the vm but my russian is a bit rusty these days ;) :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...