Resolution | RESOLUTION 1
By default, Windows has a timeout of 30000 milliseconds for a service to start. We can change the timeout by modifying the ServicesPipeTimeout value in the registry:
- Click Start > Run and type regedit in the text box and click OK.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control - 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, hover over New, and then click DWORD Value (32-bit).
- Type ServicesPipeTimeout, and then press Enter.
- Right-click ServicesPipeTimeout, and click Modify.
- Click Decimal, type 60000, and then click OK.
a. The maximum value can be set to be 300000. b. Sometimes, depending on the environment, the maximum value has to be used. This value represents the time in milliseconds before a service times out. - Restart the computer.
RESOLUTION #2
- Run the attached PowerShell script as an account with Admin access on the server. The script sets the ServicesPipeTimeout to 300000
- Restart the computer.
|