Duplicate OneDrive folders in File Explorer usually appear because the folder was moved, re-synced, or because a previous sync link left a ghost entry behind. This guide walks you through the exact steps to remove the duplicate and keep only the correct, synced folder, without losing any files.
What You’ll Need
- Administrator access to your Windows 10 PC (for some registry steps).
- Your OneDrive sign-in credentials (email and password) in case you need to restart the sync client.
- Patience – do not skip steps, especially the backup step.
Step-by-Step
- Identify the duplicate. Open File Explorer (Win + E) and look at the left sidebar under “This PC” or “Quick access.” You’ll see two entries like “OneDrive” and “OneDrive – YourCompany” or “OneDrive” and “OneDrive (1)”. Right-click each and select “Properties” to see the full path. The real OneDrive folder is usually under
C:\Users\YourName\OneDriveor a similar path. The duplicate might point to a different location or show a broken path. - Back up any files in the duplicate. If the duplicate contains files you need, copy them to the real OneDrive folder or to a safe local folder. Do not delete anything until you’re sure it’s safe.
- Check if the duplicate is a “known folder” redirect. Right-click the OneDrive icon in the system tray (near the clock) and select “Settings.” Go to the “Backup” or “Auto Save” tab. If you see folders like Desktop, Documents, and Pictures listed, note which ones are already redirected. If any point to a different path, that could cause a duplicate.
- Unlink and relink OneDrive. This is the most common fix. Right-click the OneDrive cloud icon in the system tray, select “Settings,” then “Account” tab, and click “Unlink this PC.” Follow the prompts. After unlinking, sign back in. OneDrive will re-create the correct folder structure. If the duplicate disappears, you’re done.
- If the duplicate persists, remove it from the navigation pane. Open the Registry Editor (type
regeditin the Start menu, then press Enter). Navigate toHKEY_CURRENT_USER\Software\Classes\CLSID. Look for keys that contain “OneDrive” in their name or data. Be very careful – only delete keys that clearly refer to a duplicate OneDrive folder. A safer approach is to use the “Remove from navigation pane” option if available: right-click the duplicate folder in File Explorer and see if there’s an option like “Remove from Quick access” or “Unpin from Quick access.” If it’s in “This PC,” you can’t remove it via right-click, so you’ll need the registry method. - Reset OneDrive completely (if all else fails). Press Win + R, type
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. This will restart OneDrive. If that doesn’t help, you can do a full reset: uninstall OneDrive from “Apps & features,” restart your PC, then reinstall OneDrive from the Microsoft Store or the official download page. After reinstalling, sign in and let it sync. This will recreate the folder structure cleanly.
Common Mistakes
- Deleting the duplicate folder without checking contents. You might lose important files. Always back up first.
- Editing the registry without a backup. Export the registry key before changing anything. Right-click the key and select “Export” to save a .reg file.
- Unlinking OneDrive while files are still syncing. Wait until the sync is complete (the cloud icon shows a checkmark) before unlinking.
- Ignoring the “Known Folder Move” settings. If your Documents or Pictures folders are redirected to a different OneDrive folder, that can cause duplicates. Make sure all known folders point to the same OneDrive root.
- Using third-party “cleaner” tools. These can remove essential registry entries. Stick to manual steps.
Tips
- Use the “Free up space” feature to make files online-only, which can help you see which folder is the real one (the one with the cloud icon on files).
- Check the OneDrive web interface. If the duplicate folder exists online, it’s a real folder, not a ghost. You can delete it online if it’s not needed.
- Keep your OneDrive folder on the same drive as your user profile. Moving it to another drive can sometimes cause confusion.
- After fixing, restart File Explorer. Press Ctrl+Shift+Esc to open Task Manager, find “Windows Explorer,” right-click and select “Restart.” This refreshes the navigation pane.
Troubleshooting
If the duplicate still shows after unlinking and relinking: The registry entry might be stubborn. Try the registry method, but make sure you export the key first. Look for keys under HKEY_CURRENT_USER\Software\Classes\CLSID that have a “Default” value containing “OneDrive” or a “System.IsPinnedToNameSpaceTree” value set to 1. Delete only the one that points to the wrong path. If you’re not sure, search online for the exact key name – but avoid deleting the main OneDrive key (usually {018D5C66-4533-4307-9B53-224DE2ED1FE6}).
If OneDrive won’t sync after the reset: Check that you’re signed in properly. Go to OneDrive settings > Account > “Choose folders” and make sure the folders you need are checked. If you see a red cross on the cloud icon, run the “Diagnose” tool from the settings.
If the duplicate is in “This PC” and you can’t remove it: This is rare but can happen if a previous OneDrive installation left a registry entry. You can hide it by modifying the “Attributes” value in the registry. Right-click the CLSID key, select “New” > “DWORD (32-bit) Value,” name it “Attributes,” and set its value to 0xf080004d (this hides it from the navigation pane). This is safe and reversible.
If you see “OneDrive” and “OneDrive – Personal” or similar: This usually means you have both the new and old OneDrive clients installed. Uninstall the older one via “Apps & features” and keep only the current version.
Frequently Asked Questions
Why do I have two OneDrive folders?
This happens when OneDrive is re-linked to a different account, when a folder is moved manually, or when a previous sync left a stale entry in the registry.
Will deleting the duplicate folder delete my files?
If the duplicate is a real folder with files, yes. If it’s a ghost entry, it’s just a shortcut and deleting it won’t affect your files. Always check the path and contents first.
Can I move the OneDrive folder to another drive?
Yes, but do it through OneDrive settings (Account > “Choose folders” > “Move”) to avoid breaking the sync. Moving it manually can cause duplicates.
How do I know which OneDrive folder is the real one?
The real one is the one that syncs with the cloud. Check the cloud icon in the system tray – if it shows a checkmark, that folder is active. Also, the path usually contains your username.
Is it safe to edit the registry?
It’s safe if you follow instructions carefully and back up the registry first. A mistake can cause issues, so only delete or modify keys that you are sure are related to the duplicate.
Will uninstalling and reinstalling OneDrive fix it?
In most cases, yes. A fresh install recreates the correct folder structure and removes any broken registry entries. Just make sure to sign in with the same account.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Payday 2 Crash Issues on PC: A Step-by-Step Guide
- Remove a Remote Access Trojan from Windows PC
- Google Pixel & Pixel XL: How to Turn Off Snooze
- Facebook as AIM Messenger: Step-by-Step Guide
- iPhone 17 SOS Service Issue: How to Fix It
- Install VLC Extensions on Linux