You have to use the registry editor (as far as I know) to make the service depend on the other server. Locate the dependent service in HKLM\SYSTEM\CurrentControlSet\services
, and add an REG_MULTI_SZ
value called DependOnService
. Put the service name (not the display name, but the same name as it's reg key) as a value.
When you reboot now, Windows will only start your dependent service after the service you made it depend on starts. Likewise, if the service it depends on fails to start, your dependent service will not start either.