# Warning for locked file - sometimes yes, sometimes not

**URL:** <https://forum.duplicati.com/t/warning-for-locked-file-sometimes-yes-sometimes-not/22785>\
**Category:** Support\
**Created:** [October 11, 2026, 2:39pm UTC](https://forum.duplicati.com/t/warning-for-locked-file-sometimes-yes-sometimes-not/22785 "2026-10-11T14:39:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eni\_Ki](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@Eni\_Ki](https://forum.duplicati.com/u/Eni_Ki)\
**Post date:** [October 11, 2026, 2:39pm UTC](https://forum.duplicati.com/t/warning-for-locked-file-sometimes-yes-sometimes-not/22785/1 "2026-10-11T14:39:07Z")

</div>

running 2.4.0.1 - 2.4.0.1\_stable\_2026-10-07 on Win10:

On the same machine I sometimes get a warning due to a locked file (“`Excluding path due to file locked: D:\<path>\ClipCache\ClipCache.db`” - a clipboard extender, in autostart), sometimes I don’t. I understand that a locked file is excluded, what I don’t understand is, that the same file sometimes gets backed up, sometimes excluded (as seen in the restore history).

Any ideas?

---

<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:** [October 11, 2026, 5:34pm UTC](https://forum.duplicati.com/t/warning-for-locked-file-sometimes-yes-sometimes-not/22785/2 "2026-10-11T17:34:42Z")

</div>

> [@Eni\_Ki](#):
>
> what I don’t understand is, that the same file sometimes gets backed up, sometimes excluded

When Duplicati scans the data to find the files, it has to give up if the file is locked, and this triggers a warning. Internally, this is then mapped as if the file was missing.

> [@Eni\_Ki](#):
>
> Any ideas?

It sounds like each differs in having the file locked or not, so sometimes it can be read, sometimes not. Given the filename, I would assume this file is safe to exclude, but please check if it is important to the operations.

If you want to be able to read the file everytime, you need to run Duplicati with Administrator privileges, and then either enable snapshots or the BackupRead feature.

---

<div class="post-metadata">

**Author:** ![Eni\_Ki](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@Eni\_Ki](https://forum.duplicati.com/u/Eni_Ki)\
**Post date:** [October 12, 2026, 8:52am UTC](https://forum.duplicati.com/t/warning-for-locked-file-sometimes-yes-sometimes-not/22785/3 "2026-10-12T08:52:33Z")

</div>

> [@kenkendk](#):
>
> It sounds like each differs in having the file locked or not, so sometimes it can be read, sometimes not.

Hmm… whenever I checked this \*.db file with FileLocksmith it was locked. This clipboard extender is running in the background - permanently, I would suppose. So the idea of Duplicati hitting a second where it should be unlocked is not quite plausible to me.

Anyway, I have no problem excluding this file from the job, as it is not really important.
