Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are the files which can be deleted in a windows server running IIS where the drives are getting filled up.

share|improve this question
up vote 4 down vote accepted

Remove redundant user profiles, clear out %TEMP% and IIS logs. Empty the recycle bin (you never know what's hanging around in there!).

share|improve this answer

You can delete all the subdirectories in "C:\WINDOWS\" whose names begin with "$NtUninstall*", provided you don't want to uninstall any of the patches to the operating system.

Those subdirectories are hidden, so make the adjustments necessary to Explorer.exe to be able to see them.

share|improve this answer

How about the IIS log files?

share|improve this answer
The log files are already batched to rar itself for 'n' days in the machine. Is there a way to delete identify all the temp directories in a windows machine which will speedup the process – Riyas Nov 20 '10 at 20:51

The only files that should be filling up the disk are the IIS log files, the system log files and the files used for the web site(s). The system log files might be setup to autoarchive especially in a DoD system. Check %system%\System32\Config to see if you have a bunch of event logs.

Your other options are to expand the partition or get larger drives.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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