A slow service does not start due to time-out error in Windows
This article provides a workaround to an issue where a slow service does not start due to time-out error in Windows.
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows 10 - all editions
Original KB number: 922918
To work around this problem, modify the registry to increase the default time-out value for the service control manager. To increase this value to 60 seconds, follow these steps:
Click Start, click Run, type regedit, and then click OK.
Locate and then click the following registry subkey:
In the right pane, locate the ServicesPipeTimeout entry.
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.
Right-click ServicesPipeTimeout, and then click Modify.
Click Decimal, type 60000, and then click OK. This value represents the time in milliseconds before a service times out.
Restart the computer.
- This workaround may resolve the problem where the service does not start. However, we recommend that you research this problem to determine whether it is a symptom of another problem.
- Increase the number carefully. We recommend you increase the number with a small amount at a time untill the service can start.
The service control manager waits for the time that is specified by the ServicesPipeTimeout entry before logging event 7000 or 7011. Services that depend on the Windows Trace Session Manager service may require more than 60 seconds to start. Therefore, increase the ServicesPipeTimeout value appropriately to give all the dependent services enough time to start.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
839803 The Windows Trace Session Manager service does not start and Event ID 7000 occurs