How to add dependency to a Windows Service?
Windows
None
The Windows Services dependency can be done in a Command Window. Please open Command Windows as Administrator and run the command via the Command Prompt as below. The command is as follows (replace the highlighted sections with the service names retrieved as above):
sc config {service to have the dependency added} depend={service to be dependent on}
6. If used on the DevTest Server, start DevTest Workstation.
NOTE: To shut down the server components, use the reverse order.
More information on adding Dependencies for Windows services can be found at How to add dependency to a Windows Service?