I previously described the GUI for Managing service failures.

When you configure Service Recovery options, the configuration information is stored in up to three Value Names located at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceShortName> where <ServiceShortName> is the service's short name.

The Value Names are:

<b>Value Name                Data Type    D e s c r i p t i o n</b>

<b>FailureActions            REG_BINARY</b>   Configuration information for 1st, 2nd, and subsequent failures.
                                       You can <a href="/article/jsifaq/jsi-tip-6385-how-do-i-configure-service-recovery-on-remote-computers-.aspx">configure a service</a> and use it as a model.

<b>FailureCommand            REG_SZ</b>       Your program or script, if you configured <b>Run a File</b>.

<b>RebootMessage             REG_SZ</b>       is the restart message, if you configured <b>Reboot the Computer</b>.