Install the interface service manually
- Last UpdatedNov 30, 2023
- 1 minute read
Help for installing the interface as a service is available at any time with the command:
random.exe -help
Open a Windows command prompt window and change to the directory where the RANDOM1.exe executable is located.
To determine the appropriate service installation command, refer to the following table:
Note: In the following Windows Service Installation Commands, you may use either a slash (/) or dash (-) as the delimiter.
|
Windows Service Installation Commands on an Interface Node or a PI Data Archive Node with Bufserv implemented |
|
|---|---|
|
Manual service |
RANDOM.exe /install /depend "tcpip bufserv" |
|
Automatic service |
RANDOM.exe /install /auto /depend "tcpip bufserv" |
|
*Automatic service with service ID |
RANDOM.exe /serviceid X /install /auto /depend "tcpip bufserv" |
|
Windows Service Installation Commands on an Interface Node or a PI Data Archive Node without Bufserv implemented |
|
|---|---|
|
Manual service |
RANDOM.exe /install /depend tcpip |
|
Automatic service |
RANDOM.exe /install /auto /depend tcpip |
|
*Automatic service with service ID |
RANDOM.exe /serviceid X /install /auto /depend tcpip |
*When specifying service ID, the user must include an ID number. It is suggested that this number correspond to the interface ID (/id) parameter found in the interface .bat file.
Check the Microsoft Windows Services control panel to verify that the service was added successfully. The services control panel can be used at any time to change the interface from an automatic service to a manual service or vice versa.