Trying but it seems not to work independently, the Cleanup System Image feature. This system has its updates already installed. I just want to clean up.
Old info working very well only on older versions which I think was specified by @abbodi1406 few times already. With current versions, base components are removed and rollback to an earlier LCU is extremely difficult if not impossible without full reinstall upgrade in place. If rollback is not required, no switches are needed and regular clean up is OK. What I say is that delta compression is no longer working.
Do we still need the switch SupersededActions 3 for the delta compression for the non LCU updates to work or is the default fine? Primarily asking for the 1904x versions but for 1809/2019 as well.
Thanks. I am trying to test the default behaviour now in 19041/2004 online. Obviously this would apply only to .NET Framework Updates. Flash is obsolete and will not test and SSU is more complicated as require .mum editing for proper results. I will skip SSU testing. If I will get any relevant results, I will post here. Are there any values for the SupersededActions documented anywhere, other than value 3? I am aware of value 3 being documented in C:\Windows\servicing\Editions\WimBootConfig.ini for various editions. e.g. LatentActions values 0 and 1 are documented as they are different for Windows 10 and Windows 8.1. What about SupersededActions which I see only value 3 being documented.
As promised, I come back with some findings. On 19041.1 online with 2021-01 SSU, 2021-02 LCU, 2020-10 .NET Security Update and 2021-02 .NET Security Update, there is no difference between SupersededAction set at 3, set at 1 or default, which is value not in the registry. In all 3 instances, after running dism /online /cleanup-image /startcomponentcleanup, LCU becomes the new base and cannot be uninstalled while the .NET Framework components become delta compressed. 2020-10 .NET update is uninstalled in the process, while 2020-02 update can be removed gracefully and rolled back to the base .NET Framework components from 19041.1. So the obvious conclusion from my perspective is that it is best to leave the default configuration of the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration registry key. The SupersededActions value may not matter at all on an online image of 1904x.
@ch100 None of SideBySide\Configuration registry values is really documented SupersededActions: 0 = no affect 1 = no affect if DisableResetbase 1 1 = remove superseded components if DisableResetbase 0 (break future LCU installation on 1903 and later) 2 = no affect 3 = delta compress
To me this looks like DisableResetbase should always be 1 in the first place. I don't see a valid reason to have it set to 0 at all. The SupersededActions value is separate even if it overrides the DisableResetbase value in some instances.
Can you re-upload the patch? It says files not found right now. PS: I doesn't see the LCU been added to winre.im&boot.wim and I can't add the LCU to boot.wim(From 2016 LTSB MVS Image),Which shouldn't have the problem.
I still don't get the point. I still have two question remained after reading those posts. https://forums.mydigitallife.net/posts/1533353/ https://forums.mydigitallife.net/posts/1532957/ 1.if DisableResetbase=1 && No SupersededActions keyword. What happened when I do "Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase" and "Dism.exe /online /Cleanup-Image /StartComponentCleanup" What I know is: in LTSC/Server 2019, /ResetBase remove the Superseded LCU and other updates. /StartComponentCleanup delta-compress LCU and other updates? in 1903 later, /ResetBase remove the Superseded LCU and other updates. /StartComponentCleanup only remove the Superseded LCU and delta-compress other updates? 2.You said "ResetBase was disabled for offline images since build 16299" But in W10UI, "Cleanup=1 wieh ResetBase=1" still got about 300-500MB image size smaller than "Cleanup=1 with ResetBase=0". What's the difference between these actions in offline images now?
Have some info saved about it Pls quote/correct it to make it clear for all of us ==================================== !! Running /ResetBase afterwards will mark updates as permanent !! ============================================== adric said: ↑ Enthousiast wrote: = REG_DWORD SupersededActions 3 ?? Registry File in nxt post, Pls correct mistakes if any....Thx!
Windows 10 RESETBASE Registry Settings: Code: Windows Registry Editor Version 5.00 ; Windows WinSxS cleanup settings ; SuperSededActions // ResetBase Settings ; Credits to abbodi1406 and everyone else :p ; Dism /Online /Cleanup-Image /StartComponentCleanup ; vs ; Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase ; Version 1607 -- eq 14393 (1607) = value 0 ;Note: for all under 1903, it will break RESETPC ; Delta compression of LDR / Superseded Components with these settings: [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration] "DisableResetbase"=dword:00000001 "SupersededActions"=dword:00000000 ; Use "Dism /Online /Cleanup-Image /StartComponentCleanup" ; 1607 +ResetBase [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration] "DisableResetbase"=dword:00000000 "SupersededActions"=dword:00000000 ; Use "Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase" ; Version 1709 ONLY -- (1709) = value 1 ; ResetBase breaks ResetPC Feature and /ResetBase has no effect on this build ; Note for 1709: ; Online servicing on live OS is not affected, /ResetBase works as expected ; These settings are the same as ResetBase (without updates permanency) : Running /ResetBase afterwards will mark updates as permanent [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration] "DisableResetbase"=dword:00000000 "SupersededActions"=dword:00000001 ; Use "Dism /Online /Cleanup-Image /StartComponentCleanup" ; OR ; Version 1709/1809 -- geq 16299 (1709) = value 1 : ResetBase breaks ResetPC Feature [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration] "DisableResetbase"=dword:00000001 "SupersededActions"=dword:00000001 ; Use "Dism /Online /Cleanup-Image /StartComponentCleanup" ; Version 1903 and up -- geq 18362 (1903) = value 3 : Partially disabled for build 18362 and later, to avoid breaking future LCU installation ; It works even with DisableResetbase 1 ; Delta compression of LDR / Superseded Components Settings [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration] "DisableResetbase"=dword:00000000 "SupersededActions"=dword:00000003 ; Use ONLY "Dism /Online /Cleanup-Image /StartComponentCleanup ; Windows Update // Component Store // WinSxs Universal Settings [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration] ; Disable WinSxS Backup folder "DisableComponentBackups"=dword:00000001 ; Remove ManifestCache folder "TransientManifestCache"=dword:00000001 ; NTFS Compress CMS log "CBSLogCompress"=dword:00000001 ; Limit (or disable) CBSPersist_*.log "NumCBSPersistLogs"=dword:00000000 ; Reoffer LCU Updates -- TEST "LCUReoffer"=dword:00000000 "ReofferUpdate"=dword:00000000 PS: If there's a mistake made, pls correct it, thx from all
This is what I call "documentation", i.e. the comments. You know what they are and from where they come. Code: [Registry] HIVE_SYSTEM, ADD, REG_DWORD, Setup, OptimizeWimBoot, 1 ; mark that this image has been optimized HIVE_SYSTEM, ADD, REG_DWORD, ControlSet001\Services\EventLog\Application, MaxSize, 10485760 ; Set the maximum .evtx log sizes HIVE_SYSTEM, ADD, REG_DWORD, ControlSet001\Services\EventLog\Security, MaxSize, 10485760 ; HIVE_SYSTEM, ADD, REG_DWORD, ControlSet001\Services\EventLog\System, MaxSize, 10485760 ; HIVE_SOFTWARE, ADD, REG_DWORD, Microsoft\Windows\CurrentVersion\SideBySide\Configuration, SupersededActions, 3 ; enable progressive-seal HIVE_SOFTWARE, ADD, REG_DWORD, Microsoft\Windows\CurrentVersion\SideBySide\Configuration, LatentActions, 0 ; delta compress LDR updates HIVE_SOFTWARE, ADD, REG_DWORD, Microsoft\Windows\CurrentVersion\SideBySide\Configuration, NumCBSPersistLogs, 1 ; keep only one archived cbs.log file HIVE_SOFTWARE, ADD, REG_DWORD, Microsoft\Windows\CurrentVersion\SideBySide\Configuration, CBSLogCompress, 1 ; keep the cbs.log file NTFS compressed [Optional Features] RemoveDisabledFeatures=1 [Directives] DisableWinSxSComponentBackups=1
2021-04 Cumulative Update Preview for Windows 10 Version 2004 for x64-based Systems (KB5001391) ?1904X.962