> For the complete documentation index, see [llms.txt](https://helpcenter.gitprotect.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.gitprotect.io/sign-in-and-authentication/password-reset.md).

# Password reset

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

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

<figure><img src="/files/MoaRaXRp6INbSnZrnqPK" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/oFBI1ugqY1j3kkXXSTps" 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="/files/KAEmto7KAn4CWkg4x7wJ" 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 GitProtect Management Service

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

<figure><img src="/files/DsFXjKw2SrCtc5L8nBbE" alt=""><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="/files/WLkE6kY7t5DK0WwxeYFQ" 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:**

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

<figure><img src="/files/EjgSLCrdr6qeqQnotS85" alt=""><figcaption></figcaption></figure>

2. Open your inbox, find the email from **GitProtect & GitProtect.io** and click the **Password reset** button.
3. Set a new password for your root account and press **Save**.

{% 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 %}

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

<figure><img src="/files/cxQXu7eGwqeWHleG5Wg4" 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 %}

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

<figure><img src="/files/MzYV1EKB4TOMRaw2JrBb" alt=""><figcaption></figcaption></figure>

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

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