# Windows

* Download the latest version of EXE file of the DBSync Cloud Replication tool from DBSync website using the URL\
  &#x20; <http://mydbsync.com/integration/cloud-replication-for-salesforce>
* With the EXE file, you can start the installation by either double-clicking on the file or by right-clicking and selecting the option ***Run as Administrator.***
* **Note:** If you are prompted by the Windows User Access Control pop-up window click on **Yes** to proceed further to the DBSync installation wizar&#x64;*.*
* Select the option ***I accept the agreement*** and click on ***Next*** button to proceed further.
* Click on the ***Browse*** button to select the desired location where you want to install the DBSync Cloud Replication Tool and click on the ***Next*** button to proceed to the next window.
* Configure Windows Start Menu shortcuts and Desktop icons if you wish to have them in the next installation windows in the Installation Wizard until you get to the ***Ready to Install*** window as shown below.
* Click on the ***Install*** button and wait until the installation has completed successfully.
* Once the installation is completed, select the first check-box to set the DBSync Cloud Replication as a Windows service. If the check-box is left unchecked, DBSync will start as a tomcat console. Select the second check-box to launch the DBSync Replication console. Click on ***Finish*** to exit the Installation Wizard.

![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-56-10.png?version=1\&modificationDate=1623248769000\&api=v2)  ![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-56-26.png?version=1\&modificationDate=1623248785000\&api=v2)

![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-56-37.png?version=1\&modificationDate=1623248796000\&api=v2) ![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-57-23.png?version=1\&modificationDate=1623248842000\&api=v2)

![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-57-40.png?version=1\&modificationDate=1623248858000\&api=v2) ![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-57-47.png?version=1\&modificationDate=1623248866000\&api=v2)

![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-57-54.png?version=1\&modificationDate=1623248873000\&api=v2) ![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-58-1.png?version=1\&modificationDate=1623248880000\&api=v2)

* This completes the installation of the DBSync Cloud Replication tool on your system.
* To start the DBSync Cloud Replication tool as a console click on
* Windows Start > Programs > DBSync Cloud Replication > DBSync

![](https://help.mydbsync.com/docs/download/attachments/53903593/image2021-6-9_19-58-49.png?version=1\&modificationDate=1623248928000\&api=v2)

* If DBSync is set to run as a Windows Service, navigate to the Windows services list start ***Apache Tomcat-Dbsync Cloud Replication for Salesforce*** service.
* Start > Control Panel > Administrative Tools > Services > Apache Tomcat-DbSync Cloud Replication for Salesforce.
* Once the service or the application is started, you can get into the Replication console from the Windows start menu.
* Start > Programs > DBSync Cloud Replication > Admin

Running the application under batch mode:

* Go to \<install folder>/dbsync/scripts. Make sure that setenv.bat points to your install directory.
* For Sync schema Run – run \<profile name> Update Schema
* Example: run DBSync Update Schema
* For getting a clean copy Run – run \<profile name> Cleancopy
* or moving data from [Salesforce.com](http://salesforce.com/) to database Run – run \<profile name> Source to DB
* Example: run DBSync Source to DB
* For moving data from database to [Salesforce.com](http://salesforce.com/) Run – run \<profile name> DB to Source
* Example: run DBSync DB to Source

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-replication-main/installation/windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
