Why Shortcut to OneDrive Creates Duplicate Folders
🔍 WiseChecker

Why Shortcut to OneDrive Creates Duplicate Folders

When you add a shortcut to a OneDrive folder inside your Windows 11 or Windows 10 File Explorer, you may see two copies of the same folder appear in your OneDrive sync root. This duplication happens because Windows treats shortcuts differently than actual sync links. The problem is not a bug but a feature behavior mismatch between the shortcut system and the OneDrive sync engine. This article explains exactly why shortcuts create duplicates and how to avoid or remove them without breaking your file access.

Key Takeaways: Stop OneDrive Shortcut Duplication

  • OneDrive > Settings > Account > Choose folders: Select folders for offline sync instead of using shortcuts to avoid duplicates.
  • File Explorer > View > Show > Hidden items: Enable this to see hidden shortcut files that cause the duplicate appearance.
  • Windows context menu > Add shortcut to OneDrive: This creates a .lnk file in the OneDrive folder, which syncs as a separate item.

ADVERTISEMENT

Why OneDrive Shortcuts Create Duplicate Folders

The core reason is that a shortcut to a OneDrive folder is not a real sync relationship. When you right-click a folder in File Explorer and select Add shortcut to OneDrive, Windows creates a .lnk file (a shortcut) inside your OneDrive sync root. This .lnk file points to the original folder location, which may also be syncing to OneDrive. The result is that OneDrive sees two items: the original folder (if it is synced) and the .lnk shortcut file. Both appear in the OneDrive folder tree, creating the duplicate you see.

This behavior is by design. OneDrive syncs every file and folder inside your OneDrive root. A .lnk file is a valid file type, so OneDrive treats it as a regular file and syncs it to the cloud. The original folder, if it is also inside the OneDrive root or is a synced SharePoint library, syncs separately. The shortcut does not merge the two views—it simply adds a pointer file.

How a Shortcut Differs from a Sync Link

A sync link (created via OneDrive settings or the SharePoint Sync button) establishes a direct sync relationship between your PC and a cloud folder. Windows adds a new entry in the sync root that mirrors the remote folder. No .lnk file is created. A shortcut, on the other hand, is a local file that points to another location. OneDrive cannot treat a shortcut as a sync relationship because the shortcut is just a file.

When Duplicates Appear Most Often

Duplicates happen most frequently when you already have a folder synced to OneDrive and then add a shortcut to the same folder. For example, you sync a SharePoint document library via the Sync button. Later, you right-click that same library in File Explorer and choose Add shortcut to OneDrive. Now you see the library folder under your OneDrive (from the sync) and a separate shortcut file with the same name. The shortcut file appears as a folder icon with an arrow overlay, but it is still a .lnk file.

Steps to Remove Duplicate Shortcut Folders

Follow these steps to clean up duplicates caused by shortcuts. You will need to decide whether to keep the sync relationship or the shortcut.

  1. Identify the duplicate entry
    Open File Explorer and go to your OneDrive folder. Look for two entries with the same folder name. One will have a small arrow overlay on the icon, indicating it is a shortcut (.lnk file). The other will have a normal folder icon with a green checkmark or sync status.
  2. Check the file type of the shortcut
    Right-click the entry with the arrow overlay and select Properties. On the General tab, the Type of file will show Shortcut (.lnk). This confirms it is a shortcut, not a real folder.
  3. Delete the shortcut file
    If you do not need the shortcut, right-click the .lnk file and select Delete. This removes the duplicate from your OneDrive folder. The original folder and its sync relationship remain untouched. Empty the Recycle Bin to complete removal from OneDrive cloud.
  4. Remove the sync relationship if you prefer the shortcut
    If you want to keep only the shortcut, stop syncing the original folder. Open OneDrive settings by right-clicking the OneDrive cloud icon in the system tray and selecting Settings. Go to the Account tab, click Choose folders, and uncheck the folder that is duplicating. Wait for OneDrive to unsync it. Then add the shortcut again if needed.
  5. Verify no hidden shortcut files remain
    Enable hidden items in File Explorer by clicking View > Show > Hidden items. Look for any .lnk files with the same name as your folder. Delete them to prevent future confusion.

ADVERTISEMENT

How to Avoid Duplicate Folders in the Future

The simplest way to avoid duplicates is to use the correct method for accessing folders. Use OneDrive Settings > Choose folders to sync only the folders you need. Do not use Add shortcut to OneDrive for folders that are already synced or that you plan to sync.

Use Sync Instead of Shortcuts for SharePoint Libraries

For SharePoint document libraries, click the Sync button in the SharePoint site. This creates a proper sync link that appears as a folder under your OneDrive root without creating a .lnk file. The folder will sync both online and offline without duplicates.

Use Shortcuts Only for Non-Synced Locations

Shortcuts are useful for folders that are not part of any sync relationship. For example, you can add a shortcut to a network drive folder that you want to access from your OneDrive root. Because the network folder is not synced, no duplicate appears.

Common Misconceptions About OneDrive Shortcuts

Several misconceptions cause users to expect shortcuts to behave like sync links. Understanding these can prevent frustration.

Shortcuts Do Not Sync the Folder Contents

A shortcut is a pointer file. It does not download the folder contents to your PC. If you delete the original folder, the shortcut becomes a broken link. OneDrive does not sync the contents of the target location through a shortcut.

Deleting a Shortcut Does Not Delete the Original Folder

Because a shortcut is just a .lnk file, deleting it removes only the pointer. The original folder and its files remain intact. This is different from deleting a synced folder, which removes the local copy and optionally the cloud copy.

Shortcuts Appear on All Devices That Sync OneDrive

Since OneDrive syncs the .lnk file to the cloud, the shortcut appears on every device that syncs that OneDrive account. This can cause duplicates on multiple computers if the same folder is also synced there.

Shortcut vs Sync Link: Key Differences

Item Shortcut to OneDrive Sync Link
File type created .lnk file in OneDrive root No file created; sync entry added to registry
Offline access to contents No; only the shortcut file is stored locally Yes; full folder contents are downloaded
Appears as duplicate Yes, if the target folder is also synced No; only one entry appears
Deletion impact Removes pointer only Removes local copy and optionally cloud copy
Best use case Quick access to a non-synced folder Full offline sync of a cloud folder

Understanding these differences helps you choose the right method for your workflow. If you need offline access and real-time sync, use the Sync button or OneDrive folder selection. If you only need a quick bookmark to a folder that is not synced, a shortcut is acceptable.

Now you can identify and remove duplicate folders caused by shortcuts. Use OneDrive Settings > Account > Choose folders to manage syncs cleanly. For advanced control, use the OneDrive command line to list all sync relationships with onedrive /sync and remove stale entries.

ADVERTISEMENT