Tray icon issue v2.1.2.0_beta_2025-08-20 service

Hi,

I installed Duplicati version 2.1.2.0_beta_2025-08-20 as a service on Windows 10/11.

I configured the tray icon to execute this command but it is not shown in the taskbar when launched :

“C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe” --no-hosted-server --read-config-from-db --server-datafolder=C:\ProgramData\Duplicati\home

When I run this command in Windows Terminal, an error occurs:

Crash!
System.UnauthorizedAccessException: Access to the path ‘C:\ProgramData\Duplicati\home\installation.txt’ is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)

When I change security of the folder it works (tray icon is running) but the service rewrites security after a restart.

Is there a solution ?

Thanks for your replies

Yes!

Create a file named insecure-permissions.txt inside the folder (next to Duplicati-server.sqlite), then adjust the permissions to your liking.

When the service starts next time, it will notice that file is present and leave the folder and database permissions alone.

Thank you, but what is the syntax tu put into this insecure-permissions.txt file ? (same as icacls ?)

The file can be empty if you like. The file is not being read, it is just a marker to tell Duplicati to not reset permissions.

Ok it worked for me by doing this:

1 - stop duplicati service

2 - edit advanced permissions of c:\programdata\Duplicati to force inheritance:

3- create empty file named insecure-permissions.txt in c:\programdata\Duplicati\home

4 - start Service