Fix SharePoint Files Saving Locally in OneDrive Instead of SharePoint
Question details
Users experience synchronization conflicts where SharePoint documents edited offline fail to sync back to the SharePoint server, saving instead to the local OneDrive root and generating duplicated files.
- Product
- Microsoft SharePoint / OneDrive
- Device & OS
- not provided
- Scenario
- Accessing and editing SharePoint files offline using a OneDrive shortcut.
- Observed behavior
- Office applications save the updated files to the local OneDrive root folder and frequently create duplicate file copies rather than updating the original SharePoint directory.
Pause your current OneDrive synchronization by clicking the OneDrive cloud icon in your taskbar, selecting the gear icon, and choosing 'Pause syncing' to prevent further file duplication while you troubleshoot.
Remove the OneDrive Shortcut and Sync SharePoint Directly
Removing the nested shortcut and directly syncing the SharePoint document library prevents Office from confusing local pathways with the cloud directory.
When you add a shortcut of a SharePoint folder to 'My files' in OneDrive, offline editing can disrupt the synchronization paths. Direct synchronization establishes a dedicated, clean connection to the SharePoint server.
Open File Explorer, navigate to your primary OneDrive folder, and find the folder shortcut that links to your SharePoint documents.
Right-click the SharePoint folder shortcut and select 'Remove shortcut' from the context menu to delete the link from your personal OneDrive.
Open your web browser, log into Microsoft 365, and navigate to the specific SharePoint Document Library you want to work with.
Click the 'Sync' button located in the top command bar of the SharePoint document library. When prompted, allow Microsoft OneDrive to open and set up the dedicated SharePoint sync folder on your PC.
Unlink and Relink Your OneDrive Account
Refreshing the account connection forces OneDrive to re-evaluate all sync pathways and clear stuck offline modifications.
Reset the OneDrive Application
If relinking fails to stop the duplicate copies, resetting the application clears the OneDrive cache and resolves deeper structural sync bugs.
Experience Conflict-Free Cloud Editing with WPS Office
If you frequently encounter complex synchronization errors, duplicate file creation, or local save issues with Microsoft SharePoint and OneDrive, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for document editing with reliable cloud capabilities.
- 1. Download the installer: Visit the official WPS Office website and click the free download button.
- 2. Install the software: Run the downloaded executable file and follow the straightforward on-screen installation instructions.
- 3. Log in and sync: Open WPS Office, create or log into your account, and easily manage your documents across local and cloud environments.

Frequently Asked Questions
Why does OneDrive create duplicate files with my computer name attached?
This occurs when OneDrive detects a sync conflict. If you edit a SharePoint file offline via a shortcut and someone else alters the same file on the server, OneDrive saves your version locally with your computer name appended to prevent either user's data from being overwritten.
Can I still work on SharePoint files offline without using OneDrive shortcuts?
Yes. By navigating directly to the SharePoint library in your browser and clicking 'Sync', a dedicated node for your organization is created in File Explorer. You can right-click any file or folder in this node and select 'Always keep on this device' for true offline access without using shortcuts in your personal OneDrive.
Will unlinking my OneDrive account delete any of my SharePoint or local files?
No. Unlinking simply severs the connection between your PC and the cloud servers. Your files remain safely stored online in SharePoint/OneDrive, and any copies that were already downloaded to your PC will remain on your local hard drive.




