How to Remove a Dependency from a Windows Service
In the last post I showed how to use sc.exe to add a dependency to a Windows service; the first time I added the dependency to the eOne and eConnect services, I got the service name wrong. This was because the server I was working on had a SQL Server Named instance rather than the default name.
I had to do some searching around how to remove the incorrect dependency, as it was preventing the services from starting:

One key point to remember about using sc.exe to remove the dependencies, is that there is no way to remove a single dependency; when you run the command below, it will remove all dependencies:
sc config {service to have the dependency removed} depend= ""
Before running the above, make sure that there is only one dependency, or that you know all of the dependencies so that you can add them back.
This was originally posted here.
*This post is locked for comments