Configuring Service Recovery

You can configure Windows 200* services to take specific actions when a service fails. For example, you could attempt to restart the service or run an application. To configure recovery options for a service, complete the following steps:

In the Computer Management console, connect to the computer whose services you want to manage.

Expand the Services And Applications node by clicking the plus sign (+) next to it, and then choose Services.

Right-click the service you want to configure and then choose Properties.

Select the Recovery tab.

Note: Windows 200* automatically configures recovery for some critical system services during installation.

You can now configure recovery options for the first, second, and subsequent recovery failures. The available options are

Take No Action

Restart the Service

Run a File

Reboot the Computer
Best Practice When you configure recovery options for critical services, you may want to try to restart the service on the first and second attempts and then reboot the server on the third attempt.

find service name and query for find the settings

>sc qc BDESVC
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: BDESVC
TYPE               : 20  WIN32_SHARE_PROCESS
START_TYPE         : 2   AUTO_START
ERROR_CONTROL      : 1   NORMAL
BINARY_PATH_NAME   : C:\windows\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP   :
TAG                : 0
DISPLAY_NAME       : BitLocker Drive Encryption Service
DEPENDENCIES       :
SERVICE_START_NAME : localSystem

>sc qfailure BDESVC
[SC] QueryServiceConfig2 SUCCESS

SERVICE_NAME: BDESVC
RESET_PERIOD (in seconds)    : 900
REBOOT_MESSAGE               :
COMMAND_LINE                 :
FAILURE_ACTIONS              : RESTART — Delay = 60000 milliseconds.
RESTART — Delay = 60000 milliseconds.

Advertisements

Posted on December 23, 2013, in Uncategorized, Windows. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: