[Bug] v2.3.0.1 - Folder Status Indicator: status_v2 files not generated

Environment:

  • Version: 2.3.0.1_stable_2026-04-24

  • OS: Windows

  • Launch Method: Duplicati.GUI.TrayIcon.exe via Task Scheduler (Highest Privileges)

  • CLI: PowerShell 7.6.1

Issue:

Windows Folder Status Indicator fails. Icon overlays remain invisible.
Background service starts. Service creates lock_v2 in %LOCALAPPDATA%\Duplicati\control_dir_v2.
Service fails to generate status_v2_[ID] files. Shell extension receives zero metadata.

Reproduction Steps:

  1. Append --enable-folder-status-service to startup arguments.

  2. Execute RegisterFolderStatusExtension.ps1 as Admin.

  3. Verify ShellIconOverlayIdentifiers registry priority. Used 3-space prefix to beat OneDrive.

  4. Restart explorer.exe.

  5. Run backup job.

  6. Check control_dir_v2. Result: Directory contains only lock_v2. No status files.

Isolation Test Performed:

Targeted absolute path C:\StatusTest containing 2 text files.

Eliminated environment variable parsing errors.

Eliminated large job (126k+ files) timeouts.

Result: Backup succeeds instantly. status_v2 files still missing.

Logs & Exception:

Live log shows “Success”.
Server log catches finalizer thread exception. Export thread dies prematurely.

# Exception
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The CancellationTokenSource has been disposed.)[cite: 2]
 ---> System.ObjectDisposedException: The CancellationTokenSource has been disposed.[cite: 2]
   at System.Threading.CancellationTokenSource.get_Token()[cite: 2]
   at Duplicati.Server.Runner.<>c__DisplayClass16_2.<<RunInternal>b__3>d.MoveNext()[cite: 2]
   --- End of inner exception stack trace ---[cite: 2]

# Message
A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The CancellationTokenSource has been disposed.)[cite: 2]

P.S. : I hope my style is not too concise…

Hi @NotesOfReality, welcome to the forum :waving_hand:

Thanks for the detailed reporting. There is another report here:

We need to revisit the overlay handling to fix it.

Thank you, for your kind welcome especially :smiley:
I’ll be happily waiting for the next version, and hopefully I’ll remember to report if it gets fixed by then.
Feel free to mention me as you see fit , if I could be of any help :call_me_hand:

Have a nice day :two_hearts: