Shrinking WinSXS

That $&*^ WinSXS folder.  Using up so much space, but not safe to clean up manually.  Luckily in > Windows 8.1 and Windows Server 2012 R2 we have a way to shrink them a bit.  Note: Run any of these at your own risk, have a backup, etc.

First, up the safe(r) option.  Run this one to clean out previous versions of updated components (old patches).

Dism.exe /online /Cleanup-Image /StartComponentCleanup

Second, the more extreme version.  This one removes the ability to uninstall any patches, so make sure this is a solid install first.

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s