Knowledge Base Server as a Windows Service

The Knowledge Base Server can be run as a Windows Service. This is done when the Knowledge Base Server needs to be run in the background upon startup of a server.

 

For single machine operation of hosting the Knowledge Base Server and executing workflows, it is not recommended to run the Knowledge Base Server as a service, since the Knowledge Base Server also acts a local build server in this case.

 

If you execute workflows on the machine hosting the Knowledge Base Server, and the Knowledge Base Server is running as a service, workflows will be executed under the local system account, by default. Workflows that need to interact with the desktop, such as the example “Hello World – Windows”, will not be able to do so under the local system account. To allow workflows to interact with the desktop when the Knowledge Base Server is running as a service, change the service account to be the same as the user executing the workflows.

 

Table SI-3 Installing the Windows Service

Step

Action

1

Rename Win_KB_Service_Cmd.txt to Win_KB_Service_Cmd.bat in the <install root>\kbserver directory

2

Run Win_KB_Service_Cmd.bat

3

Launch Meister

4

Go to Window > Preferences

5

Expand the Openmake item and select Machine

6

On the KB Server tab, update the Server Start Command to:

net start "Openmake 7 KB Server"

7

On the KB Server tab, update the Server Stop Command to:

net stop "Openmake 7 KB Server"