To change the service timeout period:
Click the Start button, then click Run, type regedit, and click OK.
In the Registry Editor, click the registry subkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
In the details pane, locate the ServicesPipeTimeout entry, right-click that entry and then select Modify.
Note: If the ServicesPipeTimeout entry does not exist, you must create it by selecting New on the Edit menu, followed by the DWORD Value, then typing ServicesPipeTimeout, and clicking Enter.
Click Decimal, enter the new timeout value in milliseconds, and then click OK.(Modify the value to a larger one. Here is no recommended value, adjust this value accordingly.)