Basic Lessons

Service Properties

To get the service properties you must double click on the wished entry in the service list or mark the wished entry and press the button Properties.

The you will see this dialog window:

You can see the following service properties without the oportunity to change them:

key name: this entry is the string that names a service in a service control manager database

tag value: Specifies a unique tag value for this service in the group specified by the Group parameter. A value of zero indicates that the service has not been assigned a tag. You can use a tag for ordering service startup within a load order group by specifying a tag order vector in the registry located at:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GroupOrderList

wait time: An estimate of the amount of time, in milliseconds, that the service expects a pending start, stop, or continue operation to take before the service makes its next call to the Service.SetServiceStatus method with either an incremented CheckPoint value or a change in CurrentState. If the amount of time specified by WaitHint passes, and CheckPoint has not been incremented, or CurrentState> has not changed, the service control manager or service control program can assume that an error has occurred.

current state: The current state of the service. This can be one the following values:

checkpoint: A value that the service increments periodically to report its progress during a lengthy start, stop, or continue operation. For example, the service should increment this value as it completes each step of its initialization when it is starting up. The user interface program that invoked the operation on the service uses this value to track the progress of the service during a lengthy operation. This value is not valid and should be zero when the service does not have a start, stop, or continue operation pending.

 

The following service properties you can change:

display name: string that is to be used by user interface programs to identify the service

path: string that contains the fully qualified path to the service binary file

start type: Specifies when to start the service. One of the following values is specified:

error level: Specifies the severity of the error if this service fails to start during startup, and determines the action taken by the startup program if failure occurs. One of the following values can be specified:

group: A string that names the load ordering group of which this service is a member.

attribute: includes one of the following service type flags to indicate the type of service:

Account Name: A string that names the service. If the service type is SERVICE_WIN32_OWN_PROCESS, use an account name in the form DomainName\UserName. The service process will be logged on as this user. If the account belongs to the built-in domain, you can specify .\UserName. If the service type is SERVICE_WIN32_SHARE_PROCESS you must specify the LocalSystem account. By default Service Manager uses the LocalSystem account.

password: A string that contains the password to the account name specified by the Account Name parameter. If the value an empty string, the service has no password. Passwords are ignored for driver services. If Account Name is LocalSystem, the password must be NULL.

The next lesson shows you, how you can show and edit the dependencies from a service ...