Create Windows Service
Previous Topic  Next Topic 

This action will continue a Windows service that is in a paused state.



Standard Properties 

See Standard Action Properties.



Advanced Properties


Account

Specifies an account name to be the user account under which the service should run.  The account name takes the form domain\username. If the account is a local account, the account name may be specified as .\username or username. If this option is not specified, the service will run under the LocalSystem account. When Service Type is Kernel Driver or File System Driver, the account name should be the name of the driver object that the system uses to load the driver.


Command

This is the system command to be executed to start the service.


Database

Specifies the service control database to be operated on. By default, this is the active service control database on the target system.


Dependencies

Specifies the services and service load order groups that are required by this service and that must start before this service. This property contains a list of service names and load order groups. A load order group name must be prefixed with a + character to indicate that it is a group name and not a service.


Description

Specifies the long description for the service when viewed within the services console.


Display Name

Specifies the user visible name for the service. This is the name that is shown in the net start command and the SCM control panel applet.


Error Control

This option specifies how errors during service start are to be handled.

Critical

An error message will be logged to the Windows event log if possible. If the last known good configuration is active, the system startup is aborted. Otherwise, the system is restarted with the last known good configuration.

Ignore

An error message will be logged to the Windows event log. The system startup will continue.

Normal

An error message will be logged to the Windows event log and a popup displayed to the user. The system startup will continue. This is the default.

Severe

An error message will be logged to the Windows event log. The system startup will continue only if the last known good configuration is active. Otherwise, the system is restarted with the last known good configuration.


Interactive

This option specifies whether the service should be allowed to interact with the desktop. This is only valid when Service Type is specified to be Own Process or Shared Process. The Account option must not be used with this option since interactive services must run under the LocalSystem account.


Load Order Group

Specifies a group name to be the service load order group to which the service belongs. If the option is not specified, the service is assumed to not belong to any load order group.


Password

Specifies the password corresponding to the user account specified in the Account option. This option is ignored if the Account option is not specified.


Service Name

The name of the service to perform the action on.  This can be the internal or the display name of the service.  If the display name is given, it will automatically be translated to the internal service name for the action.


Service Type

This property specifies the type of service to create.


Own Process

Service that runs in its own process. This corresponds to the SERVICE_WIN32_OWN_PROCESS in the Windows SDK documentation. This is the default if the option is not specified.

Shared Process

Service that runs inside a process shared with other services. This corresponds to the SERVICE_WIN32_SHARED_PROCESS in the Windows SDK documentation.

File System Driver

File system driver. This corresponds to the SERVICE_FILE_SYSTEM_DRIVER in the Windows SDK documentation.

Kernel Driver

Kernel driver. This corresponds to the SERVICE_KERNEL_DRIVER in the Windows SDK documentation.


Start Type

This property specifies how the service is to be started.


Auto Start

The service should be automatically started by the service control manager during system startup. This is the default if the option is not specified.

Boot Start

The service should be automatically started by the system loader during system boot. This is only valid when Service Type is specified to be Kernel Driver or File System Driver.

Demand Start

The service should be started by the system upon receiving an explicit program request.

Disabled

The service is disabled and cannot be started even on program request.

System Start

The service is a driver that is started by the operating system IoInitSystem function during system initialization. This is only valid when Service Type is specified to be Kernal Driver or File System Driver.


System

Specifies the name of the system on which the command should be invoked. By default, this is the local system.