You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
announcement close button
Home > Client/Server V12 Notes & Troubleshooting > Create a WIndows Service for the CTree Client/Server program
Create a WIndows Service for the CTree Client/Server program
print icon

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.

Feedback
0 out of 3 found this helpful

scroll to top icon