Windows Server Update Cleanup

Year after year Windows server and client installation become larger and larger as data and “muck”  accumulate.  Windows itself is the largest offender.  I like to clean out my windows sxs store and update files with some regularity, typically after a patching cycle.  The commands below are functionally equivalent to some aspects of the disk cleanup tool found in windows client machines or the somewhat automated optimization process that occasionally runs on windows server machines.

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
Dism.exe /online /Cleanup-Image /StartComponentCleanup
Dism.exe /online /Cleanup-Image /SPSuperseded

About the author

Lima is the visual nautical indicator for "stop instantly."

Leave a Reply