Setup And Administration Of Synchronization Service
CodeTwo Exchange Sync consists of the administration panel and system service running in the background transparently to the user. The service of CodeTwo Exchange Sync is responsible for synchronizing items according to the tasks configured in the CodeTwo Exchange Sync Admin control panel. The service runs in the background and all changes propagate to other folders on the basis of the set job. The user can fully configure and control the service from the control panel.Setup
To configure the CodeTwo Exchange Sync service, click the Configure button in the panel’s ribbon in Synchronization Service group (Fig.1).
Fig.1. The Configuration button in the ribbon.
After clicking the Configurebutton, the service status window will appear that shows information related to the service and allows to control and configure it(Fig.2.).

Fig.2. The service status window – service is not configured.
To start configuring the service, click the Configure button. The service configuration dialog box will display (Fig.3).

Fig.3. The configuration dialog box for the account the service will run under.
In the first screen of the configuration wizard, you choose the account the service will run under. Remember that the program must run under an account in the Domain Admins group. Otherwise, issues may occur in which access rights are restricted to the Exchange mailboxes of other users whose folders will be synchronized.
To choose a user, click Browse an in the user selection dialog box (Fig. 4) type the name of the account the synchronization service will run under.

Fig.4. Active Directory user selection dialog box.
In Password and Confirm fields, type the password to the selected account and continue by clicking Next.
The second screen of the wizard will display (Fig. 5) in which you choose the name of the Exchange server and type the name of the Exchange mailbox that the service will use to connect to Exchange server.

Fig.5. Configuration of Exchange server and mailbox
Click Finishto finish the configuration. The service status window should now show the information on the account the service runs under, as well as Exchange server and mailbox it is connected to.
After completing the service configuration, it will restart automatically.
Stopping the service
To stop the service, click Stop in the ribbon of the control panel. When the service is stopped, no synchronization takes place. The changes made when the service is stopped will automatically synchronize on its next start-up. When the service is not running, its status is set to Stopped.
The service can also be stopped by using the Stop Service button in the Service Status dialog box shown in Fig.2.
Starting the service
To start the synchronization service, click Start. When the service starts running, the synchronization tasks are executed according to the list defined by the user in the control panel. The status of the service is now set to Running.
The service can also be run by using the Start Service, button in the Service Status shown in Fig.2.
Uninstalling the service
To uninstall the service from Service Control Manager click the Advanced button in the Service Status dialog box (Fig.2) and choose Uninstall service from Service Control Manager. After uninstalling the service, no synchronization will take place and its status will change to Not Installed. To start an uninstalled service, you have to configure the service anew.
Status of the synchronized service
The Service Status field shows the information on the current status of the synchronization service. The values are as follows:
| Running | The service is running. The synchronization will execute on the basis of the tasks defined by the user. |
| Stopped | The service is stopped. The synchronization will not execute. |
| Not Installed | The service is not configured or has been uninstalled from the system. The synchronization will not execute. The service must be configured again. |
The current status of the service is also displayed in the Current Status field of the Service Status dialog box shown in Fig.2.