# How to change v2.0.9 server password?

**URL:** <https://forum.duplicati.com/t/how-to-change-v2-0-9-server-password/18971>\
**Category:** Uncategorized\
**Created:** [September 10, 2024, 8:24am UTC](https://forum.duplicati.com/t/how-to-change-v2-0-9-server-password/18971 "2024-09-10T08:24:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![starob](https://forum.duplicati.com/user_avatar/forum.duplicati.com/starob/32/9835_2.png) [@starob](https://forum.duplicati.com/u/starob)\
**Post date:** [September 10, 2024, 8:24am UTC](https://forum.duplicati.com/t/how-to-change-v2-0-9-server-password/18971/1 "2024-09-10T08:24:09Z")

</div>

I’m trying to change the server password with `Duplicati.CommandLine.ServerUtil.exe change-password`. The server is asking me for the current password but I don’t know it. Which password is used for a new install?

PS: Since the tray icon can connect there seems to be a shared pw somehow. Would I need to change this one also after changing the server’s pw?

Thanks

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [September 10, 2024, 12:30pm UTC](https://forum.duplicati.com/t/how-to-change-v2-0-9-server-password/18971/2 "2024-09-10T12:30:17Z")

</div>

> [@starob](#):
>
> I’m trying to change the server password with `Duplicati.CommandLine.ServerUtil.exe change-password`. The server is asking me for the current password but I don’t know it. Which password is used for a new install?

The password is randomly generated, so there is no way to obtain that password. Thats [the price for not falling into the “default password” trap](https://en.wikipedia.org/wiki/Default_password).

For most uses, you do not need to set a password, so unless you need to connect to the Duplicati server from something _other than_ the TrayIcon, I would advise keeping it random.

If you do need to know the password to the server, you need to supply your own password to the server, which can be done with one of the methods:

- Start the server/service once with `--webservice-password=<new-password>` (make sure it is not already running)
- Use `Duplicati.CommandLine.ServerUtil.exe` / `duplicati-server-util` and set `--server-datafolder=<path to folder with Duplicati-server.sqlite>`
- Use the TrayIcon to open the page, and change the password in “Settings”
- Obtain the initial signin link from the Event Viewer / system logs and open in a browser, then change the password in “Settings”

> [@starob](#):
>
> PS: Since the tray icon can connect there seems to be a shared pw somehow. Would I need to change this one also after changing the server’s pw?

If you are using the TrayIcon with a hosted server (default setup) the TrayIcon can communicate directly with the server and does not need a password. This also means that changing the password does not affect the TrayIcon. If you run the server separately and start the TrayIcon with `--no-hosted-server` you would need to specify the password or `--server-datafolder` for the TrayIcon as well.

I have written [a post with more details on the Duplicati authentication system](https://forum.duplicati.com/t/increasing-security-for-duplicati-s-web-server/18871) and how you can use it.
