Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Why does the /winsxs folder grow so large, and can it be made smaller?

This folder has grown to over 12GB and continues growing in size. Is there any way to clean it up without damaging the installed programs or Vista?

share|improve this question

migrated from stackoverflow.com Aug 1 '12 at 2:52

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Tom Wijsman, Indrek, 8088, Randolph West, Canadian Luke Sep 6 '12 at 21:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
But either way, there is no easy way to tell which version of DLLs and executables are and are not in use. The WinSXS stores different versions of the same DLL to maintain compatibility. Read this –  DarkCthulhu Jul 22 '12 at 14:34
    
@FrankComputer: would have been best if you had posted it there to begin with - this isn't programming-related in any way. –  Mat Jul 22 '12 at 14:35
    
Perhaps a program may be needed in order to determine which dll's are not in use? –  FrankComputerAtYmailDotCom Jul 22 '12 at 14:36
    
Quoting from the link: see answer –  DarkCthulhu Jul 22 '12 at 14:36
add comment

2 Answers 2

up vote 2 down vote accepted

This folder is essential for all the programs that you have installed. To prevent the "DLL hell", Windows copies required DLLs for every single installed program here. This way, installed programs do not influence each other. It is very common for this folder to grow over 10 GB and beyond.

Try uninstalling some unneeded programs, see if that helps. If you want to keep the folder small, reinstall your Windows and install as few additional programs as possible. But that maybe defies the purpose of having a personal computer at all.

So in short: it is a necessary evil to live with. It is a price we pay for compatibility.

share|improve this answer
    
If this problem has existed for some time now and has no real solution, I'm wondering why Microsoft has not addressed it a while ago? Win 7 has inherited the same problem and wondering if Win 8 has the same. I've been using a tool called Revo Uninstaller to uninstall programs and their leftover files, but it doesn't seems to remove the associated dll files from winsxs. I also don't understand why many software publishers don't make sure there are no leftovers when uninstalling their software! –  FrankComputerAtYmailDotCom Jul 22 '12 at 16:08
    
Microsoft has been obsessed with backwards compatibility for a long time, and that's why Win 7 are kind-of plagued by dozens of obsolete technologies. And SW manufacturers are a chapter of their own. –  Jakub Zaverka Jul 23 '12 at 14:21
1  
They aren't copies: they are low-level hard links. They look like the full file, but really it's just a shortcut. For this reason, the folder isn't taking up as much space as Windows Explorer says it is, because it's double counting that data. –  Joel Coehoorn Aug 1 '12 at 2:57
add comment

Quoting from this link:

There have been several blogs and even some “underground” tools that tell you it’s ok to delete the WinSxS directory, and it’s certainly true that after installation, you can remove it from the system and it will appear that the system boots and runs fine. But as described above, this is a very bad practice, as you’re removing the ability to reliably service, all operating system components and the ability to update or configure optional components on your system. Windows Vista only supports the WinSxS directory on the physical drive in its originally installed location. The risks far outweigh the gains removing it or relocating it from the system, given the data described above.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.