Environment:
-
Version: 2.3.0.1_stable_2026-04-24
-
OS: Windows
-
Launch Method:
Duplicati.GUI.TrayIcon.exevia 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:
-
Append
--enable-folder-status-serviceto startup arguments. -
Execute
RegisterFolderStatusExtension.ps1as Admin. -
Verify
ShellIconOverlayIdentifiersregistry priority. Used 3-space prefix to beat OneDrive. -
Restart
explorer.exe. -
Run backup job.
-
Check
control_dir_v2. Result: Directory contains onlylock_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…