When you use OneDrive Known Folder Move to redirect your Windows Desktop, Documents, and Pictures folders to the cloud, you may end up with two folders named Documents in File Explorer. One is the original local folder still sitting under your user profile, and the other is the OneDrive-managed folder. This duplication creates confusion when you try to save files or run backups because it is not clear which folder OneDrive is actually syncing. The root cause is that Known Folder Move does not always remove the old local folder location from the Windows user profile path after the move completes. This article explains exactly why this happens, walks you through the steps to identify the duplicate, and shows you how to clean up the extra folder without breaking your sync.
Key Takeaways: Fixing Duplicate Documents Folders After Known Folder Move
- OneDrive Settings > Sync and backup > Manage backup: Shows which folders are currently redirected and lets you stop or restart the move.
- File Explorer > This PC > Documents folder icon: The folder with a OneDrive cloud icon is the active synced folder; the plain folder is the stale local copy.
- Command Prompt > mklink /J: Creates a directory junction to redirect the stale local folder to the OneDrive folder, eliminating duplication without breaking file paths.
Why Known Folder Move Creates Duplicate Documents Folders
Known Folder Move is a OneDrive feature that redirects the Desktop, Documents, and Pictures folders from your local user profile into your OneDrive folder. After the move, Windows is supposed to update the registry key under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders so that the system points to the new OneDrive location. In many cases, the registry update succeeds, but the old physical folder under C:\Users\YourName\Documents is not deleted or hidden. Windows still shows both folders because the old folder still exists on disk.
The Registry and Shell Folder Mismatch
When Known Folder Move runs, it copies the contents of your local Documents folder into the OneDrive Documents folder. It then changes the registry value for the Documents folder path from C:\Users\YourName\Documents to C:\Users\YourName\OneDrive – Contoso\Documents. The problem occurs when the original folder is not removed after the copy finishes. This can happen if a file is locked by another process, if the move operation is interrupted, or if a previous version of OneDrive did not clean up the old folder. The result is that File Explorer shows two entries for Documents: the OneDrive version with the cloud icon and the stale local version with no icon.
How Windows Handles Known Folders
Windows uses a set of known folder GUIDs to resolve paths. The shell namespace in File Explorer can display multiple folders with the same display name if they are stored in different locations. When the old folder is not removed, Windows enumerates both the old path and the new redirected path. This is not a bug in OneDrive per se, but a side effect of an incomplete cleanup after the folder redirection. You can verify this by right-clicking each folder and selecting Properties to see the full path.
Steps to Identify and Remove the Duplicate Documents Folder
Follow these steps to find out which folder is the real synced folder and then safely remove the duplicate.
- Open File Explorer and check the folder icons
Press Win + E to open File Explorer. In the left navigation pane, click This PC. Look at the Documents folder under the Folders group. The folder that has a small blue cloud icon overlay is the OneDrive-managed folder. The folder without a cloud icon is the stale local folder. If both folders show a cloud icon, look at the full path by right-clicking each folder and selecting Properties. The OneDrive path will contain OneDrive – CompanyName. - Open OneDrive settings and confirm the folder redirection status
Right-click the OneDrive cloud icon in the system tray notification area and select Settings. Go to the Sync and backup tab and click Manage backup. Under the Documents row, you will see either Backed up or Not backed up. If it shows Backed up, Known Folder Move is active for Documents. If it shows Not backed up, the feature is not enabled and you should not see a duplicate. Close the settings window. - Open the old local folder and verify it is empty or contains old files
In File Explorer, navigate to C:\Users\YourName and look for the Documents folder that does not have the OneDrive path. Open it. If the folder is empty, it is safe to delete. If it contains files, compare them with the files in the OneDrive Documents folder. Files that are only in the old folder may have been missed during the initial move. Copy any unique files to the OneDrive Documents folder before deleting the old folder. - Delete the duplicate local Documents folder
Right-click the stale Documents folder and select Delete. If you get an access denied error, close all open applications and try again. If the folder still cannot be deleted, restart Windows and try again. After deletion, empty the Recycle Bin. - Verify that the registry path points to the OneDrive folder
Press Win + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. Find the entry named Personal. Its value should be the full path to your OneDrive Documents folder, for example C:\Users\YourName\OneDrive – Contoso\Documents. If it still points to the old local path, double-click the Personal entry and paste the correct OneDrive path. Close Registry Editor.
If You Cannot Delete the Duplicate Folder
The folder is always in use by another program
Some applications, particularly backup software or file indexing tools, may keep a handle open on the old Documents folder. Use the Handle utility from Sysinternals or simply restart Windows in Safe Mode and then delete the folder. In Safe Mode, only essential system processes run, so the folder should be free.
Deleting the folder breaks a shortcut or application path
Some older applications hardcode the path C:\Users\YourName\Documents. If you delete the folder, those applications will fail to save or open files. The safest workaround is to not delete the folder but instead create a directory junction that redirects the old path to the new OneDrive path. Open Command Prompt as administrator and run: mklink /J C:\Users\YourName\Documents C:\Users\YourName\OneDrive – Contoso\Documents. This creates a link that makes the old path point to the OneDrive folder. Applications will see the old path and actually access the OneDrive folder.
The duplicate folder reappears after a reboot
If the folder keeps coming back, a Group Policy or a startup script is recreating the default Documents folder. Check the Local Group Policy Editor under Computer Configuration > Administrative Templates > Windows Components > File Explorer for any policy that enforces a specific Documents folder location. Also check Task Scheduler for any tasks that run at startup and create user shell folders.
Known Folder Move vs Manual Folder Redirection: Key Differences
| Item | Known Folder Move | Manual Folder Redirection |
|---|---|---|
| Setup method | OneDrive Settings > Sync and backup > Manage backup | Right-click folder > Properties > Location tab |
| Folder cleanup | OneDrive copies content and updates registry but may leave old folder on disk | Windows asks if you want to move contents and does not delete the old folder unless you confirm |
| Sync integration | Fully integrated with OneDrive sync client and Known Folder Move policies | No automatic sync; you must manually ensure OneDrive is set to sync the target folder |
| Duplicate risk | High if the move is interrupted or if a previous move left a stale folder | High if you manually move contents to OneDrive but do not delete the old folder |
| Recovery | Stop Known Folder Move in OneDrive settings and the folder reverts to the original local path | Restore the folder path using the Location tab or edit the registry |
After you clean up the duplicate folder, open OneDrive and run a manual sync by clicking the cloud icon and selecting Sync. Confirm that no errors appear. You can now save files to the Documents folder without guessing which location OneDrive is watching. As an advanced tip, periodically check the User Shell Folders registry key to make sure the Personal path still points to your OneDrive folder, especially after a Windows update or a OneDrive reinstall.