Question : How do I programmatically set the idle-timeout for the IIS app pool?

Using Inno Setup, I need to make it such that an existing (or new) application pool will have a specific idle-timeout value.  This needs to work for all versions of IIS.

My first approach was to use the adbutil.vbs file and execute a script via the command-line, but I am not aware of which parameter to set or how to set it.  

Does anyone know, how to set the idle-timeout for the IIS app pool, programmatically, or via the command line?

Answer : How do I programmatically set the idle-timeout for the IIS app pool?

taken from http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/83b35271-c93c-49f4-b923-7fdca6fae1cf.mspx?mfr=true

cscript %SystemDrive%\Inetpub\AdminScripts\adsutil.vbs set W3SVC/AppPools/ApplicationPoolName/IdleTimeout n
Random Solutions  
 
programming4us programming4us