Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Seems that the assemblies from my web apps are eating all my precious server disk space. Why is that and how do I clean this up?

   227.778  c:\windows\\framework64\v2.0.50727\temporary files\integrator
   331.373  c:\windows\\framework64\v2.0.50727\temporary files\root
 4.881.531  c:\windows\\framework64\v2.0.50727\temporary files\services
   139.975  c:\windows\\framework64\v2.0.50727\temporary files\test
 1.411.048  c:\windows\\framework64\v2.0.50727\temporary files\test_services
 1.917.421  c:\windows\\framework64\v2.0.50727\temporary files\web
 8.909.129  c:\windows\\framework64\v2.0.50727\temporary files

Files:        23953
Directories:  19487
Size:         9.122.948.617 bytes
Size on disk: 9.122.948.617 bytes
share|improve this question
up vote 0 down vote accepted

You can have a look inside these folders to see, what files are big. For the cleanup part. You can safely delete these files using Windows Explorer. The best would be to stop IIS for this operation and start it afterwards again (if possible). The necessary files will be regenerated.

But you should definitely try to find out WHY stuff grows that much

share|improve this answer
OK, I understand now. The reason it grows is that we're doing continous integration, sometimes deploying several times a day. Stopping IIS is not an option, but I guess I can just manually delete the oldest folders and be safe. – Felix Ungman Aug 17 '10 at 7:54
Yes you can also delete the files when IIS is running (except the currently locked files of course) – Scoregraphic Aug 17 '10 at 8:28

You can also move these files to another drive so that they can grow as needed. It's set in your root machine.config file in your framework/config folder. Search for tempDirectory=....

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.