Service dependencies and WMI

S

Soterro

Hello,

I have a service which fails to start at bootup (it times out for the 30
seconds). However I can start it by hand later with no problem, so I
assumed it is a service dependency.
(could be something else?)
I know it uses the WMI interface programatically to get some info about
the networking system, so I set dependencies to WMI, nothing, then also
to WMI Driver Extensions. Still nothing: at boot it always fails, by
hand it always succeeds.
Any idea what other dependency might be necessary to use those WMI
functions? I even thought to put as dependency all the services in the
registry, but heck they are a LOT :) don't laugh, I'm really stuck here.

Or better, is there a tool to find out WHAT dependency is that service
waiting for anyway? On W2000 or W2003?

Thanks a lot,
S
 
I

Ivan Brugiolo [MSFT]

There's a lot of delayed initialization in the user-mode part of the system
bootstrap.
Depending of what exactly is failing
(I don't remember you having specified that in the original post),
you may need different dependencies or a different initialization strategy.
 
S

Soterro

Ivan said:
There's a lot of delayed initialization in the user-mode part of the system
bootstrap.
Depending of what exactly is failing
(I don't remember you having specified that in the original post),
you may need different dependencies or a different initialization strategy.

This user-written service is the only one failing. However when I start
it later it succeeds.

I tried to put it in a service group which I set to be started the last,
but by looking into the Event Viewer I noticed what you just said: there
are a lot of services which finish their startup quite delayed.

I tried to set the service dependent of Netmon which seems to be the
last one to finish startup, but AGAIN Netmon finishes long after my
service failure to start. The dependency doesn't really look to be taken
into account for such a delayed service.

Any ideas from here? or what other info should I provide?

Thank you,
S
 

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

Similar Threads


Top