The Recovery tab allows for the configuration of the response that will be taken by the computer if the service fails.
The following table describes the fields on the screen.
The following table describes the fields provided on the Recovery page.
Field | Description |
First/Second/Subsequent Failure | Defines the action taken in the event of a service failure. Following are the valid options:
|
Reset Fail Count After | This option determines the number of days after which the failure counter is reset to zero. When the failure counter is reset, the sequence of First/Second/Subsequent Failure actions starts at the beginning again. |
Restart Service After | This option determines the time (in minutes) after which a failed service restarts. |
Enable Actions for Stops with Errors | If selected, the First and subsequent failure actions will be triggered if the service stops with an error. |
Restart Computer Options | This displays the Restart Computer Options dialog box. In the dialog box, set the time (In minutes) to wait before restarting the system. Optionally, a message can also be broadcast to other computers on the network before the restart by checking the checkbox and entering the text of the message. ![]() Note: The feature is only enabled when the Restart the Computer option is selected as a failure action. |
Run Program The Run Program options are only enabled if one of the failure actions is set to Run a Program. The following options are available: | |
Program | The full path and name of the program executable to run. |
Command Line Parameters | The command-line parameters to be passed to the program executable. If any parameter contains whitespace characters, it must be quoted, e.g. "string with spaces" |
Append Fail Count to End of Command Line | Appends the /fail=%1% parameter to the command line parameters. %1% is a replaceable parameter. In the event of a failure, this parameter is replaced by the value 1 through 3 to represent the value of the failure counter. |