| This describes how to run Netcam Watcher as a windows service. This means that the program will start automatically when the PC boots; before anyone is logged in. This works on Windows 2000, 2003 server and XP. You can use this in conjunction with Netcam Watcher's scheduler, or the -AUTOSTART command line switch to make sure that Netcam Watcher is running and monitoring cameras whenever the PC is running. You can also have Netcam Watcher Professional periodically checked to make sure it is still running, and if not, it can be restarted. The program can only be stopped by a user with Admin privileges, and even then, it can be configured to automatically restart. This technique makes use of the freeware tool XYNTSERVICE How To...1) Download this file RUNSERV.ZIP and unzip into a convenient folder eg c:\ncwserv This archive contains two files : xyntservice.exe and xyntservice.ini 2) You may need to edit the xyntservice.ini file. Initially it looks like this: [Settings] ServiceName = XYNTService ProcCount = 1 CheckProcess = 10
[Process0] CommandLine = C:\Program Files\BeauSoft\ncwpro\ncw.exe -AUTOSTART WorkingDir = C:\Program Files\BeauSoft\ncwpro\ PauseStart = 1000 PauseEnd = 1000 UserInterface = Yes Restart = Yes
The only thing you may want to change in the [Settings] section is - CheckProcess : How often, in minutes, the system checks for Netcam Watcher Professional is running. Only useful if Restart is yes in the next section.
But you may need to change some things in the [Process] section: - CommandLine : Make sure that this is the complete path to the Netcam Watcher Professional program file. You may also want to use one or more command line switches:
-AUTOSTART : to automatically start all cameras
- TIMER : to enable the scheduler (effectively pushes the Timer button down)
-ALARMS : to enable alarms (like pushing the Alarms button down)
- WorkingDir : Make sure that this points to the Netcam Watcher Professional program folder.
- UserInterface : Initally you will need this to be Yes, to set things up (see later). But you can set this to No to hide the Netcam Watcher Professional screen from users.
- Restart: If you want the system to check whether Netcam Watcher is still running, make this Yes. In this case the program will be restarted if it is not running.
3) Once you have edited xyntservice.ini, you need to start the xyntservice running. To do this, open a command prompt, go to the folder where xyntservice is located and type xyntservice -i This starts xyntservice running. It will now restart Netcam Watcher Professional after each reboot. But first you need to set some more things up.. 4) So, now reboot the PC 5) When the PC restarts, log in as Adminstrator (or someone with admin privileges) 6) You will see that Netcam Watcher Professional has opened in demo mode. You first need to re-enter your registration details. Then you need to change any program preferences. For example, you may need to re-set: - Camer Folder (File > Select Camera Folder)
- Preferences
- FTP settings
- Proxy Settings
Once you have set the program up the way that you want, reboot the machine again to check that everything is working OK. 7) To stop xyntservice and uninstall it, use xyntservice -u The next time the PC reboots, Netcam Watcher Professional will not automatically restart. If you need any assistance getting this working, contact us. |