# How to change/restore the password to repository

**URL:** <https://kopia.discourse.group/t/how-to-change-restore-the-password-to-repository/2155>\
**Category:** Support\
**Created:** [July 18, 2023, 12:42pm UTC](https://kopia.discourse.group/t/how-to-change-restore-the-password-to-repository/2155 "2023-07-18T12:42:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lessi](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/lessi/32/703_2.png) [@Lessi](https://kopia.discourse.group/u/Lessi)\
**Post date:** [July 18, 2023, 12:42pm UTC](https://kopia.discourse.group/t/how-to-change-restore-the-password-to-repository/2155/1 "2023-07-18T12:42:02Z")

</div>

Hi.

I forgot the password to the KopiaUI repository on Windows 10. I would like to ask how “easily” could I change it when I am still connected to the repository? It would be great to have the option in KopiaUI since I do not know a lot to work with command line.

Thanks a lot for your help.

---

<div class="post-metadata">

**Author:** ![ChrisA](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@ChrisA](https://kopia.discourse.group/u/ChrisA)\
**Post date:** [July 18, 2023, 1:40pm UTC](https://kopia.discourse.group/t/how-to-change-restore-the-password-to-repository/2155/2 "2023-07-18T13:40:30Z")

</div>

Hey @Lessi,

have a look at here: [Frequently Asked Questions | Kopia](https://kopia.io/docs/faqs/#how-do-i-change-my-repository-password)  
You must use the cli since it has not been implemented in kopia ui. However, as you are still connected you should be able to reset your password.

Cheers,

---

<div class="post-metadata">

**Author:** ![Lessi](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/lessi/32/703_2.png) [@Lessi](https://kopia.discourse.group/u/Lessi)\
**Post date:** [July 18, 2023, 1:42pm UTC](https://kopia.discourse.group/t/how-to-change-restore-the-password-to-repository/2155/3 "2023-07-18T13:42:54Z")

</div>

Hey ChrisA.

Thanks. I was looking over there, but I do not understand it a lot. I don’t know what all steps should I make to change the password with CLI.

---

<div class="post-metadata">

**Author:** ![ChrisA](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@ChrisA](https://kopia.discourse.group/u/ChrisA)\
**Post date:** [July 18, 2023, 1:53pm UTC](https://kopia.discourse.group/t/how-to-change-restore-the-password-to-repository/2155/4 "2023-07-18T13:53:27Z")

</div>

Hey @Lessi,

when its working, it is pretty simple 🙂

Open Kopia UI and you most likely see your repository and snapshots. It should look like this:

 ![image](https://global.discourse-cdn.com/free1/uploads/kopia/original/1X/137cf6e33cd0a7a0d7cf9f8ae7cab59e2e463068.png)

Click on the yellow button to copy the command. In windows open the command line (type cmd in search box) and then paste the command.

After that modify the command. It should look similar to this:

```auto
C:\Users\...\KopiaUI\resources\server\kopia.exe --config-file=C:\Users\...\kopia\repository-1689687853158.config repository change-password

```

That should be all. Enter a new password and that’s it.

PS. I’ve omitted my path

---

<div class="post-metadata">

**Author:** ![Lessi](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/lessi/32/703_2.png) [@Lessi](https://kopia.discourse.group/u/Lessi)\
**Post date:** [July 18, 2023, 3:22pm UTC](https://kopia.discourse.group/t/how-to-change-restore-the-password-to-repository/2155/5 "2023-07-18T15:22:52Z")

</div>

Thanks a lot, @ChrisA! It is so simple. You saved me. Thanks 😉
