Setting up the IIS Services

The Internet Information Server(IIS) has several useful services :
Note IIS in Pro version is by default configured to handle 10 concurrent people browsing. It is possible to increase this limit to 20 (Each client requires 2 connections):
  1. Open a command prompt in this folder:

    c:\inetpub\adminscripts

  2. Execute this command (Max value for Srv. is 2000000000):

    cscript adsutil.vbs set w3svc/MaxConnections 40

Note IIS keeps the connection open for 5 min, by lowering the timeout it will close the connections quicker, thus giving room for new connections:
  1. Open a command prompt in this folder:

    c:\inetpub\adminscripts

  2. Execute this command:
    • To lower timeout:

      cscript adsutil.vbs set w3svc/ConnectionTimeout 60

    • To disable timeout (Closes connection right after request):

      cscript adsutil.vbs set w3svc/AllowKeepAlive 0

Related IIS Lockdown

Updated: 23 September 2007

Leave a Reply

Your email address will not be published. Required fields are marked *