The following steps will resolve the issue.
1>Press Windows key + R to open up a Run dialog box. Next, type ‘regedit’ inside the text box and press Ctrl + Shift + Enter to open up the Registry Editor with admin access.
2>Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control and click on control.
3>With the Control registry folder selected on the left-hand side, move over to the right-hand section and double-click on ServicesPipeTimeout.
If the entry does not exist , you need to create one.
o do this, click on the Edit menu (or right-click on an empty space) and then choose New > DWORD (32-bit) Value and name it SerivesPipeTimeout before pressing Enter.
4>Next, inside the Properties of ServicesPipeTimeout value, set the Base to Decimal, then type 600000 under Value Data before clicking Ok to save the changes.