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: Cant cleanup system files

24 Jul 2014   #1

windows 7 ultimate
Cant cleanup system files

Hi all,
I've just migrated to an SSD and need to recover space. My winsxs contains 9gb. I don't see the option to clean up the system files, as described in several threads. I ran diskclean in admin mode. I also navigated to the addon for the update, (Windows6.1-KB2852386-x64.msu), which said i had it installed already. All updates are installed (except langauge packs).

Not sure the cause, but any help welcome

My System SpecsSystem Spec
24 Jul 2014   #2

Windows 10 Pro X64

Don't mess with winsxs, leave it alone.

From the horses mouth, so to speak: Clean Up the WinSxS Folder
My System SpecsSystem Spec
24 Jul 2014   #3
Layback Bear

Windows 7 Pro. 64/SP-1

Windows 7 is trying to protect itself that is why winsxs is not shown.
Just leave winsxs alone and let Windows 7 take care of it.
You will find many things that Windows 7 doesn't want the owner/operator to fool with for good reasons.
My System SpecsSystem Spec

24 Jul 2014   #4

Windows 7 Pro 64 bit

The large size of the winsxs is more apparent than real. The NTFS file system has long had the capability of having a single copy of a file appear in more than one folder. Vista and later systems use this feature quite a bit. It saves quite a bit of disk space.

Leave the winsxs folder alone. Improper modification can have serious consequences.
My System SpecsSystem Spec
27 Jul 2014   #5

windows 7 ultimate

Thanks for the replies.

However the question i'm asking is why i can't see the option to 'cleanup system files' on the diskcleanup tool. This post indicates it should be possible from diskcleanup. However I don't see this option on any of my windows 7 machines, despite the fact that they indicate that the update is installed.

My System SpecsSystem Spec
27 Jul 2014   #6

Windows 10 Pro

My System SpecsSystem Spec
27 Jul 2014   #7

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

Microsoft made winxs cleanup available via an update as you mentioned. If you want to see the option to clean then go to

Start> Run then type

cleanmgr.exe sageset10

Press Enter:

(Replace sagest10 with any number you like - for example sageset5) just remember the number that you used as when you run disk cleanup using this setting number it will remember those specific settings.

Make your choices by ticking the checkboxes.

To run the cleanup go to

Start> Run then type

cleanmgr.exe sagerun10

Replace sagerun10 with sagerun followed by whatever number you chose.

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


I've corrected spelling errors! Also if the above doesn't work for you (it has always worked for me) then use the info in Ztruker's link and try:

cleanmgr.exe /sageset:1
cleanmgr.exe /sagerun:1

instead of:

cleanmgr.exe sageset10
cleanmgr.exe sagerun10

Also note that cleaning up Winsxs will free up lots of space but will leave you unable to uninstall some windows updates or service packs so make sure that your machine is in good working order before going ahead.
My System SpecsSystem Spec
28 Jul 2014   #8

Windows 10 Pro X64

Never heard of that before. Google gives a bit more info:

If you use the advanced switches to run Disk Cleanup it actually offers a lot more choices. In the /sageset:1 switch, 1 is just an arbitrary number. You can enter any number you want, but make sure /sagerun:x corresponds to the number you used in /sageset:x. So you can customize the switches for different types of files you want to clean in Disk Cleanup Settings.

For example, maybe you only want to clean Temp Internet files during a cleanup session, then you could do /sageset:1 and /sagerun:1 for that. Then if you want to clean up all files you could use /sageset:10 and /sagerun:10 for that. The switches give you more flexibility in the types of files that are deleted during the Disk Cleanup session.
Found here: How to Schedule Disk Cleanup in Windows 7 & Vista
My System SpecsSystem Spec

 Cant cleanup system files

Thread Tools

Similar help and support threads
Thread Forum
Disk Cleanup not removing system update files/SFC can't fix problems
Disk Cleanup claims it can remove about 9.5 GB of old system update files, but upon running it, nothing happens (and I don't free up any space). This may or may not be related, but I ran SFC and it found problems it couldn't fix. I've attached the logs.
Performance & Maintenance
Performed System Cleanup-Rebooted system Continuous loop "Cleaning Up"
Hello all, Helping a friend on their Laptop PC, Sony Vaio, Model: PCG 61813L (2 yrs old). OS = Win7 Home Premium. Having the following problems: Maintenance has never been performed: I performed a system cleanup, removing old files. Completed a defrag using the installed Windows Defrag...
Performance & Maintenance
Disk Cleanup and Temporary Files
I had a question about the Disk Cleanup in Windows 7 Home Premium: The disk cleanup box says, "You can safely delete temporary files that have not been modified in over a week." When I run disk cleanup, does it only delete files older than one week or all of them? I want to make sure that...
Performance & Maintenance
Disk Cleanup system files, Safe?
Was trying to optimize my computer with this thread, I cleared my unnecessary non-system files, but Im worried about clearing my unnecessary system files, as it doesnt really say what its gonna delete. The things Im worried...
Performance & Maintenance
Disk Cleanup: Why was Compress Old Files removed?
Hey there, I migrated from WinXP Home to Win7 Pro, so I do realize I skipped a generation when I ask this question. I found that the Compress Old Files helped save me gigabytes of space at times. The philosophy as I interpreted it made sense - if you didn't use files, it's safe to trade...
Performance & Maintenance
Disk Cleanup - clean up system files
Is there a way to run Disk Cleanup in Windows 7 that makes the "clean up system files" option available immediately? It's annoying to have to always run it twice.
Performance & Maintenance

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 16:52.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App