Windows Services

  • Thread starter Thread starter :\\\\derian
  • Start date Start date
D

:\\\\derian

Is it possible to start service A via Service B?

I have a service that runs somewhat unreliably which is fine if i can get it
to start up after it crashes.
I was thinking i could write a secondary service that polls the main service
and if the secondary notices the primary service is down, it simply restarts
it. however i'm not sure of the exact code to do this...

any help is much appreciated.
:\\derian
 
Not if you run the service under the system account, no.

You can write a service that is fairly self-healing, it just takes a bit
more work.
 
Back
Top