Fix SharePoint Files Saving to OneDrive Root Folder
Question details
Users experience an issue where offline files accessed via a SharePoint OneDrive shortcut are saved to the OneDrive root directory instead of the original SharePoint folder, creating file duplicates upon reconnecting to the internet.

- Product
- SharePoint and OneDrive
- Device & OS
- not provided
- Scenario
- Editing SharePoint files offline using a shortcut added to a personal OneDrive folder.
- Observed behavior
- Modified files save to the OneDrive root folder instead of synchronizing back to the correct SharePoint library, resulting in duplicate files after the network connection is restored.
Before attempting synchronization fixes, manually copy any unsynced or modified files from your OneDrive root folder to a local backup folder to ensure no data is lost during the reset process.
Use Direct SharePoint Synchronization
Bypassing the 'Add shortcut to OneDrive' feature and directly syncing the SharePoint library provides a more reliable offline editing experience and prevents path routing errors.
The 'Add shortcut to OneDrive' feature can sometimes struggle to map network paths correctly after a period of offline editing. Directly synchronizing the library establishes a dedicated organizational folder on your PC that handles offline file tracking much better.
Open your OneDrive folder in File Explorer, locate the problematic SharePoint shortcut (indicated by a link icon), right-click it, and select 'Remove'.
Open your web browser, log into Microsoft 365, and navigate to the specific SharePoint document library you wish to sync.
Click the 'Sync' button located on the top command bar of the SharePoint library web page to launch the OneDrive client.
Open File Explorer and confirm that the SharePoint library is now syncing under a separate building icon (your organization's name) rather than inside your personal OneDrive.

Unlink and Relink Your OneDrive Account
Refreshing the connection between your device and OneDrive can resolve deep-seated caching issues that cause files to dump into the root directory.
Experience Seamless Cloud Document Management with WPS Office
Tired of dealing with complex synchronization errors and duplicated files? WPS Office offers a lightweight, highly compatible alternative to Microsoft Office, featuring built-in, reliable cloud integration that makes offline and online editing effortless.
- 1. Download and Install: Download WPS Office for free from the official website and easily install it on your operating system.
- 2. Open Your Documents: Launch WPS Office and open your existing Office files directly from your local drive or connected cloud storage.
- 3. Save and Sync Effortlessly: Utilize the integrated WPS Cloud to save changes reliably, avoiding the routing issues common with standard shortcut setups.

Frequently Asked Questions
Why do offline SharePoint files save to the OneDrive root folder?
This routing error typically occurs when the 'Add shortcut to OneDrive' feature fails to accurately track the destination path during an extended offline period. To prevent data loss, the OneDrive client defaults to saving the recovered document in the root directory upon reconnection.
How can I prevent duplicate files when reconnecting to my network?
The most effective way to prevent duplicates is to stop using OneDrive shortcuts for SharePoint folders. Instead, open the SharePoint library in your browser and use the direct 'Sync' button to establish a dedicated, reliable synchronization path.
Will removing a OneDrive shortcut delete the actual files from SharePoint?
No. Removing a shortcut only deletes the symbolic link from your personal OneDrive folder view. The original documents remain perfectly intact and accessible within the source SharePoint library.




