vote up 4 vote down star
5

A lot of disk space is taken up by a default Windows installation in various temperory and backup data that may never get cleaned up on its own. Eventually you realize that the large multi hundred gigabyte drive you installed on, is actually running out of space.

What are your favorite configuration tweaks and routine activities
on a standard Windows Installation to keep it tidy and clean from a disk utilization standpoint?

There are probably,

  • many things on the border of being safe
  • some very specific to the flavor of Windows (XP/Vista/7?)
  • and, some that are specific to commonly used applications (Symantec?)

Please flag your answer with such cautions, information to indicate special conditions and warnings to your best knowledge.

I'll add my points as an answer.

flag

40% accept rate
Multi-hundred gigabyte system drive and running out of space all the time? what are you doing exactly? – Svish Jul 18 at 21:02
Wouldn't you like to know? :) – Robert Harvey Aug 17 at 5:24

9 Answers

vote up 9 vote down

I like WinDirStat, a free (open source) tool that scans the file system and visually presents statistics about your files. You can use this to determine which files are the largest, where is everything located, etc.

alt text

From the site:

WinDirStat reads the whole directory tree once and then presents it in three useful views:

  • The directory list, which resembles the tree view of the Windows Explorer but is sorted by file/subtree size,
  • The treemap, which shows the whole contents of the directory tree straight away,
  • The extension list, which serves as a legend and shows statistics about the file types.
link|flag
While this is useful to find stuff no longer required, I am more interested in the system and standard application files that waste space. – nik Aug 5 at 12:14
vote up 4 vote down

SpaceMonger is a handy utility for figuring out which files / directories are eating up your disk space. It produces a nice interactive graphical map where you can zoom in and out and delete things you don't need at your discretion.

Also Nlite and Vlite are useful for building stripped-down installation media for Windows XP and Vista respectively. You can leave out all the extras that you don't use so that your initial install footprint is smaller.

link|flag
2  
I have an older free copy of SpaceMonger. Its very useful. – nik Jul 18 at 18:44
vote up 3 vote down

CCleaner is good, in the Windows options at the bottom you can clear up hotfix uninstallers, and other Windows stuff.

link|flag
1  
CCleaner and RevoUninstaller are two good things to keep handy. – nik Jul 18 at 18:44
vote up 3 vote down

A Windows system creates System Restore points and the default configuration allows a lot of space to be reserved for these restore points. When you know that the system is not going to need 'uninstalls' (meaning, everything you recently installed is working fine) you can delete all but the most recent restore point.

This can be done from

  • the "Free up space on your hard disk" option in
    • Control Panel,
      • Performance and Maintenance

Its quite deep and usually missed out.


The Recycle Bin usually defaults to 10% of your disk partition (for each partition).
For a 100GB drive, this becomes 10GB reserved for recycle bin.

  • you can reduce the default to a lower value more useful for your setup
  • you can also choose to configure recycle storage individually for each partition

I also use this short cut to clean the recycle bin once in a while,

%windir%\system32\cleanmgr.exe /D


Deleting Uninstall Folders.
Already mentioned in another answer here.
There is a script reference here.

Tested on Windows XP, Requires WScript and VBScript (which would be with most Windows OS)


RevoUninstaller is a good freeware to cleanup stray files left around by application uninstalls. It does a pretty neat scan for files hanging around from a rough uninstall.
I also like CCleaner mentioned in another answer here.

link|flag
vote up 1 vote down
  • compcln.exe from an elevated command prompt. Makes service packs (Vista SP1+2) permanent but clears some of the backup files.

  • vsp1cln.exe, the same thing but for Vista SP1

link|flag
compcln.exe appears to be a SP2 for Windows Vista and Windows Server 2008 specific tool. – nik Jul 18 at 18:47
vote up 1 vote down

I don't know if these are still present in Vista/7, but in XP, the $NtUninstall**$ folders in your Windows directory can take up quite a bit of space and can be safely deleted (assuming you don't plan on ever needing to uninstall any Windows Updates).

link|flag
A very good point. – nik Jul 19 at 16:22
vote up 1 vote down

Another thing you can delete merrily are subdirectories of C:\WINDOWS with names that begin and end with '$' and have the word "uninstall" in their names. These are backup system files from installations of service packs and OS updates. You'll see they are listed in blue; that means they're compressed. TYpically, you're never going to revert such updates.

These directories do NOT get erased by the Disk Cleanup tool in XP. I'm not certain about Vista or 7.

link|flag
vote up 0 vote down

Vista (and, from what I've read, XP) does not always delete files when you empty the recycle bin. Sometimes they're stored in a $RECYCLE.BIN folder on your C drive. When I begin to get a little short on space, I delete the entire folder, which gets recreated (minus all of the files) automatically. To delete the folder, you should be in an elevated Explorer window.

I haven't found a good answer for why the files are there (mainly because I don't care enough to figure it out), but I get the idea that they're kept for restore points. If you feel like you're likely to do a system restore, I'd make a full backup of the drive first.

link|flag
@Babu, I would suggest you cleanup up System Restore Points with the method in my answer rather than try forcing them out. I think, if required, you can also turn of system restore completely (would suggest against that, though). – nik Aug 17 at 14:20
Thanks for the advice! However, the purpose of this was to get rid of several gigs of files that I had deleted a year ago that was lingering in the directory. I'm not even sure if it disabled the restore points, but I suspect it might have. – Babu Aug 17 at 18:05
vote up 0 vote down

RidNacs is an easy to use and fast disk space usage analyzer. It scans your local drives, network drives or single directories and displays the results of the analysis in a tree view with a percentage bar.

This gives the user a quick and easy way to identify the largest directories and it's very useful for cleaning up the disk. The result of the scan can be exported in different formats (XML, HTML, CSV, TXT), so it could be printed or compared with future scans.

Besides of all these benefits RidNacs has an outstanding scan performance and it scores with a small memory footprint

alt text

link|flag
@Molly, This looks like another nice tool to check disk utilization. It seems that even after answering my own question here with a sample, there is a general misinterpretation: I am not looking for tools to tell me my disk utilization. I am interested in known ways to identify wasted disk space and maybe tools that will tell me about other places my disk space is wasted by the Windows System itself. These disk utilization tools typically tell me how 'I' have 'wasted' the disk space -- which is a rather subjective detail :) – nik Feb 25 at 2:11
To taken another view from your answer, the picture from the tool tells me that the system has a 1GB Page file and some 686 KB in Recycle bin. I could use that to decide if I want to change these things to make more space (or, maybe give some more space to Windows). – nik Feb 25 at 2:15
@nik - sorry, i stumbled over this gem today and i thought i post it at SU, your thread happened to be the first hit when i was searching for an appropriate place to post. :) – Molly7244 Feb 25 at 2:21
@Molly, that is fine, I am sure others will reach here looking for this information :-) somehow I managed to be less clear on what I wanted with this question. Now that you know what I want, maybe you can look for suitable answers and add them as another post here... – nik Feb 26 at 2:24

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.