Main Forum > Everything Else

Reduce the sze of the Winsxs folder

(1/2) > >>

Willy2:
http://forum.piriform.com/index.php?showtopic=38170

Shane:
My Windows 7 winsxs folder is 7.30 GB. I ran the command

dism /online /cleanup-image /spsuperseded

And the size didnt change at all. But of course SP1 was already part of Windows when I installed, so no service pack files to remove.

http://blogs.technet.com/b/askcore/archive/2008/09/17/what-is-the-winsxs-directory-in-windows-2008-and-windows-vista-and-why-is-it-so-large.aspx

I know that you mess with the winsxs folder manually your system will crash and not come back. Only removing old things like service packs is what you can do.


--- Quote ---The only way to safely reduce the size of the WinSxS folder is to reduce the set of possible actions that the system can take – the easiest way to do that is to remove the packages that installed the components in the first place.  This can be done by uninstalling superseded versions of packages that are on your system.  Service Pack 1 contains a binary called VSP1CLN.EXE, a tool that will make the Service Pack package permanent (not removable) on your system,  and remove the RTM versions of all superseded components.  This can only be done because by making the Service Pack permanent we can guarantee that we won’t ever need the RTM versions.

So yes, the WinSXS folder is very large, and it will continue to grow as the OS ages.  I hope that this clears up some of the questions about why that is, and what you can do about it. Note that the Windows servicing structure and the layout of the store is subject to change.
--- End quote ---

Shane

Willy2:
Agree. One should be EXTREMELY careful with the "Winsxs" folder. When in doubt don't mess with it.

Shane:
I also find that it is the Winsxs folder that has problems with SFC.

When people post that the system file checker failed they send me their logs. When I read the log it says that the file it wants to restore needs to be restore from a file in winsxs but the file in winsxs is corrupt as well.

Which I dont think it is, Windows has to know how to tell if a file is corrupt or not, s hash or something, which means there has to be a list somewhere on the system. If I could find this list that points to the winsxs folder I might be able to see if it could be rebuilt, and thus fix SFC :-)

Shane

Willy2:
Does this help ?

http://forum.piriform.com/index.php?showtopic=38203

Navigation

[0] Message Index

[#] Next page

Go to full version