Create SC
Creates a subkey and entries for the service in the registry and in the Service Control Manager's database.
Workflow inputs – Create SC
Call Workflow Input | Description | Required | Default Value |
connection details | XML document conforming to the Connection Details common object that contains the information required to execute a command via command line. | Yes | n/a |
service name | Specifies the service name returned by the getkeyname operation. | Yes | n/a |
binary path | Specifies a path to the service binary file. | Yes | n/a |
server name | Specifies the name of the remote server on which the service is located.
| No | Name of server on which the service is located. |
service type | Specifies the service type.
Valid values:
. | No | own |
start | Specifies the start type for the service.
Valid values:
| No | demand |
error | Specifies the severity of the error if the service fails to start during boot.
Valid values:
| No | normal |
group | Specifies the name of the group of which this service is a member. The list of groups is stored in the registry in the HKLM/System/CurrentControlSet/Control/ServiceGroupOrder subkey. | No | null |
tag | Specifies whether or not to obtain a TagID from the CreateService call.
| No |
|
depend | Specifies the names of services or groups which must start before this service. | No |
|
object | Specifies a name of an account in which a service will run, or specifies a name of the Windows driver object in which the driver will run. | No | LocalSystem |
display name | Specifies a friendly, meaningful name that can be used in user–interface programs to identify the service to users. For example, the subkey name of one service is wuauserv, which is not be helpful to the user, and the display name is Automatic Updates. | No |
|
password | Specifies a password. This is required if an account other than the LocalSystem account is used. | Conditional; required if object is ‘Local System’. |
|
Workflow outputs – Create SC
Call Workflow Output | Description |
output | XML document consisting of one or more <line> elements that contain the command response. Each <line> element contains an index attribute indicating the order in which the information was returned by the command. |
success | Did the operation succeed?
Valid values: true, false |