Skip to content

Instantly share code, notes, and snippets.

@gruntruk
Created May 25, 2018 19:07
Show Gist options
  • Save gruntruk/06d77f0886b4d7f206bacfa2e5c9d3ec to your computer and use it in GitHub Desktop.
Save gruntruk/06d77f0886b4d7f206bacfa2e5c9d3ec to your computer and use it in GitHub Desktop.
commands:
setIdleTimeoutToZero:
cwd: "C:\\windows\\system32\\inetsrv"
command: "appcmd set apppool /apppool.name:DefaultAppPool /.processModel.idleTimeout:0.00:00:00"
setAlwaysRunning:
cwd: "C:\\windows\\system32\\inetsrv"
command: "appcmd set config /section:applicationPools "/[name='DefaultAppPool'].startMode:AlwaysRunning"
setStartMode:
cwd: "C:\\windows\\system32\\inetsrv"
command: "appcmd set config /section:applicationPools "/[name='DefaultAppPool'].idleTimeoutAction:1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment