How to regulate load order of NT services?

V

Vanguard

I'm testing a product which defines amost a dozen NT services. Some of
them require that other services already be running before they load.
So how does a service guarantee it doesn't load until those other
services are running? All of the product's services are configured for
Automatic load on Windows startup.

There is a list of dependencies for a service: those it depends on and
those that depend on it. Do the dependencies (for those that a service
depends on) control when a service gets loaded? Say you are looking at
service "C" which says it depends on services "A" and "B". Does that
mean service "C" will not automatically load until both services "A"
and "B" have already been automatically loaded?
 
O

Og

Vanguard said:
I'm testing a product which defines amost a dozen NT services. Some of
them require that other services already be running before they load.
So how does a service guarantee it doesn't load until those other
services are running? All of the product's services are configured for
Automatic load on Windows startup.

There is a list of dependencies for a service: those it depends on and
those that depend on it. Do the dependencies (for those that a service
depends on) control when a service gets loaded? Say you are looking at
service "C" which says it depends on services "A" and "B". Does that
mean service "C" will not automatically load until both services "A"
and "B" have already been automatically loaded?

Have you tried asking the developer gurus?
microsoft.public.win2000.developer
Steve
 
L

Lanwench [MVP - Exchange]

In
Vanguard said:
I'm testing a product which defines amost a dozen NT services. Some
of them require that other services already be running before they
load. So how does a service guarantee it doesn't load until those
other services are running? All of the product's services are
configured for Automatic load on Windows startup.

There is a list of dependencies for a service: those it depends on and
those that depend on it. Do the dependencies (for those that a
service depends on) control when a service gets loaded?

Yes.

Say you are
looking at service "C" which says it depends on services "A" and "B".
Does that mean service "C" will not automatically load until both
services "A" and "B" have already been automatically loaded?

Yes. However, if this application can't set up its own services & settings
therein, during installation, I'd be irked with the developers.....
 
V

Vanguard

Detlev Dreyer said:
"How to delay loading of specific services"
http://support.microsoft.com/kb/193888/en-us


According to what is said in that MS article, it seems that a service
will have to wait until its dependencies are first satisfied; i.e.,
all the services on which it depends must be running first. That's
what I figured but wanted to verify. One trouble ticket that I opened
was because one of the dozen services that their product creates won't
work unless another one of the services is first running, but they
neglected to list that other services as a dependency. Thanks for the
info.
 
V

Vanguard

in message
However, if this application can't set up its own services &
settings therein, during installation, I'd be irked with the
developers.....


If programmer's didn't make mistakes, I wouldn't have a career in QA.
 
L

Lanwench [MVP - Exchange]

In
Vanguard said:
in message



If programmer's didn't make mistakes, I wouldn't have a career in QA.

You can't write "QA" in the same sentence where you've misused an
apostrophe! ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top