WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Services

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Determine what Services are Dependent on a Specific Service

Keywords: 	 services are dependent on a specific service  wntSvcConfigGet

Question:

I know that there is a way to find the services that must be started before another service is started. I wonder if anyone has a way to find what services are dependent on a specific service. I am needing to stop some services and want to be sure to stop the services that depend on them first so that I can ensure a clean shutdown.

Does anyone have an idea as to how I might accomplish this dynamically without having to list all of the services?

Answer:

Well the wntSvcConfigGet will give you the dependencies of a service.

They you have to check the dependencies of those services.

Sounds like a recursive UDF to me.


Article ID:   W15568
File Created: 2003:05:13:11:28:58
Last Updated: 2003:05:13:11:28:58