Forum Discussion
Onedrive status icon folder stuck on Sync Pending in file explorer
I have the very same folder sync issues. I am only using the folders by myself, so there isn't any sharing issue with others.
What helped me was just changing folder names and change them back again. The key is that you need to be patient.
So what I did:
- Change the folder name for the folder with sync errors. I just added a number after the folder name.
- OneDrive will sync the folder name and the sync status will be correct again.
- Wait for a day (maybe you are able to wait less, but this is what I did).
- Change the folder name back again to the original name.
- OneDrive will sync the folder name and the sync status will be correct again.
If you change the folder name and after a minute change the folder name back again to the original name, the sync errors will occur again.
Hope this will help you (and others) too!
- m_emelchenkovOct 03, 2021Copper ContributorI have the same problem. It does not depends sync I several thousands files, or only hundred, but for some files icon has "Pending sync" status. It seems it is random, because these files are not hidden, and directories contains them does not have hidden files. Tested on a fresh Windows Server 2022 + SharePoint 2019.
- aharownOct 04, 2021Copper Contributor
I never have found a solution this, only a workaround. As others have mentioned...
- Create a new folder
- Move all the files to the new folder
- Delete the one that won't sync
This usually works for me, though sometimes it takes quite a while for those folders with tons of files. Sometimes, I can't delete or rename the old folder for a few days. But I've occasionally been successful removing it in the web interface when I couldn't do it in Windows.
- m_emelchenkovOct 04, 2021Copper Contributor
aharown Thanks. I tried multiple things: doing client reset, resyncing, deleting folder and copying again etc.—it simply never work correctly. After this testing I decided not to use OneDrive, it's simply unreliable for its main task—syncing files. Because the issue not only in icons cache or something like that, but it's real wrong sync status of files. Also, I tried to install OneDrive on macOS Virtual Machine, to test there, and there after adding on-premise server it simply crashes somewhere at login stage, I checked crashlogs. It's so strange that in 2021 Microsoft still can't implement reliable software... it's not working on both main OSes.
- Jon LarsonApr 09, 2021Brass ContributorKevinVdh
First I had to disable "Hide protected operating System files" and delete all the un-synced temp files (most started with "~") per the instructions from jaymzwood
That fixed the sync status of most of the folders, but there were still a few stragglers that had this issue--but no hidden temp files.
Then I followed soepah method to rename those folders and wait 5-10 seconds for the icon to turn green, then rename them back. The icon would turn back to sync, but change to green again within a few seconds.
All the folders are green now--yay! And MS still hasn't fixed this bug as of April 2021--boo!- Brian_LynchApr 27, 2021Copper Contributor
Jon Larson I also have this issue happening to me in the last day and can not gain any solution from the above forum.
Just wondering where to go next ? Has anyone any idea ?
- dptucson1May 01, 2020Copper Contributor
soepah your solution works, but only if there are no sub folders that are also stuck on the sync icon. If you have sub folders, you have to change their names first, then the parent folder. And if you have a whole structure of sub folders (as I did) you're screwed. You'll be facing a mega project of renaming hundreds of folders!