1
In order to minimize WinSxS
folder you can use the following DISM
commands:
dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
Using the
/ResetBase
switch with the/StartComponentCleanup
parameter ofDISM.exe
on a running version of Windows 10 removes all superseded versions of every component in the component store.dism /online /Cleanup-Image /SPSuperseded
To reduce the amount of space used by a Service Pack, use the
/SPSuperseded
parameter ofDism.exe
on a running version of Windows 10 to remove any backup components needed for uninstallation of the service pack.
My questions:
- What is the difference between
removes all superseded versions
andremove any backup components
? - Which of them should I use in order to minimize the
WinSxS
folder? - In a case if I have to use both of them, in which order should I execute these programs?
1Isn't most of that covered int he article you actually link? – Seth – 2018-03-14T08:38:17.223
@Seth, in the article it is not covered the difference between
removes all superseded versions
andremove any backup components
. What's the difference betweensuperseded versions
andbackup
? – Mike B. – 2018-03-14T11:03:33.913Sure I'm not a 100% sure but if you look at the full sentence the second options would be in relation to files for a SP. While the first would include a bit more. So if you have an SP and two updates following that the first option would at least remove one of the update files as well. – Seth – 2018-03-14T11:09:04.073
@Seth, that's the point that since Windows 10 Microsoft retired the Service Pack approach and moved towards updates only. – Mike B. – 2018-03-14T11:14:22.543
1For one those articles and tools are probably being ported from an older Windows version. So indeed it might be incorrect. In addition it's not entirely correct that they don't have SPs anymore. It's just that they've shortened the cycle and renamed them. You can even rollback the current major updates that are essentially SPs. – Seth – 2018-03-14T11:35:25.523