abbodi1406's Batch Scripts Repo

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

  1. GrofLuigi

    GrofLuigi MDL Senior Member

    Sep 17, 2016
    297
    774
    10
    @abbodi1406 How would one disable all mitigations? Lets say, for testing purposes. :rolleyes: All zeroes in that registry key or delete it? Any other regkey?

    Edit: Disable them globally and for all processes, of course.
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    Globally would break OS probably
    use "Set-ProcessMitigation -System" in powershell

    zero means default, 1 always ON, 2 always OFF, 3 Audit
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
  4. HLP Mr. Lin Yu

    HLP Mr. Lin Yu MDL Junior Member

    Jul 22, 2022
    94
    46
    0
    How to deal with this error?
    All 2022 have the same problem

    upload_2024-3-11_19-6-20.png
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
  6. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,397
    2,381
    60
    #2846 drew84, Mar 11, 2024
    Last edited: Mar 11, 2024
    Interesting, been looking for a .bat solution for a while

    in the past, not only did I have to remove (manually) all references to the offending C++ from
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\
    
    but also from
    Code:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\
    
    Edit: Just noticed your various notes refer to Classes_Root, whereas mine are Local_Machine, not sure if it makes a difference.
     
  7. HLP Mr. Lin Yu

    HLP Mr. Lin Yu MDL Junior Member

    Jul 22, 2022
    94
    46
    0
    Thanks
    I executed these and it was successfully solved.

    Code:
    set "_msikey=hklm\software\classes\installer\dependencies"
    reg delete "%_msikey%\Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14\Dependents" /f 2>nul
    reg delete "%_msikey%\Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v14\Dependents" /f 2>nul
    reg delete "%_msikey%\Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14\Dependents" /f 2>nul
    reg delete "%_msikey%\Microsoft.VS.VC_RuntimeMinimumVSU_x86,v14\Dependents" /f 2>nul
    set k=HKEY_CLASSES_ROOT\Installer\Products
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X64 Additional" /d ^| findstr /i HKEY_') do reg add %#\SourceList /v LastUsedSource /t REG_EXPAND_SZ /d "" /f
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X64 Minimum" /d ^| findstr /i HKEY_') do reg add %#\SourceList /v LastUsedSource /t REG_EXPAND_SZ /d "" /f
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X86 Additional" /d ^| findstr /i HKEY_') do reg add %#\SourceList /v LastUsedSource /t REG_EXPAND_SZ /d "" /f
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X86 Minimum" /d ^| findstr /i HKEY_') do reg add %#\SourceList /v LastUsedSource /t REG_EXPAND_SZ /d "" /f
    set k=HKEY_CLASSES_ROOT\Installer\Products
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X64 Additional" /d ^| findstr /i HKEY_') do reg delete %# /f
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X64 Minimum" /d ^| findstr /i HKEY_') do reg delete %# /f
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X86 Additional" /d ^| findstr /i HKEY_') do reg delete %# /f
    
    for /f %# in ('reg query %k% /s /f "C++ 2022 X86 Minimum" /d ^| findstr /i HKEY_') do reg delete %# /f
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes = HKEY_CLASSES_ROOT
    for machine-level installation like VC++
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    Office Scrubber v12

    - Disable console QuickEdit (if powershell is installed)
    - Detect if vbscript.dll is not installed, or if Windows Script Host is disabled
    - Show vbs scrub progress
    - Close C2R programs before executing OfficeClickToRun.exe to avoid hanging
    - Add Office 2024 to uninstall key list
    - Add unattend command-line parameters (passive mode and auto-exit)
    - Extend compatible OS to Windows XP or later

    thanks to @Windows_Addict for testing
     
  10. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    about W10UI

    if there are 2 or more LCUs in the updates repo, it will install them one by one
    and then it reinstalls LCU without any indication which LCU is reinstalling
    so maybe add filename before each reinstall? and maybe reinstall only the latest LCU?

    also it installs 2 LCUs for winre.wim and boot.wim, so maybe install only the latest LCU? (also looks like LCU updates are not supported for winre.wim now)

    I can't use one LCU because the latest LCU 1201 won't install without the previous one (build 26080.1201)

    W10UI log is here
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    W10UI (and uup-converter) handle LCU by KB number order
    i could change the behavior to reinstall only latest by name order, but it might not be the latest CU

    if LCU 1201 require LCU 1100, then how to install only the latest LCU for boot.wim? both are needed
    you mean winre.wim reject LCU? or it's just not installed and skipped (without error)?
     
  12. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    yep, this is not ideal, updates on the beta channel are sometimes released in reverse order
    if possible, it would be better to check the version of each LCU and install it based on that

    usually only install.wim complanes about everything, need to check this in the future builds, right now the second LCU can't be integrated to the one of boot.wim indexes

    it shows no real progress and skips integration without any errors, something useful should be in dism log
    I think they blocked LCU integration to the winre.wim and allow only Package_for_SafeOSDU
     

    Attached Files:

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

    Enthousiast MDL Tester

    Oct 30, 2009
    49,668
    103,496
    450
    I showed this yesterday on uup discord:

    [​IMG]

    Code:
    === Running UUP Converter v101 ===
    
    === Checking UUP Info . . .
    
    === Configured Options . . .
    
    AutoStart 1
    AddUpdates 1
    LCUwinre
    DisableUpdatingUpgrade
    
    === Parsing Apps CompDB . . .
    
    === Preparing Reference ESDs . . .
    
    HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package-amd64
    Microsoft-Edge-WebView-FOD-Package-amd64
    Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
    Microsoft-OneCore-DirectX-Database-FOD-Package-amd64
    Microsoft-Windows-DirectoryServices-ADAM-Client-FOD-Package-amd64
    Microsoft-Windows-DirectoryServices-ADAM-Client-FOD-Package-wow64
    Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package-amd64
    Microsoft-Windows-EnterpriseClientSync-Host-FOD-Package-wow64
    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-ProjFS-OptionalFeature-FOD-Package-amd64
    Microsoft-Windows-SenseClient-Fod-Package-amd64
    Microsoft-Windows-SimpleTCP-FOD-Package-amd64
    Microsoft-Windows-SmbDirect-FOD-Package-amd64
    Microsoft-Windows-StepsRecorder-Package-amd64
    Microsoft-Windows-StepsRecorder-Package-wow64
    Microsoft-Windows-TabletPCMath-Package-amd64
    Microsoft-Windows-Telnet-Client-FOD-Package-amd64
    Microsoft-Windows-TerminalServices-AppServer-Client-FOD-Package-amd64
    Microsoft-Windows-TerminalServices-AppServer-Client-FOD-Package-wow64
    Microsoft-Windows-TFTP-Client-FOD-Package-amd64
    Microsoft-Windows-VBSCRIPT-FoD-Package-amd64
    Microsoft-Windows-VBSCRIPT-FoD-Package-wow64
    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-Rtl8192se-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-WinOcr-FOD-Package-amd64
    Microsoft-Windows-WinOcr-FOD-Package-wow64
    Microsoft-Windows-WMIC-FoD-Package-amd64
    Microsoft-Windows-WMIC-FoD-Package-wow64
    OpenSSH-Client-Package-amd64
    
    === Creating Setup Media Layout . . .
    
    === Creating install.wim . . .
    
    Using LZX compression with 2 threads
    Archiving file data: 7084 MiB of 7084 MiB (100%) done
    
    === Updating install.wim / 1 image{s} . . .
    
    1/5: Windows11.0-KB5037133-x64.msu [Combined UUP]
    2/6: Windows11.0-KB5037135-x64.msu [Combined UUP]
    3/6: Windows10.0-KB5037134-x64_inout.cab [SSU]
    4/6: Windows11.0-KB5037136-x64.cab
    5/6: Windows11.0-KB5037137-x64.cab [WinPE]
    6/6: Windows11.0-KB5037138-x64.cab [Setup DU]
    
    === Servicing Index: 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding Microsoft Edge . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    The operation completed successfully.
    
    === Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.Services.Store.Engagement.x64
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.UI.Xaml.x64.2.8
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsAppRuntime.x64.1.3
    Microsoft.WindowsAppRuntime.x64.1.4
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingSearch_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.ZuneMusic_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.ApplicationCompatibilityEnhancements_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.Todos_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.GamingApp_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.WebMediaExtensions_8wekyb3d8bbwe
    Microsoft.RawImageExtension_8wekyb3d8bbwe
    Microsoft.HEIFImageExtension_8wekyb3d8bbwe
    Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
    Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
    Microsoft.AV1VideoExtension_8wekyb3d8bbwe
    Microsoft.AVCEncoderVideoExtension_8wekyb3d8bbwe
    Microsoft.MPEG2VideoExtension_8wekyb3d8bbwe
    Microsoft.WebpImageExtension_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    MicrosoftWindows.CrossDevice_cw5n1h2txyewy
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    Microsoft.OutlookForWindows_8wekyb3d8bbwe
    MSTeams_8wekyb3d8bbwe
    Microsoft.Windows.DevHome_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding Updates . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1100~31bf3856ad364e35~amd64~~26080.1100.1.3
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1100 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.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 - Adding package Package_for_KB5037136~31bf3856ad364e35~amd64~~26080.1201.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding LCU Windows11.0-KB5037133-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    === Adding LCU Windows11.0-KB5037135-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image File : C:\Users\Enthousiast_MDL\Downloads\26080.1201_amd64_en-us_professional_02da1c46_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: 3512500 KiB
    Using LZX compression with 2 threads
    Archiving file data: 8273 MiB of 8273 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3450000 KiB
    Space saved: 62500 KiB
    
    === Adding setup dynamic update{s} . . .
    
    Windows11.0-KB5037138-x64.cab
    
    === Creating winre.wim . . .
    
    Using LZX compression with 2 threads
    Archiving file data: 1206 MiB of 1206 MiB (100%) done
    
    === Updating winre.wim / 1 image{s} . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1100~31bf3856ad364e35~amd64~~26080.1100.1.3
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1100 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.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 - Adding package Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26080.1201.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    === Adding LCU for winre.wim/boot.wim . . .
    
    === Adding LCU Windows11.0-KB5037133-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 -
    The operation completed successfully.
    
    === Adding LCU Windows11.0-KB5037135-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 -
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image Version: 10.0.26080.1
    
    Processing 1 of 1 - Adding package Package_for_KB5037136~31bf3856ad364e35~amd64~~26080.1201.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.4169
    
    Image File : C:\Users\Enthousiast_MDL\Downloads\26080.1201_amd64_en-us_professional_02da1c46_convert\temp\winre.wim
    Image Index : 1
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    Using LZX compression with 2 threads
    Archiving file data: 1292 MiB of 1292 MiB (100%) done
    
    === Adding winre.wim to install.wim . . .
    
    === Creating boot.wim . . .
    
    === Rebuilding boot.wim . . .
    
    "ISOFOLDER\sources\boot.wim" original size: 531698 KiB
    Using LZX compression with 2 threads
    Archiving file data: 1330 MiB of 1330 MiB (100%) done
    "ISOFOLDER\sources\boot.wim" optimized size: 511284 KiB
    Space saved: 20414 KiB
    
    === Removing temporary files . . .
    
    === Creating ISO . . .
    
    OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2012. All rights reserved.
    Licensed only for producing Microsoft authorized content.
    
    
    Scanning source tree (500 files in 45 directories)
    Scanning source tree complete (959 files in 88 directories)
    
    Computing directory information complete
    
    Image file is 4846125056 bytes (before optimization)
    
    Writing 959 files in 88 directories to 26080.1201.240309-1341.GE_RELEASE_SVC_PROD2_CLIENTPRO_OEMRET_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 51 files, 19605504 bytes (1% of image)
    
    After optimization, image file is 4828749824 bytes
    Space saved because of embedding, sparseness or optimization = 19605504
    
    Done.
    
    Finished.
    Press 0 or q to exit.
    
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    LCU is skipped intentionally for winre.wim, per metadata
    Code:
    Info Feature excluded due to conditional: Group: Microsoft, FMID: (null), Feature: CumulativeUpdate_KB5037133
    Code:
    <ConditionalFeature UpdateAction="Add" FeatureID="CumulativeUpdate_KB5037133" FMID="MSDN">
      <Condition Type="PackageAnyVersion" Status="NotInstalled" Name="WinPE-Rejuv-Package~31bf3856ad364e35~amd64~~" />
    </ConditionalFeature>
    that means, uup boot.wim will not be able to get the LCU unless we remove WinPE-Rejuv-Package, or use the direct integration (extract inner wim + psf and add update.mum)
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    ESD <> CAB v3

    updated esd2cab_CLI.cmd & cab2esd_CLI.cmd:
    - exit the script with ErrorLevel
    - added unattend mode (auto exit), just call esd2cab_CLI.cmd with any parameter
     
  16. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,350
    2,523
    120
    #2857 pm67310, Mar 19, 2024
    Last edited: Mar 20, 2024
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
    #2858 abbodi1406, Mar 22, 2024
    Last edited: Mar 22, 2024
    (OP)
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,784
    340
  19. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    I would like to remove this package from boot.wim when converting base editions as well, not just before LCU installation
    If you are concerned about timebombed builds, maybe add another config option?

    please also update W10UI after all the testing, thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...