@abbodi1406 How would one disable all mitigations? Lets say, for testing purposes. All zeroes in that registry key or delete it? Any other regkey? Edit: Disable them globally and for all processes, of course.
Globally would break OS probably use "Set-ProcessMitigation -System" in powershell zero means default, 1 always ON, 2 always OFF, 3 Audit
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.
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
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
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
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)?
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
I showed this yesterday on uup discord: 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.
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)
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
modified to add support for office 2024 Perpetual or Microsoft Channnel for YAOCTRI_Configurator.cmd "YAOCTRI_v10.8" awaiting validation by abbodhi for publication and YAOCTRU 10.0 added PerpetualVL2024 MicrosoftLTSC2024 channel Yaoctru 10.0 https://www.mediafire.com/file/9q8oiaf6auyyoi9/YAOCTRU_v10.0.zip/file
convert-UUP.cmd for testing new changes for LCU and winre.wim/boot.wim http://put.nu/files/w9GDaSW.zip the script will remove WinPE-Rejuv-Package from boot.wim before adding LCU this could affect Insider builds when the build timebomb date expire https://github.com/gus33000/UUPMediaCreator/issues/162 nevertheless, using preview builds after expire don't need to add LCU anyway
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