OneDrive for Business Known Folder Move troubleshooting for Windows 11 rollouts: creates duplicate folders
🔍 WiseChecker

OneDrive for Business Known Folder Move troubleshooting for Windows 11 rollouts: creates duplicate folders

When rolling out Known Folder Move in OneDrive for Business on Windows 11, some users report that duplicate folders appear in their OneDrive after the migration. Instead of a single Documents or Pictures folder, they see two folders with similar or identical names, often one inside the other. This problem typically occurs due to incorrect folder redirection policies, pre-existing folder structures, or conflicts between local and cloud folder names. This article explains the root causes of duplicate folders during Known Folder Move, provides step-by-step fixes, and covers related failure patterns you may encounter during enterprise rollouts.

Key Takeaways: Fixing Duplicate Folders After Known Folder Move

  • Group Policy > Computer Configuration > Administrative Templates > Windows Components > OneDrive > Prevent users from redirecting their Windows known folders to OneDrive: Disable this policy to allow Known Folder Move to run.
  • OneDrive Settings > Sync and backup > Manage backup > Update folders: Manually re-point each known folder to the correct OneDrive path.
  • Regedit > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders: Verify and correct the shell folder paths for Documents, Pictures, and Desktop.

ADVERTISEMENT

Why Known Folder Move Creates Duplicate Folders on Windows 11

Known Folder Move automatically redirects the Desktop, Documents, and Pictures folders from the local Windows profile to OneDrive. On Windows 11, the migration process relies on specific registry keys and folder naming conventions. Duplicate folders appear when the migration logic encounters a mismatch between the expected folder name and an existing folder in the OneDrive sync root.

The most common root cause is a pre-existing folder in OneDrive that has the same name as the known folder being moved. For example, if a user already has a folder named Documents in their OneDrive and then runs Known Folder Move, OneDrive creates a new folder called Documents 1 or moves the local Documents folder into the existing one, resulting in a nested duplicate. This happens because OneDrive cannot merge two folders with identical names without creating a conflict.

Another cause is Group Policy settings that partially block or override the folder redirection. If an administrator configures the Prevent users from redirecting their Windows known folders to OneDrive policy, OneDrive may still attempt the move but fail to update the shell folder registry keys correctly. This leaves the original local folder intact while a new OneDrive folder is created, producing a duplicate.

Third-party backup software or previous folder redirection configurations can also interfere. If a user had previously redirected their Documents folder to a network drive or another cloud service, the registry path may point to a location OneDrive cannot resolve, causing it to create a new folder in the default sync location.

Steps to Remove Duplicate Folders and Complete Known Folder Move

Follow these steps in order to resolve duplicate folders caused by Known Folder Move on Windows 11. Perform these actions as the affected user on their local machine.

  1. Identify the duplicate folders in OneDrive
    Open File Explorer and navigate to the OneDrive folder. Look for folders named Documents, Documents 1, Pictures, Pictures 1, or any folder with a number suffix. Note which folders are duplicates and which one contains the actual files.
  2. Back up the duplicate folder
    Right-click the duplicate folder and select Copy. Paste it to a temporary location on the desktop or an external drive. This ensures no data is lost during the merge.
  3. Merge files from the duplicate into the original folder
    Open the duplicate folder and press Ctrl+A to select all files. Drag them into the original known folder. If prompted, select Replace the files in the destination for any conflicts. Delete the now-empty duplicate folder from OneDrive.
  4. Open OneDrive settings
    Right-click the OneDrive cloud icon in the system tray and select Settings. Go to the Sync and backup tab and click Manage backup.
  5. Re-point the known folder to the correct OneDrive path
    Under the folder that shows a duplicate, click Update folders. Browse to the correct original folder inside your OneDrive and select it. Click Start to re-link the local Windows folder to the OneDrive folder.
  6. Verify shell folder registry paths
    Press Windows+R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. Check the values for Personal, My Pictures, and Desktop. Each value should point to the OneDrive folder path, such as C:\Users\YourName\OneDrive\Documents. If any value points to a local path like C:\Users\YourName\Documents, right-click the value, select Modify, and change it to the OneDrive path.
  7. Restart File Explorer
    Press Ctrl+Shift+Escape to open Task Manager. Find Windows Explorer in the list, right-click it, and select Restart. This refreshes the shell folder locations.
  8. Run OneDrive reset if duplicates persist
    Press Windows+R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. Wait 30 seconds, then run %localappdata%\Microsoft\OneDrive\onedrive.exe again. Re-login and check that the duplicate folders no longer appear.

ADVERTISEMENT

If OneDrive Still Has Issues After the Main Fix

OneDrive Shows Both Local and Cloud Folders After Known Folder Move

If the local Documents folder still exists in C:\Users\YourName\Documents while a OneDrive folder also exists, the Known Folder Move did not complete successfully. Open OneDrive settings > Sync and backup > Manage backup. Click the folder that is not backed up and select Start backup. OneDrive will move the local folder contents and remove the local folder. If the local folder remains empty, you can safely delete it.

Group Policy Blocks Known Folder Move

If you are an administrator and users report duplicates, check the Group Policy setting at Computer Configuration > Administrative Templates > Windows Components > OneDrive > Prevent users from redirecting their Windows known folders to OneDrive. Set this policy to Not Configured or Disabled. Then run gpupdate /force on the affected machines and restart OneDrive.

OneDrive Creates Subfolders Named Documents Inside Documents

This happens when the local Documents folder is already inside the OneDrive folder before Known Folder Move runs. To fix this, move the local Documents folder out of OneDrive to the desktop. Then run Known Folder Move again from OneDrive settings. OneDrive will create a new top-level Documents folder and move the contents.

Known Folder Move vs Manual Folder Redirection: Key Differences

Item Known Folder Move Manual Folder Redirection
Description Automatic migration of Desktop, Documents, Pictures to OneDrive User manually moves folders or changes shell folder paths
Duplicate risk Low if no pre-existing OneDrive folders with same name High due to human error and registry complexity
Group Policy support Yes, via OneDrive administrative templates No, requires manual registry edits
Rollback ease One-click stop backup in OneDrive settings Requires manual registry and folder restoration
Windows 11 compatibility Fully supported with OneDrive sync app Works but may break Windows 11 shell integration

Now that you understand the root causes and have the step-by-step fix, you can resolve duplicate folders created by Known Folder Move during Windows 11 rollouts. Start by checking for pre-existing OneDrive folders with the same name and merging them. Then verify the shell folder registry paths and run OneDrive reset if needed. As an advanced tip, before rolling out Known Folder Move to many users, run a PowerShell script to check for existing OneDrive folders named Documents, Pictures, or Desktop and rename them to avoid conflicts.

ADVERTISEMENT