I have a Windows 7 system, and my C: drive is regularly getting full.
What can I safely delete from the C: drive, especially the Windows system folder?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
The biggest stuff in
C:\Windows should be the
winsxs folder, read more about that problem Why does the /winsxs folder grow so large, and can it be made smaller?. Since that stuff is used by all kind of apps, you must not remove it. And since it is the biggest chunk (of "junk"), all other directories do not matter that much any more.
You can obviously remove some leftovers / rollback-stuff, best done via http://www.piriform.com/CCLEANER.
To make it short: Buy a bigger disk.
I've written a Blog post on the SuperUser Blog detailing some of the things you can do to scrape back some hard drive space. Read it at Where did all my hard drive space go?
To summarise, there are many things you can do, depending on whether there is functionality that you need:
Don't use hibernation? Then you can disable it and claim back a quantity of hard drive space equal to the amount of RAM you have, you just need to log on as an administrator, open a command prompt and type the following two lines:
powercfg –h off
Old Windows Update files can be deleted as the folder they are stored in used to get quite big. They are stored in
C:\Windows\SoftwareDistribution but you'll need to go through the method I detailed in the blog to properly clean the directory out.
System Restore is another hog and deleting old restore points can clean out space, you can even control how much space is available for use with System Restore
As an administrator, simply click the Windows Start menu icon, enter “SystemPropertiesProtection.exe”
WinSxS folder is a red herring and contains no data that is not already duplicated elsewhere and deleting it will save you nothing. This special folder contains what is known as a hard links to files which are scattered across your system and are kept in that folder to simplify matters slightly. The hard links take nearly no extra space in the filesystem as they are simply another pointer to already existing file data.
An alternative to the excellent CCleaner that Akira linked is a more commercially supported alternative from IOBits, Advanced SystemCare4. There is a free version available which will likely do just as much to clean out your system as CCleaner, but has a few added extras.
Since October 2013 the disk cleanup utility was enhanced with the ability to clean up Service Pack and Windows Update files, this is the safest way to reduce the sized of WinSXS folder.
KB2852386 is what added this feature and most W7 PC's have it installed now.
Cleanup first pass
Click Clean up system files button and this is what you will see.
Seven kinds of files you can safely delete from your C Drive without any negative effect.
Here is the location of them in C Drive.
Temporary files: C:\Windows\Temp
Download files: C:\Users%userprofiles%\Downloads
Browser’s cache files:
Chrome: C:\Users%userprofiles%\AppData\Local\Google\Chrome\User Data\Default\Cache
Internet Explorer:C:\Users%userprofiles%\AppData\Local\Microsoft\Internet Explorer\CacheStorage
Old Windows log files: C:\Windows\Logs\CBS
Windows upgrade files: C:\Windows\SoftwareDistribution\Download
It is recommended to develop the habit of emptying Recycle Bin. All the files we have deleted are still saved in Recycle Bin making it accessible to restore files. The files in Recycle Bin can be deleted from C drive without any affect.
By default, the files on desktop are saved on C drive. So, it is advisable for you to sort out the files on desktop and delete the useless files from desktop. Additionally, you can also change the location of desktop to other drive so that when you drop the file to desktop, it won’t take up space on C drive.
More details can be referred to this post: Which Files Can Be Safely Deleted From C Drive Hope it help!
I've been playing with the WinSXS folder in a few test installs and I have figured out a way to save some space. In a 3 month old Windows 7 Pro install on my laptop, the SxS folder grew to 14GB. I can safely delete 7.4GB of that without any issues.
I was a bit surprised to read that most "technical" write ups say you can't delete anything in the SxS folder without issues. This is just not true and I wonder if anyone has tried different scenarios or if that opinion is just grown off of Microsoft's warnings. There is one thing that you can't do after "cleaning" the SxS folder, but it's rare that you'd need to so I won't even waste the keystrokes.
I've had this running smoothly for a LONG time, and on the laptop I use for work as an IT Director, so I put it through it's paces - that's for sure. It's well worth the disk space in some cases. For example -- I love my laptop which is an older Dell and I've got an SSD drive in it. The SSD is only 60 gig, so space is at a premium. As is, I use a 32GB SDCard in the onboard reader to give me extra space, but knocking a chunk of useless crap off is a nice option when you don't need 75% of the files in that folder.
I'll do a write up on it and post it here in the next couple of days.