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

I accidentally deleted the deleted temp app Pools folder, what can I do all my sites dont show up? This is on server Windows 2008. I restarted IIS but nothing. I dont have access to a backup at the moment.

share|improve this question

You should restore the folder from Backup

share|improve this answer
What if I cant? – Mike Flynn Apr 24 '14 at 20:33
Then you might want to state that in your original question – MichelZ Apr 24 '14 at 20:39

I agree with MichelZ that you should restore from backup, however that's assuming you took any manual backups before tweaking anything in IIS. I would be backing up the server from a system level with some sort of backup software; obviously you can take your pick here from dozens of great vendors. I would also be taking manual IIS backups before major changes. IIS will take backups of its own, but it's nice to be able to go back to exactly where you want to. To do this open a Command Prompt as Administrator and navigate to C:\Windows\System32\inetsrv

From here use the appcmd command like this: C:\Windows\System32\inetsrv\appcmd add backup "My Backup Name" (where My Backup Name is the name you give your backup)

Typically I like to name my backups something meaningful in case I have to go back and restore. Something like "Pre ASP Authentication Config on Site X" that way I know that that is where I made big changes to ASP on a particular site in case I need to revert to before I made those changes.

Good backup, restore source here.

share|improve this answer
up vote 0 down vote accepted

I restarted server and it looks like it recreated the folders. Holy mother, why would Microsoft put important files like that in a folder named temp. User error too, I should of been more careful and researched that!

share|improve this answer
Why would you run a system without backups? – Iain Apr 25 '14 at 5:52
It does have backups, just would of taken time to get it from the admins. – Mike Flynn Apr 25 '14 at 19:08

The temporary configuration files in that folder are generated for security (isolation) reasons by the WAS process. There is a separate config file for each individual app pool. Details are described here:

It seems that restarting an app pool or IIS is not sufficient to trigger the WAS process to regenerate the files. Only restarting the server appears to trigger the process to regenerate the files..

Although I didn't try it, is seems to me that restarting the WAS service should also be sufficient to trigger the regeneration of the files, as would be touching / changing the applicationHost.config file.

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.