You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close

Create a WIndows Service for the CTree Client/Server program

You can set up the server to run as a Windows Service. Then it will be started automatically when Windows starts on the server and shutdown when Windows shuts down. There are three batch files included in the install:

ServiceCreate.bat
Run this script AS ADMINISTRATOR to create the Windows Service. Its contents as provide by eTakeoff are:
sc create eTakeoffServer binPath= "C:\FairCom\eTkoServer\ctsrvr.exe" start= auto DisplayName= "eTakeoff Database Server"
The specification of the Server Software folder is highlighted in yellow. If you change the server software folder, change this part of the script.


ServiceStart.bat
Creating the service in the step above does NOT start the service the first time. Run this script AS ADMINISTRATOR to start the service the first time.

 

ServiceDelete.bat
Run this script AS ADMINISTRATOR to delete the service if you longer want the server to run as a Windows Service,
If you want to manage Windows Services in Windows, simply type “services.msc” at the command prompt.

  • 228
  • 24-Apr-2019
  • 907 Views