I've noticed that when doing deployments that there were usually a dozen or so (out of over 100) computers that failed with this error regularly. The exact error was "Failed to connect to the service manager - The dependency service or group failed to start".
Checking the Event Viewer on the failed computer: turns out that Netlogon service was disabled. This service needs to be able to start for Service Manager to function properly.
Hope this helps a little.