# 4.2.1 on Windows - "deleted sync.lock"

**URL:** <https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481>\
**Category:** Codebook\
**Created:** [June 18, 2020, 6:43pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481 "2020-06-18T18:43:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phobos512](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@phobos512](https://discuss.zetetic.net/u/phobos512)\
**Post date:** [June 18, 2020, 6:43pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481/1 "2020-06-18T18:43:32Z")

</div>

Getting an error having just installed release 4.2.1 on Windows 10. Each time I try to sync it gives me an error: “Deleted sync.lock, please restart sync if no other clients synchronizing”.

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [June 18, 2020, 8:40pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481/2 "2020-06-18T20:40:14Z")

</div>

Hi @phobos512

I’m sorry to hear about the issue with the latest release of Codebook for Windows, I would be happy to help. Are you syncing with a cloud provider such as Dropbox or Google Drive, or are you syncing over local WiFi?

---

<div class="post-metadata">

**Author:** ![phobos512](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@phobos512](https://discuss.zetetic.net/u/phobos512)\
**Post date:** [June 18, 2020, 8:53pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481/3 "2020-06-18T20:53:10Z")

</div>

Google Drive across all my devices (two laptops and an Android phone) since back in the STRIP days.

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [June 18, 2020, 9:19pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481/4 "2020-06-18T21:19:05Z")

</div>

Hello @phobos512

Would you mind logging into the Google Drive [web interface](https://drive.google.com) and navigate into the `Zetetic` folder, then into the `Shards` folder. Do you see 1 or more `sync.lock` files present? If so, and if you don’t have any other Codebook clients currently syncing, would you delete those files and then try your sync again?

---

<div class="post-metadata">

**Author:** ![phobos512](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@phobos512](https://discuss.zetetic.net/u/phobos512)\
**Post date:** [June 18, 2020, 9:40pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481/5 "2020-06-18T21:40:27Z")

</div>

There are 41 sync.lock files in my Google Drive 😵

---

<div class="post-metadata">

**Author:** ![phobos512](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@phobos512](https://discuss.zetetic.net/u/phobos512)\
**Post date:** [June 18, 2020, 9:42pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481/6 "2020-06-18T21:42:37Z")

</div>

I deleted them and it seems to be proceeding without giving an error now.

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [June 18, 2020, 9:56pm UTC](https://discuss.zetetic.net/t/4-2-1-on-windows-deleted-sync-lock/4481/7 "2020-06-18T21:56:51Z")

</div>

Hi @phobos512

Thank you for your follow-up, we are happy to hear removing those files allowed the sync to complete! We are investigating the issue here locally to determine the cause and then will work on a resolution to address the issue in a future release.
