WIN32 services dependencies

Posted by grmbl on Server Fault See other posts from Server Fault or by grmbl
Published on 2013-10-25T06:55:42Z Indexed on 2013/10/27 21:55 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

I know this has been handled before but I'm not getting a clear answer from this question.

I have a service that depends on the print spooler.
Every now and then, the spooler crashes...(luckily not often)...
I need to stop that service when the spooler service crashes.
I'm not sure if adding dependency for Spooler to my service will do just that?

I tried using recovery option "Run Program" and use some script to stop the service but
I don't fully trust that... (getting "Access Denied" errors)

Thank you for your advice.

© Server Fault or respective owner

Related posts about Windows

Related posts about Services