A customer recently had an issue with syncing their SharePoint Online library with One-Drive for Business. Some of the files were syncing properly, but some were throwing errors and displaying a red X. Most of the time sync errors are caused by invalid characters or a bad file name, but this one wasn't the case. Running repair didnt work, so I went in and manually cleared out all of the One Drive cache files and reconfigured the sync library.
Here's how to do that:
- Close all your Office processes like groove.exe, msouc.exe, msosync.exe, etc
- Browse to “C:\Users\%username%\AppData\Local\Microsoft\Office\Spw” and delete all the content.
- Go to “C:\Users\%username%\AppData\Local\Microsoft\Office\15.0\OfficeFileCache” and also delete all content from this folder.
- After deleted everything, start OneDrive again (using “C:\Program Files\Microsoft Office\Office15\GROOVE.EXE“)
- Configure the sync library again
Even Microsoft support couldnt provide this information to me, so hopefully this help you if you ever have a sync issue that you just cannot fix.