If OneDrive sync is stuck on “Processing changes” or showing file conflict errors for a single SharePoint site, you may need to reset the sync connection for just that site instead of unlinking your entire OneDrive account. The OneDrive sync client stores a local cache and a database for each synced SharePoint site, and corrupt data in that cache causes the sync to fail for that site only. This article provides a step-by-step workflow to reset the sync relationship for one SharePoint site without affecting your personal OneDrive or other synced sites.
Key Takeaways: Reset OneDrive Sync for a Single SharePoint Site
- OneDrive Settings > Account > Stop Sync: Removes the sync link for one site without affecting other sites or your personal OneDrive.
- File Explorer > OneDrive folder: After stopping sync, delete the local folder for that site to clear cached files and metadata.
- SharePoint site > Library > Sync button: Re-establishes the sync connection after the local cache is cleared.
How OneDrive Sync Works for SharePoint Sites
When you sync a SharePoint document library to your computer, the OneDrive sync client creates a local copy of the files and a database that tracks changes. This database lives in a hidden folder inside your user profile. If the database becomes corrupted due to a network interruption, a large number of file changes, or a conflict resolution error, the sync client may stop processing updates for that specific site. Other sites synced to the same OneDrive client continue to work normally because each site has its own database entry.
The reset workflow removes the site from the sync client’s list and deletes the local database and cached files. After the reset, you sync the site again from scratch. This process is faster than unlinking your whole OneDrive account and re-syncing everything, and it does not delete files from the SharePoint server.
Steps to Reset OneDrive Sync for One SharePoint Site
Follow these steps in order to reset the sync relationship for a single SharePoint site. You need the site URL and the name of the synced library.
- Stop syncing the site from OneDrive settings
Right-click the OneDrive cloud icon in the system tray and select Settings. Go to the Account tab. Under the list of synced sites, locate the SharePoint site you want to reset. Click the three dots next to that site and choose Stop Sync. Confirm the action when prompted. This removes the site from your sync list but leaves the local folder on your computer. - Delete the local folder for the site
Open File Explorer and navigate to the folder where your synced files are stored. By default, this is under your user profile in a folder named after your organization, for exampleC:\Users\YourName\Contoso. Locate the subfolder that matches the SharePoint site name. Delete that entire folder. If you see a message that the folder is in use, close any open files from that folder and retry. Empty the Recycle Bin to ensure no leftover metadata remains. - Clear the OneDrive sync cache for the site
Press Windows key + R, type%localappdata%\Microsoft\OneDrive\settings\Business1and press Enter. Look for files namedClientPolicy.datorSyncEngine.db. Delete any file that contains the site ID or the library name in its filename. If you are unsure, delete all files in this folder. The OneDrive client will recreate them on the next sync. - Restart the OneDrive sync client
Right-click the OneDrive cloud icon in the system tray and select Close OneDrive. Wait 10 seconds. Open the Start menu, type OneDrive, and press Enter to restart the client. Sign in again if prompted. The client will rescan your sync settings and show the site as no longer synced. - Re-sync the SharePoint library
Open a web browser, go to the SharePoint site, and navigate to the document library you want to sync. Click the Sync button in the toolbar. In the confirmation dialog, click Start Sync. OneDrive will download all files from the server to a new local folder. This step may take several minutes depending on the library size.
If the Reset Does Not Work
In some cases, the sync client may still show the old site as synced after the reset. This usually means the OneDrive cache was not fully cleared.
OneDrive sync still shows the old site
Open the OneDrive settings again and check the Account tab. If the site still appears, use the Stop Sync option again. Then close OneDrive, delete the entire %localappdata%\Microsoft\OneDrive folder, and restart OneDrive. This clears all cached data for all sites, so you will need to re-sync every site afterward.
Files are missing or not downloaded after re-sync
Verify that the library you are syncing is the same one you synced before. If the library was renamed or moved, the sync client may not find it. Go to the SharePoint site, open the library, and check the URL. Use the Sync button from that exact library page. If files still do not appear, check the SharePoint site permissions. You may have been removed from the site group.
OneDrive crashes or freezes after reset
A corrupt OneDrive installation can cause crashes after a reset. Repair the OneDrive app by going to Windows Settings > Apps > Microsoft OneDrive > Modify > Repair. After the repair, repeat the reset steps. If the problem continues, uninstall OneDrive completely, restart your computer, and install the latest version from the Microsoft website.
Stop Sync vs Unlink Account: Key Differences
| Item | Stop Sync (per site) | Unlink Account (all sites) |
|---|---|---|
| Scope | One SharePoint site only | All OneDrive and SharePoint sites |
| Local files after action | Folder remains on disk | Folder remains on disk |
| Effect on other syncs | None | All syncs stop |
| Time to re-sync | Minutes per site | Hours if many sites |
| When to use | Single site with sync errors | Account migration or reinstallation |
Common Mistakes to Avoid
Do not delete the local folder before stopping sync in OneDrive settings. If you delete the folder first, the sync client may try to re-download all files immediately, causing a large network spike. Always stop sync first.
Do not use the Windows Disk Cleanup tool to clear OneDrive files. This tool removes the sync database for all sites, not just one. Use the manual folder deletion described in this workflow instead.
Do not rename the local folder after stopping sync. The OneDrive client may still reference the old folder name and create duplicate folders on the next sync. Let the client create a new folder automatically.
You can now reset the OneDrive sync connection for a single SharePoint site by stopping sync in OneDrive settings, deleting the local folder, clearing the cache, and re-syncing the library. This workflow preserves your personal OneDrive files and all other synced sites. As an advanced tip, use the OneDrive diagnostic tool by running onedrive.exe /reset from the Run dialog if the reset steps fail to clear the cache completely.