Dated information, but in keeping a fileserver from melting down as we migrated its roles to a new 2012 server, we ran into a disk space issue on the system drive. Looks like duct tape and bandaids have been applied earlier so no easy wins for space recovery. The winsxs folder had over 10GB in it, but the normal DISM.exe based “Windows Update Cleanup” option wasn’t available until 2008 R2, and this was a 2008 std server.
Just deleting the folder or its contents can open you up to a world of hurt for future updates, if not crash your server outright.
Dusting off older notes, we used compcln.exe located in the C:\Windows\System32 folder.
This cleans older updates if you don’t have the nice option via your Disc Cleaner GUI.
C:\>compcln.exe This operation will make all service packs and other packages permanent on this computer. Upon completion you will not be able to remove any cleaned packages fr om this system. Would you like to continue? (Y/N): Y Performing Windows Component Clean... Windows Component Clean was already run on this install. C:\>