39

I have migrated software to a very slow sever. Some software services refuses to startup because of system timeout. How do I increase timeout from default 30 sec.(?) to several minutes?

Thank you in advance!

3 Answers 3

76

You can modify the timeout value in the registry.


1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:
 - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
3. In the right pane, locate the ServicesPipeTimeout entry.

**Note**: If the ServicesPipeTimeout entry does not exist, you must create it. To do this, follow these steps:

 - On the Edit menu, point to New, and then click DWORD Value.
 - Type ServicesPipeTimeout, and then press ENTER. 
4. Right-click ServicesPipeTimeout, and then click Modify.
5. Click Decimal, type 60000, and then click OK.
 - This value represents the time in milliseconds before a service times out.
6. Restart the computer.

6
  • 1
    user149591 please mark this as the answer. Feb 11, 2015 at 18:17
  • @NickDeMayo Seeing as how he hasn't been back since August 19th, that seems unlikely to happen. Feb 11, 2015 at 18:44
  • @HopelessN00b Can't mods mark stuff as answered on behalf of the users? :)
    – MichelZ
    Feb 13, 2015 at 12:52
  • 1
    For more discussion on how to control this timeout in other situations (Windows restart, etc) see this SO answer: stackoverflow.com/a/29928342/434413 Jul 20, 2017 at 13:02
  • 1
    @Dominique 2 to the 32nd power, minus 1. Not that a value that high will do you any good. That’s just how long Windows will wait... if a process is taking that long to start, it sounds to me like it’s having trouble starting, and it might not be the Windows service timeout that’s causing your pain. May 14, 2018 at 11:27
4

Here is a quick one-liner, that can be executed from an elevated PowerShell prompt and sets the pending service timeout to 3 minutes:

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control" -Name ServicesPipeTimeout -Value 180000 -Type DWord

1
  • Brilliant! Can't stand sludging through regedit.
    – BaseZen
    Feb 24, 2021 at 19:49
1

Please find a visualized answer by appuals.com

enter image description here

1
  • 2
    Hi, and welcome! Thanks for your answer, but please follow the guidelines. So: please answer with text and not just a picture (so it's easier to find and read), and add context to the link.
    – curropar
    Jun 24, 2020 at 11:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.