When you create a shortcut to a shared OneDrive folder, you may see duplicate folders appear in your own OneDrive. This happens because OneDrive treats shortcuts differently from local sync folders. The duplicate folders can clutter your file explorer and cause confusion about which version to use. This article explains why OneDrive creates these duplicate folders and provides a step-by-step fix to stop it from happening.
Key Takeaways: Stop Duplicate Folders When Adding a OneDrive Shortcut
- OneDrive > Settings > Account > Add shortcut: Use this path to add a shared folder shortcut without syncing all files locally.
- File Explorer right-click > Sync: Avoid using this option for shared folders because it creates a full local sync copy and a separate shortcut.
- OneDrive web > Shared libraries > Add shortcut to My files: This method adds only a web link, preventing local duplicates.
Why OneDrive Creates Duplicate Folders When Adding a Shortcut
OneDrive offers two ways to access shared folders: adding a shortcut and syncing the folder. A shortcut creates a link in your OneDrive that points to the shared folder. Syncing downloads all files from the shared folder to your computer. When you use the wrong method or combine both, OneDrive creates a duplicate folder.
The root cause is a difference in how OneDrive handles shortcuts versus sync operations on Windows 10 and Windows 11. When you right-click a shared folder in File Explorer and select “Sync,” OneDrive starts a full sync. If you also have a shortcut to the same folder in your OneDrive, the sync creates a second local folder. This duplicate folder has a different path and syncs independently, leading to two sets of files.
Another cause is the way OneDrive processes shortcuts added from the web versus from File Explorer. A shortcut added from onedrive.com creates a web link only. A shortcut added from File Explorer may trigger a sync if the folder is already shared. Understanding these two methods helps you avoid duplicates.
Shortcut vs Sync: What Each Does
A shortcut in OneDrive is a pointer. It appears in your OneDrive folder but does not download files to your computer unless you open it. Syncing a folder downloads all files and keeps them updated. If you add a shortcut and then sync the same folder, OneDrive treats them as separate items. This creates two folders: one for the shortcut and one for the sync.
How the Duplicate Folder Appears
After adding a shortcut to a shared folder, you may see a folder with the same name in your OneDrive and another folder in the OneDrive sync location. The shortcut folder often has a small arrow overlay in File Explorer. The synced folder does not. Both folders show the same files, but changes in one do not reflect in the other. This can lead to data inconsistency.
Steps to Remove Duplicate Folders and Prevent Them in the Future
Follow these steps to fix existing duplicates and avoid new ones.
Remove Existing Duplicate Folders
- Open OneDrive settings
Right-click the OneDrive cloud icon in the system tray and select Settings. Go to the Account tab. - Stop syncing the shared folder
Under “Choose folders,” click Choose folders. Clear the check box next to the shared folder that has a duplicate. Click OK. This stops the sync and removes the local copy. The files remain in the cloud. - Delete the shortcut folder
In File Explorer, go to your OneDrive folder. Find the shortcut folder with the arrow overlay. Right-click it and select Delete. This removes the shortcut. - Re-add the shortcut correctly
Open onedrive.com in a browser. Go to Shared libraries. Find the shared folder. Click the ellipsis (three dots) and select Add shortcut to My files. This adds a web link only. No local sync occurs.
Prevent Duplicate Folders When Adding a New Shortcut
- Always add shortcuts from the web
Use onedrive.com to add shortcuts to shared folders. Do not use the right-click menu in File Explorer to add a shortcut to a shared folder. - Do not sync a folder that already has a shortcut
If you already have a shortcut to a shared folder, do not select “Sync” for that folder in File Explorer. Syncing creates a duplicate. - Check OneDrive sync status
After adding a shortcut, check the OneDrive icon in the system tray. If it shows syncing activity for that folder, you may have accidentally triggered a sync. Pause syncing and remove the shortcut, then re-add from the web.
If OneDrive Still Creates Duplicate Folders
OneDrive shortcut folder appears as a regular folder
If a shortcut folder looks like a regular folder without the arrow overlay, you may have synced the folder instead of adding a shortcut. To fix this, remove the folder from the OneDrive sync settings as described in the steps above. Then add the shortcut from the web.
Duplicate folders appear after moving files
Moving files between the shortcut folder and the synced folder can cause OneDrive to create new duplicates. OneDrive may interpret the move as a new sync request. To avoid this, use only one method: either sync the folder or use a shortcut, but not both. If you need to access files offline, sync the folder. If you only need a link, use a shortcut.
Shortcut and sync folder have different file versions
When you edit a file in the shortcut folder, the changes do not appear in the synced folder. This happens because the two folders are separate sync relationships. To resolve this, delete the duplicate folders and keep only one version. Use the steps above to remove both folders and re-add the shortcut correctly.
Shortcut vs Sync: Key Differences
| Item | Shortcut | Sync |
|---|---|---|
| Description | Creates a web link to a shared folder in your OneDrive | Downloads all files from a shared folder to your computer |
| Local storage | No files stored locally until you open the folder online | All files stored locally and updated automatically |
| Offline access | Requires internet to access files | Files available offline after initial sync |
| Duplicate risk | Low if added from the web | High if combined with a shortcut |
Use a shortcut when you only need a pointer to a shared folder. Use sync when you need offline access. Do not use both for the same folder.
Now you can manage shared OneDrive folders without creating duplicates. Always add shortcuts from onedrive.com to avoid sync conflicts. If you already have duplicates, remove the sync and the shortcut, then re-add only the shortcut. For advanced control, use the OneDrive admin center to set sharing policies that limit syncing for shared folders.