# Password reset

## If you have access to your Xopero Management Service <a href="#on-premise" id="on-premise"></a>

{% stepper %}
{% step %}
Login to **XMS**, open **Settings** (gear ⚙️ icon in the bottom-left corner) and select **Accounts**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F084K7OWYtkfbCKPAkuzP%2Fimage.png?alt=media&#x26;token=d2f861ae-988b-4b2b-8d1b-1364e3a3ce7e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Find your root account and click the **edit** (✏️) icon.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F58ZsRBQF73NGlUWG7bJL%2Fimage.png?alt=media&#x26;token=43284bcf-9881-40af-a659-ed5053e76549" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter your old password and your new password in the correct fields, then click **Change**.

{% hint style="warning" %}
Keep in mind that when you're creating a new root account password you <mark style="color:red;">**have to meet the password complexity requirements**</mark>.
{% endhint %}

{% hint style="danger" %}
By default, the system remembers three most recently used passwords, which **cannot be used again when creating a new password —** the number of previously used passwords that must remain unique can be adjusted in the **Unique new passwords** section under ⚙️**Settings** > **Advanced**.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FJQx70mAJLwseIc6DeAzD%2Fimage.png?alt=media&#x26;token=44e4f15f-daef-458b-952c-d35afd5539d4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Hit the **Save** button to finish. Your password should now be successfully changed.
{% endstep %}
{% endstepper %}

***

## If you don't have access to your Xopero Management Service

{% stepper %}
{% step %}
Open your **XMS** login page and click **Forgot password?** link under credentials fields.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fhr2g8zA4aqazIKKEUpeO%2Fimage.png?alt=media&#x26;token=d6309d1d-7b2f-4282-860e-21b7c959dc4b" alt="" width="453"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter the email address associated with your root account and hit **Send me a recovery link** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FIusCkbZOBNaGlBqxgvE8%2Fimage.png?alt=media&#x26;token=b66cd11a-c6be-4b74-a248-6da219ee90fa" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
You will see a message confirming the password reset has been initiated. Follow the next steps based on your deployment model (SaaS or on-premise):

#### a. For SaaS model: <a href="#saas" id="saas"></a>

1. If the password reset was initiated correctly you will see the following message:

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FgUoAl4sIe702nWXDnfC3%2Fimage.png?alt=media&#x26;token=64b8b19c-4627-48ce-9de1-64118b5a30ec" alt=""><figcaption></figcaption></figure>

2. Open your inbox, find the email from **Xopero ONE & GitProtect.io** and click the **Password reset** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FLMXOG5v3N8MRr0vWMmUP%2Fimage.png?alt=media&#x26;token=21d42d93-285d-4fc5-ad52-454b98e5a1a1" alt=""><figcaption></figcaption></figure>

3. Set a new password for your root account and press **Save**.&#x20;

{% hint style="warning" %}
Keep in mind when you're creating a new root account password you <mark style="color:red;">**have to meet the password complexity requirements**</mark>.
{% endhint %}

{% hint style="danger" %}
By default, the system remembers **three most recently used passwords**, which **cannot be used again when creating a new password —** the number of previously used passwords that must remain unique can be adjusted in the **Unique new passwords** section under ⚙️**Settings** > **Advanced**.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fh88Td8kJGkdkZO2jk0cW%2Fimage.png?alt=media&#x26;token=7ae80cfe-3a28-4dd0-a75b-6729b3abbf91" alt=""><figcaption></figcaption></figure>

4. You will receive a confirmation once the password is changed successfully.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FpTfQq3AGSfqxgYAqZDKn%2Fimage.png?alt=media&#x26;token=c0920967-0314-410f-9b6d-19c0051c293b" alt=""><figcaption></figcaption></figure>

#### b. For on-premise model:

{% hint style="warning" %}
The following steps apply to the on-prem model <mark style="color:red;">**without a configured SMTP server**</mark>. When the SMTP server is configured, the on-prem version processes the password reset via email, similarly to the SaaS model.
{% endhint %}

{% hint style="danger" %}
Użytkownik nie ma dostępu do folderu gdzie zapisuje się hasło po resecie hasła w on-prem na **XUP**. **Dodać ścieżkę działania (albo ustaw serwer SMPT, albo?).**
{% endhint %}

1. Once you see the following message, your root account password is already changed.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fc7HYCTxFp7BXRMIRPSv9%2Fimage.png?alt=media&#x26;token=27a1f63b-123a-4d81-bc83-afa3dda485b8" alt=""><figcaption></figcaption></figure>

2. You can find it in a .txt file in the following path:

> <sub><kbd>C:\ProgramData\Xopero ONE\Xopero ONE Backup\&Recovery Service\pwdreset<kbd></sub>\ <sub><kbd><email@domain.com.txt><kbd></sub>
> {% endstep %}
> {% endstepper %}
