Microsoft KB Archive/321674

= HOW TO: Configure IISReset to Wait Longer than the Default Time to Reset Services =

Article ID: 321674

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Services 5.1
 * Microsoft Internet Information Services 6.0

-



This article was previously published under Q321674



IN THIS TASK
SUMMARY
 * Change the IISReset Timeout Value

REFERENCES



SUMMARY
This step-by-step article describes how to change the IISReset timeout value to wait longer than the default time to reset Internet Information Services (IIS).

back to the top

Change the IISReset Timeout Value
 On the Web server, open a command prompt. To do this, click Start, click Run, type CMD, and then click OK.  At the command prompt, type IISRESET /TIMEOUT:, where  is a numeric value that is measured in seconds. The following screen shot from the command prompt provides more information: /TIMEOUT:val       Specify the timeout value (in seconds) to wait for a successful stop of Internet services. On expiration of this timeout the computer can be rebooted if                   the /REBOOTONERROR parameter is specified. The default value is 20s for restart, 60s for stop, and 0s for reboot. An example of what you can expect to see in the command prompt window is as follows: C:\>iisreset /timeout:45

Attempting stop... Internet services successfully stopped Attempting start... Internet services successfully restarted

C:\>

NOTE: To view a complete listing of the parameters that can be used with IISReset, type IISRESET /? at the command prompt.

 Type Exit to close the command prompt window.

back to the top

