# Although an exclude pattern has been deleted from sync-exclude.lst both in user and program folder, Nexcloud desktop still says file is in exclude list

**URL:** <https://help.nextcloud.com/t/although-an-exclude-pattern-has-been-deleted-from-sync-exclude-lst-both-in-user-and-program-folder-nexcloud-desktop-still-says-file-is-in-exclude-list/251648>\
**Category:** 📱 Desktop & mobile clients\
**Tags:** desktop-client, windows\
**Created:** [November 1, 2026, 1:18am UTC](https://help.nextcloud.com/t/although-an-exclude-pattern-has-been-deleted-from-sync-exclude-lst-both-in-user-and-program-folder-nexcloud-desktop-still-says-file-is-in-exclude-list/251648 "2026-11-01T01:18:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bege](https://help.nextcloud.com/letter_avatar/bege/32/6_449c533f586939b6e5f246632a46421f.png) [@bege](https://help.nextcloud.com/u/bege)\
**Post date:** [November 1, 2026, 1:18am UTC](https://help.nextcloud.com/t/although-an-exclude-pattern-has-been-deleted-from-sync-exclude-lst-both-in-user-and-program-folder-nexcloud-desktop-still-says-file-is-in-exclude-list/251648/1 "2026-11-01T01:18:03Z")

</div>

I am using Nexcloud desktop for Windows v35.0.0.  
I deleted the pattern .~lock.\* from both exclude lists - user appdata and program folder - but a file matching this pattern is still not synced and the desktop client says it is in the exclude list.  
Are the exclude patterns stored somewhere else?

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_449c533f586939b6e5f246632a46421f.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [November 19, 2026, 9:09am UTC](https://help.nextcloud.com/t/although-an-exclude-pattern-has-been-deleted-from-sync-exclude-lst-both-in-user-and-program-folder-nexcloud-desktop-still-says-file-is-in-exclude-list/251648/2 "2026-11-19T09:09:45Z")

</div>

Is there a request to the server (and the client says that it is denied), or is this just the handling of the client?

I don’t know the inner working of the client if this pattern is required for it to work. In general, such file locking is designed for local machines. Sync solutions like Nextcloud have file locking features (there is an app [Temporary files lock - Apps - App Store - Nextcloud](https://apps.nextcloud.com/apps/files_lock), since NC 34+ included by default) that are supposed to work between clients.

---

<div class="post-metadata">

**Author:** ![bege](https://help.nextcloud.com/letter_avatar/bege/32/6_449c533f586939b6e5f246632a46421f.png) [@bege](https://help.nextcloud.com/u/bege)\
**Post date:** [November 19, 2026, 7:58pm UTC](https://help.nextcloud.com/t/although-an-exclude-pattern-has-been-deleted-from-sync-exclude-lst-both-in-user-and-program-folder-nexcloud-desktop-still-says-file-is-in-exclude-list/251648/3 "2026-11-19T19:58:25Z")

</div>

The file is created locally and not synced to the server. It is a client side issue.  
Meanwhile I found out that “Temporary files lock” does the job to lock open files, so I don’t need those lock files.  
Nevertheless the question is still open, why the client applies a filter that has been deleted. It looks like those filters in the program folder are hard coded. But perhaps someone knows exactly how that works.
