One of the biggest directory in a Windows 7 (and not only) operation system is the winsxs.

What is it?

Winsxs, which stands for ‘Windows Side By Side’, is Windows native assembly cache. Libraries which are being by multiple applications are stored there. This feature was first introduced, in Windows ME and was considered as Microsoft’s solution to the so-called ‘dll hell’ issues that plagued Windows 9x. [1]

In this post I will share a solution in order to reduce its size

Actually, on my one year old Windows 7, it is 11 GB (about the 5% of the total used space)

Looking on the Microsoft Support I found this interesting command line utility DISM.

Execute the command prompt (Start->Run…->cmd) as administrator and type the following statement:


dism /online /cleanup-image /spsuperseded

The tool takes a little to perform all the operations

Once the tool finished you can check you directory, I gained 4GB.

[1] http://www.winvistaclub.com/f16.html

Published by Ivan Femia

I have more than 10 yrs of experience in IT; born as Windows Basis Administrator I moved rapidly to my real passion: web programming and R&D. I have been at Techedge since 2007 and I'm head of development of Techedge Labs Team. I focused my researches in emerging technologies, mobile, WebDynpro ABAP, Flash Island, Adobe Interactive Form and ABAP. My colleagues consider me one of the top reference for ABAP, ABAP OO, WebDynpro ABAP and high tech topic. I'm owner of the SCN Community Projects on SAP Code Exchange: abap2xlsx, augmentedSAP, abap2GApps, abap2docx and Clone Hunter. Follow me on Twitter @IvanFemia

Join the Conversation

3 Comments

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: