OneDrive keeps a record of changes in a cache which may over time get stuck or corrupted and cause syncing issues (See our guide ’How to Reset OneDrive’ if you have problems with the sync). You can easily stop syncing SharePoint or Teams to free up space and reduce the burden on the OneDrive app.
Click on the OneDrive icon in the System Tray and go to Settings
You will see a list of Teams files or SharePoint libraries you are syncing. To stop syncing, simply click on ‘Stop Sync’ next the library you no longer need to keep. This will remove the files from your PC.
Once you have stopped syncing, you can delete the library by right-clicking on it in Explorer. This will remove the files and folders from the PC but will not delete them from SharePoint or Teams.
NOTE: Do not delete the library before you have stopped syncing it!
Other Useful Tips
Over time, your PC hard drive may start to get full if you sync a large amount of files. Use StorageSense to offload files you haven’t opened periodically, as well as clear up your downloads folder and recycle bin:
Manage storage in OneDrive using Storage Sense
If you have other sync problems, you might also need to occasionally reset the OneDrive cache: