Trick: BitWise Routing Server as a Windows Service

From BitWise DocuWiki

It is possible to install the BitWise Routing Server as a Windows Service (e.g. so it can be running without any user logged in) using a wedge called XYNTService, which allows you to run almost any program as a Service on Windows NT, 2000, XP, or 2003. You can read more about XYNTService on Code Project (http://www.codeproject.com/system/xyntservice.asp).

In order to install the Routing Server as a Service, you will need to download two files:

http://www.bitwiseim.com/download/service/XYNTService.exe (the Service wedge)

http://www.bitwiseim.com/download/service/XYNTService.ini (configuration file)

Place these files in the same folder as the Routing Server.

If you have any difficulties with these instructions, please use the Technical Support forum (http://www.bitwiseim.com/phpBB2/viewforum.php?f=2), or if you are a Professional user, please use Technical Support in Web Services (https://www.bitwiseim.com/webservices.php) for assistance.

Table of contents

Modify the XYNTService.ini file

Modify the XNTYService.ini file
Modify the XNTYService.ini file

Open the .ini file and replace the drive letter and <path> with the location of the BitWise Routing Server on your computer.

Install the Service

Use the commandline (cmd.exe) and go into the directory with the XYNTService.exe and RoutingServer.exe and run XYNTService.exe -i, which will install the Routing Server as a Service. If you later want to uninstall the Service, use -u instead of -i. You can read about other commands that you can use with XYNTService by reading the XYNTService page listed above.

Install the Service
Install the Service


Change Service properties

Change Service Properties
Change Service Properties

Important: you must change the properties of the BitWise Routing Server Service to run as a real user on your system, not as LOCAL SYSTEM (the default). Failing to make this change will result in the Routing Server crashing immediately upon use. Open the Services control panel (under Administrative Tools) and open the properties of the BitWise Routing Server Service. On the Log On tab, specify an account by checking This Account and entering a real user account (such as Administrator). You will want to use the same account that you have used thus far to configure the Routing Server.

Start the Service

Start the Service
Start the Service

You can now start the Routing Server Service; you will see the GUI when the Service starts. You should change any Routing Server settings that you want to modify now. Once you log out or restart the computer, you will not see the GUI again (you can, of course, stop the Service and run the routing server manually at any time to access the GUI). The Routing Server provides logging options so you can have a record of activity even without the GUI.