A service's Recovery settings are not being honored

I have a service that is receiving Event ID 7000 when the server reboots, but it will not follow the steps on the Recovery tab in the service's properties. Here is a screen shot of the event id and the settings for the server...thanks!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

First, check to see if the executable or run-able code for the service in question is listed in the process list.

This error indicates that service did not finish starting within the time allotted for a service to start.  As such the service is still probably starting (which to the Service Manager) does not indicate a failure (a service stopping unexpectedly would indicate a failure).  Since the service is still in a state of starting the Service Manager will not initiate the recovery actions.

munozmAuthor Commented:
That sounds reasonable. Would this apply if the service's "Status" is blank?
Yes it would still apply.  All the status indicates is what we already know.  The service did not start successfully so the Service Manager is not monitoring it for execution failures; because of this, the service executable finally fails before the Services MMC can be opened, thereby the status will show as blank.

What you need to do is to check the Enable actions for stops with errors checkbox:Capture.JPGThis way any execution failure that:
A.  Does not set the SERVICE_STOPPED state.
B.  Does set the SERVICE_STOPPED state but with an exit code that is not equal to 0 (ERROR_SUCCESS)

Will cause the recovery action to take affect.

Further information can be found here: SERVICE_FAILURE_ACTIONS_FLAG structure


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.