Windows service-related parameters
- Last UpdatedApr 03, 2023
- 1 minute read
Windows service-related parameters should be specified from the command line or PI ICU. Do not include Windows-related parameters in the .bat file.
Windows service-related parameters for UniInt
|
Parameter and syntax |
Description |
|---|---|
|
/query |
Query the operating system for the status of the interface service. Returns RUNNING, NOT RUNNING or NOT INSTALLED. |
|
/install |
Create a Windows service. The default name of the service is the executable name, unless you specify the serviceid parameter. |
|
/start |
Start the interface service. |
|
/stop |
Stop the interface service. |
|
/remove |
Remove the interface service from the list of services in the Windows Services control applet. |
|
/disabled |
Create the interface as a disabled service. |
|
/display name |
Install service using the specified display name. |
|
/serviceid instanceID |
Specify the instance ID of the service you are maintaining, using a concatenation of the interface executable name and the serviceid parameter. This value is different than the id parameter for the interface or the ufo_id parameter for failover. |
|
/upc value |
Install, remove, or update Windows performance counters. Valid value options are update (default), add, or remove. This parameter should only be included in the .bat file if the administrator wants to use it to update performance counters for an interface and then shut down. |