Windows 7

Clean winsxs folder from service pack data

  1. open “run…” from start menu (or win + r)
  2. type “cmd” (or open cmd from accessories/command line prompt) and run it as administrator
  3. to clean up the folder from old or unused service pack and kb files just type:

DISM /online /Cleanup-Image /SpSuperseded

You can also run some scheduled tasks (better explained un technet -> link)