I have Service B
that is dependent on Service A
. Both services are set for automatic(delayed) start upon boot and both services have set Recovery Action of restart in case of first, second and subsequent failures.
The scenario is:
- Windows is booting.
- It tries to start
Service A
. Service A
crashes upon start because it cannot initialize (e.g. connect to remote database).- Recovery Action kicks in and windows keep starting
Service A
at some intervals. Service A
finally starts fine (e.g. remote db is now accessible).
And that's it, Windows doesn't bother to start Service B
despite it having Automatic (delayed) startup type.
I'm confused a bit with this behavior. Is there anything I can do to make windows start Service B
?