WinSXS is a directory under current Microsoft Windows installation. It is used to housed services packs and other update files should your installation needs to be restored.

However it can become really big. Is there a way to clean this up?

You can run DISM.exe utility to clean this up.

In fact different version of Windows can run this:

  1. Windows Server 2003: VSP1CLEAN.exe
  2. Windows Server 2008: COMPCLN.exe
  3. Windows 7 and Server 2008 R2: DISM.exe

To do this:

  1. Start your command prompt as Administrator
  2. Type: dism /online /cleanup-image /spsuperseded

You will realise that this thing can run for some time, and when you monitor your hard disk space it actually goes down!

Do note that when you see the progress bar reach 100% its not over yet.

Only when its returned to the system32 directory is it completed.

I had only 7.61GB free and this frees up to 10.3GB, which is around 2.7 GB.

Do note that after you do this you cannot roll back to before you install the service pack.

The following two tabs change content below.