How can I determine its dependents?

Started by petertohen, November 07, 2017, 06:33:13 AM

Previous topic - Next topic

petertohen

I know I can use wntSvcCfgGet to determine a service's dependencies.  How can I determine its dependents?
http://www.winbatch.com/download.html

td

Quote from: petertohen on November 07, 2017, 06:33:13 AM
I know I can use wntSvcCfgGet to determine a service's dependencies.  How can I determine its dependents?
http://www.winbatch.com/download.html

You use request 6.   From the Consolidated WIL Help file entry for wntSvcCfgGet:

"Dependencies:

A tab-delimited list of names of services or load ordering groups that must start before this service. If a blank string, the service has no dependencies. If a group name is specified, it must be prefixed by a '+' character to differentiate it from a service name, because services and service groups share the same name space. Dependency on a service means that this service can only run if the service it depends on is running. Dependency on a group means that this service can run if at least one member of the group is running after an attempt to start all members of the group."

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade