Microsoft Knowledge Base Email Alertz

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 topChange the IISReset Timeout ValueChange the IISReset Timeout Value On the

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 321674 - Last Review: December 3, 2007 - Revision: 4.3

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

This article was previously published under Q321674

On This Page

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).

Change the IISReset Timeout Value

  1. On the Web server, open a command prompt. To do this, click Start, click Run, type CMD, and then click OK.
  2. At the command prompt, type IISRESET /TIMEOUT:val, where val 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.

  3. Type Exit to close the command prompt window.

REFERENCES

For more information, see the IIS Help files and online documentation.


APPLIES TO
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Services version 5.1
  • Microsoft Internet Information Services 6.0
Keywords: 
kbhowtomaster KB321674
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate