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: Winsxs Folder

16 Jun 2016   #1
townsbg

Windows 7 pro 64-bit
 
 
Winsxs Folder

On my 7 VM the winsxs folder is taking up ~15 gb of space which is way too much for a 40 gb drive. Is there a way to shrink it? I have less than 10 gb free, the windows folder is taking up 85% of that and winsxs is taking up 52% of that according to WinDirStat. I don't have many programs installed and the largest of which is Office. I cleaned up restore points and ran ccleaner both of which made very little difference. I don't keep much on the VM at all.
Winsxs Folder-windirstat_win7.jpg

Winsxs Folder-windirstat_win7_windowsexpanded.jpg




My System SpecsSystem Spec
.
16 Jun 2016   #2
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

It's recommended to leave it alone. Reason - you may be unable to uninstall some windows updates after cleanup.

However you can read this:

Cant cleanup system files

You need to make sure that the update mentioned is installed. KB2852386

and this:

How to Use Extended Disk Cleanup in Vista, Windows 7, and Windows 8
My System SpecsSystem Spec
16 Jun 2016   #3
townsbg

Windows 7 pro 64-bit
 
 

What from that menu am I suppose to select to shrink winsxs? The folder size didn't change at all.
My System SpecsSystem Spec
.

16 Jun 2016   #4
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

To explain more clearly:

Make sure that this update is installed:

Download Update for Windows 7 for x64-based Systems (KB2852386) from Official Microsoft Download Center

If it's not installed - install then reboot.

Then from an Elevated Command Prompt type:

cleanmgr.exe sageset10

Choose your settings for advanced disc cleanup in the window that opens.
Winsxs Folder-disk-cleanup-settings.jpg
Include Windows Update Cleanup

Once you've applied the settings from Elevated Command Prompt type:

cleanmgr.exe sagerun10

The cleanup will start. Watch the progress window. If you don't see a message like "Cleaning Windows Updates" then there was nothing to remove.

Note: The cleanup requires a reboot to complete. You can only compare the WINSXS folder size (before/ after) once you have rebooted.

EDIT: BarefootKid's tutorial that I posted earlier is a way to run Advanced Disc Cleanup Settings followed by the actual cleanup in one go.


My System SpecsSystem Spec
16 Jun 2016   #5
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

The above should work. Actually the way I do it personally is by using some third party software:
Winsxs Folder-disk-cleanup-1.jpg
Winsxs Folder-disk-cleanup-2.jpg
The command line shown is different because that's the command line needed when not using Elevated Command Prompt.

RE: sageset10 & sagerun10

The number 10 after each word is to remember and run the settings that you applied. They are stored and remembered for next time using that number.

So for example you could use sageset11 & sagerun11 to store and run totally different cleanup options.


My System SpecsSystem Spec
16 Jun 2016   #6
townsbg

Windows 7 pro 64-bit
 
 

Yes that update is installed and I ran your commands from an elevated command prompt. I'll try your suggestions on what to check.
My System SpecsSystem Spec
17 Jun 2016   #7
townsbg

Windows 7 pro 64-bit
 
 

Ok the cleanup saved a gig in winsxs. ccleaner saved over a gig because I ran it as administrator. I still have only 11.2 gig free. How can I get more from winsxs?
My System SpecsSystem Spec
17 Jun 2016   #8
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Best to leave it alone. That update that allows you to clean it up is the only official microsoft recommended way.
My System SpecsSystem Spec
17 Jun 2016   #9
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I know that we don't like to direct users off this site for help but this might help. Have a read.

Tutorial: Reclaim disk space in Windows Seven, Windows¬ 7¬ SP1 and Windows Server 2008¬ R2 – GabSoftware

Recommend reading section 7.4 in particular.

RE: Section 7.3. I delete on a regular basis but not without a system image backup.

RE: Section 7.1 There's a tool for that.

Windows Installer Cleanup Utility. Read more here: https://www.raymond.cc/blog/safely-d...taller-folder/

You can read about another utility "Patch Cleaner" posted in this thread:

patch cleaner / installer folder

Neither of those reduces the size of WINSXS after running the official cleanup method.
My System SpecsSystem Spec
17 Jun 2016   #10
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Quote   Quote: Originally Posted by townsbg View Post
On my 7 VM the winsxs folder is taking up ~15 gb of space which is way too much for a 40 gb drive.
Can you increase the size of the VM drive so you have more the 40 GB ?
Your specs show an Apple iMac and a WD 1 TB HD.
I don't know anything about VM's on an Apple, or what can be done to change a VM drive size.
My System SpecsSystem Spec
Reply

 Winsxs Folder




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
WinSXS folder - 6GB - does this look right
Hi-- I know there have been many prior threads on the WinSXS folder. On my 32-bit Win7 machine, I just completed running Disk Cleanup in Administrative mode after installing KB2852386 (the update for Disk Cleanup). This is what my folder currently looks like running WinDirStat just now: Is it...
Performance & Maintenance
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...
General Discussion
Winsxs folder in Windows 7 Ultimate
Hi All, I have Windows 7 Ultimate 64, and found out that the folder "winsxs" contains besides "backup" folder also more than 21,400 folders with about 9GB of files. Are those files really needed? Thanks
Performance & Maintenance
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
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


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 09:13.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App