In Registry Editor locate and then right-click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Point to New and then click DWORD Value – in the right pane of Registry Editor a new value named New Value #1 will appear – type ServicesPipeTimeout to replace New Value #1 and then press ENTER
Right-click the ServicesPipeTimeout registry entry that you created in step 3 and then click Modify – the Edit DWORD Value dialog box will appear and change Base to Decimal – in the Value data text box type <TimeoutPeriod> where TimeoutPeriod is the amount of time allowed for service to start (in milliseconds) and then click OK – finally restart the machine