In order to minimize WinSxS folder you can use the following DISM commands:
dism /online /Cleanup-Image /StartComponentCleanup /ResetBaseUsing the
/ResetBaseswitch with the/StartComponentCleanupparameter ofDISM.exeon a running version of Windows 10 removes all superseded versions of every component in the component store.dism /online /Cleanup-Image /SPSupersededTo reduce the amount of space used by a Service Pack, use the
/SPSupersededparameter ofDism.exeon 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 versionsandremove any backup components? - Which of them should I use in order to minimize the
WinSxSfolder? - In a case if I have to use both of them, in which order should I execute these programs?