Reputation: 605
I am looking at the recovery actions settings and there are a couple of things that I need clarified.
If I have 0 days as my reset fail count after, and have the following as my actions:
Does the fail count get reset on a successful restart of the service?
Does the fail count get reset on the first failure? Hence never having a chance to perform the second or third actions?
On the third successive failure, the computer gets rebooted, the service get started and then fails again; would this reboot the computer again?
Thanks in advance!
Jaime
Upvotes: 21
Views: 27755
Reputation: 81
I've tested that fail count on windows XPE. When the service run and I make it fail with "End Process" of the Windows task Manager. I have defined 3 recovery actions:
So it seems that this failure counter is reset after every reboot of the computer...
I precise that my fail count is configured to reset after 1 day.
Upvotes: 8
Reputation: 2433
Setting "Reset fail count after:" to 0 means "reset the fail count to 0 after each failure". This effectively disables both the "second failure" and "subsequent failure" actions and you will always get the "first failure" action.
Upvotes: 20