Eliminate time consuming follow up and account servicing efforts.

Use WINSALES ACTION PLANS to systematically deliver the right information to the right people at the right time.

Find more WINSALES support information at

WINSALES Support Document - sup233

Version: 5.0
Revised: 8/19/03

Setting Up Synchronization To Run As A Service On A Windows NT/2000 Server

Problem: Many customers who work with remote synchronization run the process on the master daily, or multiples times per day. The program can be set up to run from a command line as defined in sup023, but in doing that the synchronization program has to be open and running as an active program. On machines that are running the operation system Windows NT or Windows 2000 Server the synchronization program can be set up as a SERVICE on the machine which would then allow users to not have the program open in a session of Windows.

There are two downsides to running synchronization as a SERVICE:

First: if you run synchronization sending synchronization files through Outlook email you cannot run synchronization as a service. The SERVICE will not log into email and send the sync files out through the active Outlook profile. In our testing we have been unable to make this work. Creative customers have found that setting synchronization up to run as a Windows Scheduled Task will work properly with Outlook to process synchronization files in email. See sup238 for more information on setting synchronization up as a Scheduled Task.

Second: if there is an issue in synchronization causing the sync at the master to stop, the service must be stopped, synchronization must be manually run and any error messages can be clicked through, then the service for synchronization can be restarted.

How to Create a Windows NT user-defined service for Windows 2000

1. Create a folder in the Local Drive of the server. You can name this folder anything, just don’t have any spaces in the name. In the example below the folder is called FOLDERCREATED.

2. Copy into this folder the following files: instsrv.exe and srvany.exe (you can get these two files in the Windows 2000 Profesional Resource Kit or the Internet).When done, run the following command from command prompt :

C:\FolderCreated\instsrv.exe SERVICENAME c:\FolderCreated\srvany.exe

The syntax will reflect the complete Fully Qualified path where SERVICENAME is the name that you are going to call this specific service.

3. You will get a screen telling you that the service has been successfully created, exit from command prompt.

4. You can verify this service going to Services and find the new service you created.

The next step is to create a Key in the registry under the Service you just created.

1. Run regedt32.exe (Start + Run and type in “regedit”) and go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Servicename

2. From the Edit menu select AddKey, type the following and click OK:
Key Name: Parameters
When done Select the Parameters Key

3. From the Edit menu, select Add Value. Type the following and click OK:
Value Name: Application
Data Type: REG_SZ
String: in this field you will copy the target run command from the properties icon application at determined using sup023

Note: In our testing the /user had to be a one word value “Jon Doe” would not work while “jdoe” would work fine. There must be an issue with the space in the user name. Do not use a user name with a space in it when setting up the service.

Once you have completed this go back to SERVICES and select the new service and START to run synchronization.

Contact Silent Partner for more information.


WinSales Basic Selling System

      S       I       L       E       N       T          P      A       R       T       N       E       R      

©2002 WINSALES is a registered trademark of the Ascendium Group Inc. and
subject to the licensing agreement with Silent Partner Ltd. All rights reserved.

Share this with a friend.