Disk Space issues

In our setup, we frequently get disk space issues for system Drive,

Most of my seniors asked to perform disk cleanup, clear temp files. Even after clearing these files, we are not able to meet the threshold limit.

suggest us to clean the system drive, both in 2003 and 2008 servers.

where and all we can clear logs and what files we can delete inside system drive without affecting the servers..
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It depends on what is intalled on services on the machine and how large the C drive is. I normally tend to see that Windows goes up to about 20GB on data without having extensive logging on the server.

Normally all temp directories can be cleared, but do you use internet on the server? If so, remove all unnecessary profiles and clear IE cache, this tends to hog up space. Also, you can remove the folder C:\Windows\Installer\$patchcache$. This is a folder that makes sure you can remove Microsoft update pacthes. Do keep in mind when deleting this you cannot remove Microsoft patches anymore so the question is do you want this to happen??
Server 2008 R2 has a feature that can cleanup old updates:


Otherwise I usually cleanup the old updates by using server cleanup wizard:

Dan McFaddenSystems EngineerCommented:
The process of cleaning up a system drive depends on what functions the servers support.  For example, Domain Controllers, IIS Servers, Database servers, etc., all have files that can be either moved or deleted, in addition to the typical temp & uninstall clutter.

- Are you using SCCM?  There is a configurable cache that can be cleared and reduced in size.
- You can also minimize the size of the recycle bin on the system drive.

Best practice is to keep any and all log files (where possible & configurable) off the system drive.  Keep all database (system and user dbs) files on a volume other than the system volume.  If possible, place the AD database on a different set of disks than the system.  Store IIS logs elsewhere and compress them if you must keep them.

I suggest downloading treesize free (http://www.jam-software.de/treesize_free/) to analyze what is taking up the most space.  Then determine if the space hog(s) can be either moved to a different disk or safely deleted.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Yes good point Dan,

I use TreeSizeFree on my servers and it is a great tool. Sometimes you can see some files or folders which are large and can be moved off to another drive that you may have missed. I forgot to mention I use treesize.

Apart from all the usual moving of files and cleaning disk space and emptying recycle bin etc I find that for server 2008 and on then usually the Winsxs folders and the like just grow and that is evident using treesize.
Dan McFaddenSystems EngineerCommented:
Have a look at OvaFlow.com.

It's a free application that will allow you to see your daily growth for not only your C: system volume but also your data drives. The upshot is that you can see what typically your servers are growing by growth wise so you can plan capacity accordingly.

Takes about 15 minutes to install as well.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.