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

I can't seem to find information on how to disable overlapped application pool recycling in IIS. Can anyone help me out?

share|improve this question
up vote 4 down vote accepted

The command should be:

cd \inetpub\adminscripts
adsutil SET w3svc/AppPools/DisallowOverlappingRotation "1"

Or, you can set it for a specific app pool with

adsutil SET w3svc/AppPools/AppPoolName/DisallowOverlappingRotation "1"

Be sure to replace "AppPoolName" with your app pool name.

I didn't test it, I typed it based on looking at the metabase, but it's going to be something very similar. If my first guess didn't work, let me know and I'll update it.

I'm curious why you want to set this. When are the overlapping app pools an issue?

share|improve this answer
The service in question requires exclusive access to TIBRV ledger files. With overlapped recycling we occasionally see errors if the second app pool process starts up prior to the first completely shutting down. – user26068 Dec 14 '09 at 19:52
Thanks for the reply. Sounds like a fairly unique requirement, but a valid reason to disable the overlapping. – Scott Forsyth - MVP Dec 14 '09 at 23:49
Certainly an uncommon situation. My scenario, a db4o database. I wonder if the same happens with the new in process sql express. Was hoping for a .config setting :(. – eglasius Apr 14 '11 at 14:52

I have just set this up (thanks to the previous answer for finding the right key) - it is not settable on individual app pools in IIS6, but must be set for them all:

AdsUtil //NoLogo set "w3svc/AppPools/DisallowOverlappingRotation" "1"

In IIS 7 it is settable for each app pool, and can be done in the GUI or using the Powershell IIS provider:

$recycling = Get-ItemProperty "iis:\apppools\${appPool}" -name "Recycling"; $recycling.disallowOverlappingRotation = $True; Set-ItemProperty "iis:\apppools\${appPool}" -name "Recycling" -value $recycling;

share|improve this answer
-1 It is settable per application pool in IIS 6, as confirmed in the IIS Documentation. – Holistic Developer Jun 12 '14 at 21:05

Your Answer


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