Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: 17GB in winsxs folder help to reduce please

09 Aug 2013   #1
Angelo Dinoto

Windows 7 Home Premium 64bit
 
 
17GB in winsxs folder help to reduce please

With 17GB in my winsxs folder I have tried the administrator command prompt by entering :dism /online /cleanup-image /spsuperseded

but got a few error messages one was like 87 and another one
then
I entered suggested command [from:http://www.microsoftpro.nl/2011/07/2...-2008-r2-sp1/]
in the command prompt:
Takeown /f %windir%\winsxs\ManifestCache\*
Icacls %windir%\winsxs\ManifestCache\* /GRANT administrators:F
Del /q %windir%\winsxs\ManifestCache\*

and this took out my Control Panel [hahaha wow]

so I did a System Restore and got my control panel back.

then I toyed w/the idea of deleting previous restore points and saving the most recent one.
Then I wondered about unchecking the Archiving and Indexing boxes for that : winsxs folder.

And then I found this site when I was pondering about CCleaner, and heard some experts here denouncing it w/admirable opinions based on experience.
So I think that I have found the right people to give a clear answer on this problem.
Thanks for your time and expertise... I bow down to you all.


My System SpecsSystem Spec
.
09 Aug 2013   #2
madcratebuilder

Win8/8.1,Win7-U64, Vista U64, uncounted Linux distor's
 
 

Read THIS.
My System SpecsSystem Spec
09 Aug 2013   #3
LMiller7

Windows 7 Home Premium 32 bit
 
 

The apparent size of the winsxs folder is deceptive. As mentioned in the article linked to above, the system is using hard links. Hard links are a feature that allows a single copy of a file to appear in multiple folders. This saves considerable disk space but it does make determination of disk usage more difficult. However the disk usage of hard links is reported it will give misleading results for some purposes.

You will find various articles on the Internet suggesting ways to reduce the storage requirements of the winsxs folder but this is not recommended. This will lead to serious and difficult to resolve issues.
My System SpecsSystem Spec
.

10 Aug 2013   #4
Angelo Dinoto

Windows 7 Home Premium 64bit
 
 
there-in is the conundrum

on the one hand a solution is offered as in the one above :"Read This"
and then in the same breath another opinion is to NOT do it.

HELP MR. WIZARD..........!!!

Is there no clear answer to this popular problem?
My System SpecsSystem Spec
10 Aug 2013   #5
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

If you touch winsxs, you will brick your system. So leave it alone.

winsxs, which is not really a folder but a kind of directory, grows each time you install a new program. It is the repository for e.g. .dlls that come with programs. But those are not deleted when you uninstall the program. That is in the nature of .dlls which are 'common' subroutines and can be used by any process in the system. And the uninstaller just does not know which processes may use them since they were installed.

The only way to reduce winsxs is to reinstall the system and to refrain from installing programs. The winsxs for a fresh installation will be around 5GB. But a winsxs of 15GB is not unusual - I would call it slightly above average. Mine is 10GB.
My System SpecsSystem Spec
11 Aug 2013   #6
Angelo Dinoto

Windows 7 Home Premium 64bit
 
 
winsxs

Ok that sounds clear enough.
So those folks are using the dism administrator command prompt; what are they ending up with?
They proclaim that they have decreased their load by so many GB but have they lost functionality of certain programs?
Thanks for your response.
My System SpecsSystem Spec
10 Sep 2015   #7
gooroo72

Windows 7 Pro SP1 build 6.1.7601.18489
 
 

Hi!
I was trying to reduce my 16,7GB winsxs-folder as well, and tried some of the well-known methods:

1. In an elevated cmd-prompt "cleanmgr /sageset:11", choose what you want to get rid of, and then run that with "cleanmgr /sagerun:11". No dice, I can't remember if I got an error or not when executing the run, but nevertheless, I got no results.

2. I uninstalled and reinstalled my KB2852386 ("Advanced cleanmgr"), to no avail.

3. In an elevated cmd-prompt "DISM /online /Cleanup-Image /SpSuperseded" No dice, got an error.

Then I saw a post where someone said that he didn't have enough space to run these commands, and decided to give it a try. I had 6GB of free space to begin with, and luckily I had 8GB of unallocated space adjacent to my system partition, so this was a breeze (Win+r diskmgmt.msc).

So now I had 14GB of free space, and I decided to try option #3 first. Success. At least the command ran through, and reported success in deleting backups created during the installation of the Service Pack. I also can report 2,5GB of gained total free space in C:\, but the winsxs folder has shrunk from 16,7GB to 11,6GB. I'll have to investigate later why I didn't gain 5GB of free space, but this seems very nice for now. Hmm, it seems my C:\Windows\Logs\CBS\CBSPersist_xxxxxxxxxxxxxx.log is now over 2GB, might have to delete this soon =). C:\Windows\Temp contains 250MB of crap, so that's already pretty close to the original 5,1GB shrinkage of the winsxs folder. Oh well, I had already given up on this, so these results are all just a bonus.

Next I tried the Advanced Clean manager (see option #1), but although the command went through without any errors, it didn't significantly reduce the size of my winsxs folder.

So all in all, I'm convinced that the lack of working space was the reason why I wasn't successful at first in shrinking the winsxs folder. Should you need to clear more free space in your system partition to run these commands to free up some more space (logical, so logical), you might consider moving your pagefile to another partition if you have one, or reducing the size of the pagefile (if you have lots of RAM, you could disable the pagefile alltogether at least to accomplish the task at hand), and disabling hibernation (google is your friend). Also, using a program like CCleaner might prove very helpful in freeing up some space to get options #1 and #3 to work. Btw, relocating the hiberfil.sys to another drive/partition might be as easy as creating a partition on the desired drive with the Type ID 0x84 (hibernate). This probably requires a third party program, unless you're savvy with Windows' diskpart. Good luck!
My System SpecsSystem Spec
Reply

 17GB in winsxs folder help to reduce please




Thread Tools





Similar help and support threads
Thread Forum
Reduce/remove winsxs & winRE.wim BEFORE instalation
There are plenty of discussions of reducing the winsxs folderafter the fact, but I couldn't find anything for before as in using RT7 Lite and Winreducer to trim the installation media to reduce the bloat. The specific folder is Windows\winsxs\Backup. Can I assume this is a duplication of the...
Installation & Setup
10+GB winsxs folder cleanup?
So 10 gb seems kind of alot - and i havent actually kept my pc up to date (dont wanna think what it will end up if i install all the updates). It is SP1 the dism command line approach (dism /online /cleanup-image /spsuperseded /hidesp) didnt even make a dent - it run, reports nothing found and...
Performance & Maintenance
How to reduce the size of WINSXS?
My original installation of Win7-64, along with all my application software, took about 22GB on my 64GB SSD. Now, after about a year's use, my Windows folder itself is taking up 21.1 GB and my SSD is nearly 50% full. The WINSXS folder is the single largest consumer of space on my system, and it...
Software
Moving the winsxs folder
I have a system that I set up with two drives; a main SSD and a standard HDD. I used Sysprep to move Users and ProgramData to the larger, slower HDD to preserve the SSD. I realized that most of the writing to the SSD now occurs in the Windows folder, specifically the winSXS folder. Is there...
General Discussion
winsxs folder
can it be deleted without damage to the system , i ask this as it has took up 11gb of space in my hard drive , thanks
General Discussion
PCSync and WinSxS folder security
Hello, I am having a a problem with Windows 7 64 bits. I am trying to install a software (PCSync for my cell phone Motorizr Z8) but everytime i try to install it, the next error message is being shown: Product: Motorola PcSync -- Error 1303.The installer has insufficient privileges to access...
Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App