Knowledgebase Server as a Windows Service

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

 

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

 

If you execute workflows on the machine hosting the Knowledgebase Server, and the Knowledgebase 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 Knowledgebase Server is running as a service, change the service account to be the same as the user executing the workflows.

 

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 DDS

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"