Forum Discussion
Onedrive status icon folder stuck on Sync Pending in file explorer
We had the same issue with some users when we started to migrated their desktop/documents/pictures to OneDrive.
We found that the folder sits on "sync pending" as there are hidden files that wont sync. These files all start with "~" and seems to be old auto save or lock files.
We unticked "hide protected operating system files (recommended)" in windows explorer settings, this then allowed us to see those files and remove them.
We run Windows 1809 and OneDrive 19.103
Hope this helps
James
jaymzwood KevinVdh
I confirm James solution. Deleting all the "~$" files in a folder removed the sync pending for that folder. Does MS have a tool to delete those files?
- engkaramApr 05, 2021Copper Contributor
Hi there,
There is a simple solution for this problem. Just follow the below steps:
- Open your OneDrive folder on your local machine
- Go to View Ribbon > Check the "Hidden items" checkbox
- Go to View Ribbon > Options > Change Folder and Search Options
- Go to View Tab and check the "Show hidden files, folders, and drives"
- Click Apply
- Now, you can see files that are starting with "~" (without the double quotes) that has their sync status pending. These files are normally created as a result of editing a file but the application used to edit the file did not perform proper clean up upon closure. It should be safe to delete these files; however, pay attention not to delete important file. I prefer moving them to other folder before deleting.
- Now, your folder should start syncing and sync should get completed.
- Repeat the same to all other folders.
Enjoy

- fluodtineApr 05, 2021Copper ContributorIt's insane that such critical issue isn't solved even in 2021. This might cause loss of important data. Microsoft's development workflow is prehistoric if they can't spot such bugs. Also ignorance and serving dumb help tutorials which never work should be a punishable act.