title: What is the Start and Stop timeouts for a Windows Service?
body: <p>I am looking for documentation that defines the default timeouts for both <em>Start</em> and <em>Stop</em> of a Windows Service. I am aware of a <a href="https://stackoverflow.com/q/1160295/700926">similar asked question</a> but it only covers how to extend the Start timeout - not what the actual values are. Further, <a href="https://stackoverflow.com/q/13454054/700926">this question</a> asks about the Stop timeout, but the answers are not backed by any documentation and seems to be focused on the timeout Windows gives services to stop at OS shutdown.</p>
  
  <p>From <a href="https://serverfault.com/q/111045/160894">this serverfault question</a> and <a href="https://support.microsoft.com/en-us/kb/922918" rel="nofollow noreferrer">this Microsoft KB-article</a> it can be derived that the Start timeout is most likely 30 seconds, but I am amazed I cannot find anything that documents what the exact values are. Further, the Stop timeout is not mentioned.</p>
  
  <p>I have been searching for this for a while, but without any luck.</p>
  
  <p>References to official documentation would be greatly appreciated.</p>