WinSxS CleanUp with cmd prompt


If you want to minimize disk footprint on your server OS, you cannot use “Disk CleanUp” tool provided in Windows desktop version, except if you install Desktop Experience feature.

That solution is not scalable, that’s why Microsoft provided us a command line solution :

Dism.exe /online /Cleanup-Image /StartComponentCleanup


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.