12.11 ModifyServiceConfig

Use this Knowledge Script to change the configuration for specified services. To apply your changes, you must manually restart the services. This script raises an event indicating whether the service configuration change you specified was successful.

12.11.1 Resource Objects

Windows 2003 Server or later

12.11.2 Default Schedule

The default interval for this script is Run once.

12.11.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

List of services

Provide the names of the services whose configurations you want to modify, separating the names with commas (,). Enter the internal service names or the service names displayed in the Services Control Panel.

Collect data?

Set to y to collect data. If enabled, data collection returns:

  • 100 -- service successfully modified, or

  • 0 -- service modification failed.

The default is n.

Service type

Select a new service type. Valid types are:

  • own

  • share

  • interact

  • kernel

  • filesys

Select NO_CHANGE to keep the current configuration. Default is NO_CHANGE.

Start type

Select a new start type. Valid types are:

  • boot

  • system

  • auto

  • demand

  • disabled

Select NO_CHANGE to keep the current configuration. Default is NO_CHANGE.

Error control

Select the level of error control. Valid types are:

  • normal

  • severe

  • critical

  • ignore

Select NO_CHANGE to keep the current configuration. Default is NO_CHANGE.

Log On As account

Specify the system or user account name for the service to log on as. Although most services log on as a system account, you can configure some services to log on using special user accounts. Default is NO_CHANGE.

NOTE:The account you specify here must already have the right to log on as a service.

Password for Log On As account

Specify the password for the logon user account.

Display name of the service

Provide a new display name for the service. The default is NO_CHANGE.

Event severity: Service was changed

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the service was changed. The default is 20 (yellow event indicator).

Event severity: Service was not changed

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the service was not changed. The default is 8 (red event indicator).