|
Install A Service ActionWorks on Windows NT/2000 ONLY |
Description Installs a (Windows NT/2000) service into the Service Control Manager. AutoMate™ will attempt to install the service using the information you supply. You can then use the Start A Service step to start the service or otherwise control it.
|
Install a Service dialog |
Parameters
Executable
Specifies the path and filename of the executable to install. The executable must be a valid service - standard EXE application files will not work.Executable
Specifies the description that will be desplayed in the Service Control Manager for this service entry.Username
Specifies the Windows NT/2000 domain or local machine username that this service will log on as.Password
Specifies the Windows NT/2000 domain or local machine password that this service will log on with.Error Severity
Specifies what type of error Windows NT/2000 should generate if the service is unable to start.Service Type
Specifies whether the service is a "shared process" (most common - standard service application) or a driver.Run Type
Specifies whether the service will start automatically when windows starts, manually, or not at all (disabled) .Interactive Service
Specifies that the service needs to be able to interact with the desktop.
Notes
Services usually have specific requirements about how they are installed, started, and/or paused. You should consult the documentation regarding the service you want to install for information about the proper parameters to use when installing it. Also note that AutoMate™ installs the service with the SERVICE_ALL_ACCESS flag, which means that anyone can access the service if it is installed by AutoMate™.
If the service type is Run in own process, the username is the account name in the form of "DomainName\Username", which the service process will be logged on as when it runs. If the account belongs to the built-in domain, ".\Username" can be specified. Services of type Shared Process are not allowed to specify an account other than LocalSystem. If the username field is blank, the service will be logged on as the "LocalSystem" account, in which case, the Password parameter should also be blank.
If the service type is Kernel Driver or File System Driver, this name is the Windows NT driver object name (that is, \FileSystem\Rdr or \Driver\Xns), which the input and output (I/O) system uses to load the device driver. If the username is blank, the driver is run with a default object name created by the I/O system, based on the service name.
NOTE: The user running the task (or the user-context provided by the LOGIN step of the task) usually must have Administrator rights or equivalent to start, stop, add or remove a service on most NT workstations.
Related Topics: