# Installation on Windows servers and workstations

{% tabs fullWidth="false" %}
{% tab title="WS 2008R2 & WS 2012" %}

<p align="center"><a href="#installer_download" class="button primary" data-icon="circle-1">Installer download</a>    <a href="#installation_process" class="button primary" data-icon="circle-2">Installation process</a></p>

## Installer download <a href="#installer_download" id="installer_download"></a>

1. Login to **Xopero ONE Management Service** (**XMS**) using a web browser, then go **Settings** > **Advanced** > **Workers** and click the **Download agent** button.
2. The **Download agent** window will open— scroll down to the **Server** section and click **Windows Server >** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FHJ5I1OKMhCTNZ3M3eZmk%2Fimage.png?alt=media&#x26;token=961addb9-54ae-4e8c-b573-6cb60601f5b2" alt=""><figcaption></figcaption></figure>

3. Select **WS 2012** or **WS 2008 R2** to download a dedicated installer.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FzyjsNUJ07Tv8Mw0FoRtW%2Fimage.png?alt=media&#x26;token=0e2f81e0-06e6-4bfb-b0b0-4c1bd310fb58" alt=""><figcaption></figcaption></figure>

4. The download will start automatically; additionally, an **Installation** tab with a step-by-step installation instruction will pop-up in **XMS**.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/JRXM9IF27PD6WhlfWslk/image.png" alt="Downloading a installator"><figcaption></figcaption></figure>

5. Under the **Install** section you will see the address combined a port — save it for later as you will have to use it during agent installation.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/QGtXCI78u3OhAT4BdpAY/image.png" alt="Service&#x27;s IP address and port"><figcaption></figcaption></figure>

6. Once the installation wizard is downloaded, you can move to the installation process.

***

## Installation process <a href="#installation_process" id="installation_process"></a>

1. Open and run the downloaded setup wizard. Click **Next** to begin the installation process.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/nziV8XR7O8KTWodW5Et9/image.png" alt="Installation wizard window"><figcaption></figcaption></figure>

2. Read and accept the **End-User License Agreement**, then move to the next step.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/1ubaNM793frvpRpousB1/image.png" alt="End-user agreement"><figcaption></figcaption></figure>

3. Choose the installation directory for the **Xopero ONE** client.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/9TRH0vsRCilWbjOgTe9f/image.png" alt="Choosing installation path"><figcaption></figcaption></figure>

4. Paste the previously copied address to the **Address** field and hit **Next** to continue.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/2XElcNLim8NLcMAtWkma/image.png" alt="Setting Management Service URL"><figcaption></figcaption></figure>

5. Click **Install** to start the installation.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/YT4d9vZAUfV2OZS2vEUN/image.png" alt="Installation of Xopero ONE"><figcaption></figcaption></figure>

6. Once the wizard finishes installation, click the **Finish** button to close it.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/iz8tj1HzirWimyYOsDYL/image.png" alt="Finished installation"><figcaption></figcaption></figure>

7. You can now activate your device in **Xopero ONE Management Service**.
   {% endtab %}

{% tab title="WS & WS 2012 R2+" %}

<p align="center"><a href="#installer-download-serv" class="button primary" data-icon="circle-1">Installer download</a>    <a href="#installation_process_serv" class="button primary" data-icon="circle-2">Installation process</a></p>

## Installer download <a href="#installer-download-serv" id="installer-download-serv"></a>

1. Login to **Xopero ONE Management Service** (**XMS**) using a web browser, then go **Settings** > **Advanced** > **Workers** and click the **Download agent** button.
2. The **Download agent** window will open— scroll down to the **Server** section and click **Windows Server >** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FJwAgWF0FEGgC3e4h8bBl%2Fimage.png?alt=media&#x26;token=18146942-3954-433d-b1be-ee7301f659ae" alt=""><figcaption></figcaption></figure>

3. Select **WS 2012 R2 OR NEWER** to download a dedicated installer.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/Qd6ocEn4K3BE5vr7kLZ0/image.png" alt="Choosing server version"><figcaption></figcaption></figure>

4. The download will start automatically; additionally, an **Installation** tab with a step-by-step installation instruction will pop-up in **XMS**.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/qmENZMuZP9x23cCFdJoX/image.png" alt="Download link"><figcaption></figcaption></figure>

5. Under the **Install** section you will see the address combined a port— save it for later as you will have to use it during agent installation.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/g06dyLSMOCdhvPskKlos/image.png" alt="Service&#x27;s IP address and port"><figcaption></figcaption></figure>

***

## Installation process <a href="#installation_process_serv" id="installation_process_serv"></a>

1. Open and run the downloaded setup wizard. Click **Next** to begin the installation process.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/nziV8XR7O8KTWodW5Et9/image.png" alt="Installation wizard window"><figcaption></figcaption></figure>

2. Read and accept the **End-User License Agreement**, then move to the next step.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/1ubaNM793frvpRpousB1/image.png" alt="End-user agreement"><figcaption></figcaption></figure>

3. Choose the installation directory for the **Xopero ONE** client.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/9TRH0vsRCilWbjOgTe9f/image.png" alt="Choosing installation path"><figcaption></figcaption></figure>

4. Paste the previously copied address to the **Address** field and hit **Next** to continue.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/2XElcNLim8NLcMAtWkma/image.png" alt="Setting Management Service URL"><figcaption></figcaption></figure>

5. Click **Install** to start the installation.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/YT4d9vZAUfV2OZS2vEUN/image.png" alt="Installation of Xopero ONE"><figcaption></figcaption></figure>

6. Once the wizard finishes installation, click the **Finish** button to close it.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/iz8tj1HzirWimyYOsDYL/image.png" alt="Finished installation"><figcaption></figcaption></figure>

7. You can now activate your device in **Xopero ONE Management Service**.
   {% endtab %}

{% tab title="MSI (mass deployment)" %}

## Installation process

1. Open **Active Directory** and create a new **Organizational Unit** on the domain controller under the **Active Directory Users and Computers** catalog.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fxr2lEEf7TbO9BwIZ6Mz0%2Fimage.png?alt=media&#x26;token=ef55f77a-582c-41d5-a59a-b66770e5405e" alt="" width="563"><figcaption></figcaption></figure>

2. Enter a custom name for the **Organizational Unit** and click **OK** to confirm.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/KYBAdDOT5YDNsznU8NQC/image.png" alt="giving a name to organization unit"><figcaption></figcaption></figure>

3. Transfer all devices you want to have the **Xopero ONE** agent installed on to the newly created **Organizational Unit**.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/9CVRUg88PVqprIFPrJMy/image.png" alt="transfering the computers to the organization unit" width="563"><figcaption></figcaption></figure>

4. Create a folder that will be **available on your network** to all computers that are to be covered by the installation policy of the **Xopero ONE** **agent**, and place the **.msi** installer in it.

{% hint style="info" %}
The **.msi** installer can be downloaded in **Xopero ONE Management Service** (**XMS**), in **Settings** > **Advanced** > **Workers** > **Download agent** > **Endpoints**.
{% endhint %}

5. Change access permissions of the folder created in the previous step. Right-click the folder and select **Properties**, then go to **Sharing** tab and click the **Advanced Sharing** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fg0eIyuCUp3ZKybU95OX9%2Fimage.png?alt=media&#x26;token=45489215-d327-4742-8c0e-23703e756b63" alt=""><figcaption></figcaption></figure>

6. Make sure the ✅**Share this folder** checkbox is checked and click **Apply** to save your settings.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FtcomTIeRYu5YU5XEhxL8%2Fimage.png?alt=media&#x26;token=8d8467fd-2fe6-4261-a357-f761c8db724c" alt=""><figcaption></figcaption></figure>

7. Next, click the **Permissions** button under the **Comments** field and change user permissions for the folder.

> For domain adminstrators: **Full Control**\
> For authenticated users: **Read**

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FJWj9tQDDFu4RK1qhHXhr%2Fimage.png?alt=media&#x26;token=5464ee31-bb2b-44fe-a3c5-4acfa76a2e9d" alt=""><figcaption></figcaption></figure>

8. Open the **Group Policy Management** (**GPO**) window, find the OU created in step 1, right-click it, and select the **Create a GPO in this domain, and Link it here...** option from the drop-down menu.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F32PJZCbqZJa5fxx8ORpL%2Fimage.png?alt=media&#x26;token=241aaac8-d143-4be2-a042-bba5a7f771c8" alt="" width="563"><figcaption></figcaption></figure>

9. Enter a custom name for your new group object and click **OK**.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/FMIlDV8x4zHiOJU9uvQO/image.png" alt="giving a name to GPO object"><figcaption></figcaption></figure>

10. Right-click the newly created rule and select **Edit...** from the drop-down menu.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/atynV3djiLNuHckgueAD/image.png" alt="edditing rule in Windows Server" width="563"><figcaption></figcaption></figure>

11. Expand **Computer Configuration** > **Policies** > **Software Settings** > **Software Installation** tabs. Inside **Software Installation**, right-click anywhere on the right side of the window and select **New** > **Package...** from the dropdown.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F4r1hZadO0LHPYRjYJlKg%2Fimage.png?alt=media&#x26;token=d042c648-6e20-45ac-a1d7-21d54fbe7c45" alt="" width="563"><figcaption></figcaption></figure>

12. Find the shared directory in which you've placed the **.msi** installer in, then select and open it.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/VpVRDgwopOkpToEmRGg2/image.png" alt="choosing msi file" width="563"><figcaption></figcaption></figure>

13. In **Deploy Software** window select the **Advanced** deployment method and click **OK**.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/DNXttxLU6GStxGtQhgZ0/image.png" alt="editing msi file"><figcaption></figcaption></figure>

14. In **Xopero ONE Backup\&Recovery Agent Properties** window, switch to **Modifications** tab.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/hTqTdMzCPofyP8zf2TaT/image.png" alt="opening modifications tab" width="563"><figcaption></figcaption></figure>

15. Create an **.mst** file containing additional configuration for the installer — you can use **Orca** software available as part of the **Windows SDK**:

{% hint style="success" %}
Find how to install **Orca** on [Microsoft Learn website](https://app.gitbook.com/o/EOMm1MEqvgMWkvjFfyqF/s/tsE6XtJyUIEKVdSxPlS3/).
{% endhint %}

1️⃣ Run Orca, go to **File** > **Open**, then find and select the **Xopero ONE** **agent** **.msi** installer.

2️⃣ Click **Transform** and select **New Transform** from the context menu. Find the **Property** table and double-click the **MANAGEMENT\_URL** row to edit it — change its value to your [**XMS**](#user-content-fn-1)[^1] IP address (in <mark style="color:red;">**XMSIPaddress:port**</mark> format, i.e., <kbd><https://123.4.5.6:28555></kbd>).

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/gMfujhcZhZAWvQ1eAgvG/orca_property.png" alt=""><figcaption></figcaption></figure>

3️⃣ Additional parameters that can be edited are:

> **APPDIR** — **Xopero ONE** agent installation path

4️⃣ Next, click **Transform** > **Generate transform** and save the **.mst** file in the previously created shared directory.

16. Back to **Xopero ONE Backup\&Recovery Agent Properties** window, click **Add...** and specify the path to the **.mst** file corresponding to the **XMS** address (parameter for the **MSI** installer). Once done, click **OK** to confirm the changes and close the window.

<figure><img src="https://content.gitbook.com/content/0CBTl43C3OO6ySL1DJ6k/blobs/U3rx0V4KPZzuaX8agz02/image.png" alt="Completed modifications"><figcaption></figcaption></figure>

17. Once the **GPO** responsible for **MSI** installer distribution and deployment is successfully created, you can implement it on user computers covered by this policy in **Active Directory**— simply run **CMD** and use the following command:

```
gpupdate /force
```

18. After restarting the updated station, the **Xopero ONE** **agent** will be automatically installed with the parameter corresponding to the **XMS** address.
    {% endtab %}
    {% endtabs %}

To learn how to activate the agent in the Xopero management console, check the *Useful links and items* section.

## Useful links and items

{% content-ref url="agent-configuration" %}
[agent-configuration](https://helpcenter.xopero.com/xopero-one-en/deployment-and-configuration/xopero-one-agent/agent-configuration)
{% endcontent-ref %}

[^1]: Xopero ONE Management Service
