Manage Service Properties

Use the Task Manage Service Parameters to manage the local service properties of Agents. You can change: the account that the service uses to log on, the startup method for the service, the service state, and the service recovery options.

Changing the default service parameters can prevent important services in Microsoft Windows from running correctly. Use extreme caution when changing the Startup Type and Log On As settings of services that are configured to start automatically.

Configuration

  • For Change Service Account: if specifying an account, you can use:
    • user name including a domain name (for example d-energy\administrator)
    • user name without a domain (for example administrator), in order to use a local account on the target computer.
    • user name including \localhost (for example localhost\administrator), in order to use a local account on the target computer.
    • user name including computer name (for example [computer name]\administrator), in order to use a local account on the target computer.
  • For Change Service Account: if the provided account does not have the rights to log on as a service, these can be added by selecting the option Add user right "Log on as a service".
  • For Change Service Startup Type the following options are available:
    • Manual: the specified service can be started by an administrator, a related service, a system device driver or a user action.
    • Automatic
    • Automatic (Delayed Start): this type is available for the operating systems Microsoft Windows Vista and higher, and Microsoft Windows Server 2008 and higher. Otherwise, the Startup Type will fall back to Automatic. Not all services support the Startup Type Automatic (Delayed Start), for example, the Print Spooler service.
    • Disabled

It can be useful to combine this Task with the Task Query Services, to obtain an overview of the current services plus their settings on Agents. For example, this allows you to check whether Microsoft Alert Services is enabled on all computers at startup and to take action, based on the query results.

A Task to change a service account will fail with an error "Failed to start service '....' (1069 - The service did not start due to a logon failure.)" if the provided account does not have the rights to log on as a service and you did not select the option Add user right "Log on as a service".