Cleanup Unneeded OS Files - Using DISM to Shrink WINSXS

Cleanup Unneeded OS Files - Using DISM to Shrink WINSXS
The Windows component store (c:\windows\winsxs) stores all of the Windows files used for installation.  If you find the component store is consuming a lot of disk space you can shrink it by several GB with dism.exe.  For example I was able to shrink the component store on a W2008 server from 16GB to 12GB.
  • dism /online /cleanup-image /spsuperseded
  • psexec \\computername dism /online /cleanup-image /spsuperseded
  • psexec @computerlist.txt dism /online /cleanup-image /spsuperseded

[dism winsxs install windows server 2008 2012]

Comments