The InsCreateService sections can have the following entries:
|
ServiceName=Service_name |
optional |
|
DisplayName=Display_name |
optional |
|
ServiceType=Service_type |
optional |
|
StartType=Start_type |
optional |
|
ErrorControl=Error_control |
optional |
|
BinaryPathName=Binary_path |
optional |
|
LoadOrderGroup=Load_order_group |
optional |
|
TagId=Tag_id |
optional |
|
Dependencies=Service_name_1[,Service_name_n] |
optional |
|
ServiceStartName=Account |
reserved |
|
Password=Encrypted_password |
reserved |
|
|
|
Specifies the name of the service.
Specifies the name of the service to be displayed under Services in the Control Panel in the Settings menu.
Specifies the type of service. Valid values are:
|
1 |
(SERVICE_KERNEL_DRIVER) Describes a driver service. |
|
2 |
(SERVICE_FILE_SYSTEM_DRIVER) Describes a driver service for file systems. |
|
16 |
(SERVICE_WIN32_OWN_PROCESS) Describes a 32-bit service with its own process. |
|
32 |
(SERVICE_WIN32_SHARE_PROCESS) Describes a 32-bit service that shares a process with other services. |
|
|
If you specify 16 or 32 as type of service, you can combine that specification with the SERVICE_INTERACTIVE_PROCESS specification, by adding the value 256 to 16 or 32 (for example, ServiceType=272 is a valid entry in the InsCreateService section.) |
|
256 |
(SERVICE_INTERACTIVE_PROCESS) Indicates that a 32-bit service is enabled to interact with the desktop. |
|
|
|
Specifies when the service should be started. Valid values are:
|
0 |
(SERVICE_BOOT_START) Describes a device driver that was started by the boot loader. This value is valid for device drivers only. |
|
1 |
(SERVICE_SYSTEM_START) Describes a device driver that was started by the IoInitSystem function. This value is valid for driver services only. |
|
2 |
(SERVICE_AUTO_START) Describes a service that is started automatically by the service control manager during system startup. |
|
3 |
(SERVICE_DEMAND_START) Describes a service that is started automatically by the service control manager if a process invokes the StartService function. |
|
4 |
(SERVICE_DISABLED) Describes a service that can no longer be started. |
|
|
|
Specifies the reaction to an error during startup. Valid values are:
|
0 |
(SERVICE_ERROR_IGNORE) Specifies that the boot loader logs the error but the start process is continued nonetheless. |
|
1 |
(SERVICE_ERROR_NORMAL) Specifies that the boot loader logs the error and outputs an error message as a pop-up, but the start process is continued nonetheless. |
|
2 |
(SERVICE_ERROR_SEVERE) Specifies that the boot loader logs the error and the start process is continued when the last functional configuration is started. Otherwise, the system is restarted with the last functional configuration. |
|
3 |
(SERVICE_ERROR_CRITICAL) Specifies that the boot loader logs the error, if possible, and the start process aborts when the last functional configuration is started. Otherwise, the system is restarted with the last functional configuration. |
|
|
|
Specifies the name and path of the service's binary file.
Specifies the name of the load order group to which the service belongs.
Indicates the position in the load order group
Specifies the names of services or load order groups that must be started before the service.
Reserved for future use.
Reserved for future use.
| Copyright © 2014 CA Technologies. All rights reserved. |
|