OneDrive Admin Checklist: Known Folder Move creates duplicate folders for Windows 11 rollouts
🔍 WiseChecker

OneDrive Admin Checklist: Known Folder Move creates duplicate folders for Windows 11 rollouts

When deploying Windows 11 in a managed environment, the OneDrive Known Folder Move feature can cause duplicate folders to appear for users. This happens when the feature redirects Desktop, Documents, and Pictures to OneDrive but the local profile still contains the original folders. The result is two sets of folders, which confuses users and increases support tickets. This article explains why the duplication occurs and provides an admin checklist to prevent it during new Windows 11 rollouts.

Key Takeaways: Preventing Duplicate Folders with Known Folder Move

  • OneDrive admin console > Sync > Known Folder Move: Controls tenant-wide redirection behavior for Desktop, Documents, and Pictures.
  • Group Policy > Computer Configuration > Administrative Templates > OneDrive: Lets you pre-configure KFM settings and block user opt-out during Windows 11 setup.
  • Windows 11 provisioning package (PPKG): Allows you to redirect folders before first user sign-in, preventing local folder creation entirely.

ADVERTISEMENT

Why Known Folder Move Creates Duplicate Folders on Windows 11

The root cause is a timing issue during the Windows 11 out-of-box experience. When a new user signs in for the first time, Windows 11 creates the local Desktop, Documents, and Pictures folders inside the user profile. If OneDrive Known Folder Move is applied after this initial profile creation, the folders already exist locally. OneDrive then creates new folders in the OneDrive sync location and moves the local folder contents into them. But the original empty local folders remain in the user profile because Windows 11 does not clean them up automatically.

The duplicate folders appear in File Explorer as two sets of Desktop, Documents, or Pictures. One set points to the local profile path, the other to the OneDrive path. Users see both and often store files in the wrong location, breaking sync and backup policies.

The Role of OneDrive Sync Configuration

OneDrive Known Folder Move can be applied through the OneDrive admin console, Group Policy, or the Windows 11 provisioning package. Each method has a different timing for when the redirection takes effect. If the redirection is not active before the user signs in, the local folders are created first and the duplication problem occurs.

Windows 11 Profile Creation Behavior

Windows 11 creates the user profile folders during first sign-in regardless of any pending OneDrive configuration. The operating system does not check for pending folder redirection policies. This means any delay in applying Known Folder Move after sign-in will result in duplicate folders.

Admin Checklist to Prevent Duplicate Folders

  1. Configure Known Folder Move via Group Policy before user sign-in
    Apply the OneDrive Group Policy settings to the Windows 11 device before the user logs in. Use Computer Configuration > Administrative Templates > OneDrive > Prevent users from redirecting their Desktop, Documents, and Pictures folders to OneDrive. Set this policy to Not Configured and then enable the policy "Silently move Windows known folders to OneDrive." This forces KFM to run before the user can interact with File Explorer.
  2. Use a provisioning package to pre-redirect folders
    Create a Windows 11 provisioning package using the Windows Configuration Designer tool. Include the OneDrive Known Folder Move settings in the package. Apply the PPKG during the out-of-box experience before the user signs in. This ensures the folder redirection is active from the moment the profile is created, preventing local folder generation.
  3. Deploy OneDrive with the /restart parameter in the provisioning package
    Add a post-install command in the PPKG that runs: %localappdata%\Microsoft\OneDrive\OneDrive.exe /restart. This forces OneDrive to re-evaluate its configuration immediately after the provisioning package completes, applying KFM without delay.
  4. Block user opt-out during initial setup
    In the OneDrive admin console, go to Sync > Known Folder Move and enable "Require users to redirect their Desktop, Documents, and Pictures folders to OneDrive." Then select "Block users from opting out of Known Folder Move." This prevents users from skipping the redirection during first sign-in.
  5. Test on a clean Windows 11 virtual machine
    Before rolling out to production, test the configuration on a clean Windows 11 VM that has never had a user profile. Sign in with a test user and verify that only OneDrive folder paths appear in File Explorer. Check that the local profile folder (C:\Users\<username>\Documents) does not contain a Documents folder.
  6. Remove existing duplicate folders before remediation
    If duplicates already exist, do not simply delete the local folders. Use the OneDrive Known Folder Move repair option. Go to OneDrive Settings > Backup > Manage backup and click "Fix issues." OneDrive will merge the duplicate contents and remove the empty local folders. After repair, verify that the local profile folder no longer contains the duplicate entries.

ADVERTISEMENT

If Duplicate Folders Still Appear After Configuration

OneDrive does not start automatically on first sign-in

If OneDrive is not set to launch at startup, KFM may not run until the user manually starts OneDrive. Check the Group Policy setting: Computer Configuration > Administrative Templates > Windows Components > OneDrive > Prevent OneDrive from running on Windows. Ensure this is set to Disabled or Not Configured. Also verify that the OneDrive startup entry exists in the user’s Run registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.

User signs in before provisioning package completes

If the provisioning package is applied during the first sign-in but the user clicks through the Windows 11 setup faster than the package executes, the profile is created before KFM is active. To prevent this, use a provisioning package that runs during the audit mode or apply it via a task sequence in Microsoft Intune or System Center Configuration Manager before the user receives the device.

OneDrive sync client version is too old

Older versions of the OneDrive sync client do not support the silent KFM policy. The minimum required version is 19.192.0923.0012 for Windows 11. Check the installed version by right-clicking the OneDrive icon in the system tray and selecting Settings > About. If the version is older, update OneDrive using the standalone installer from the Microsoft 365 admin center.

Item Group Policy deployment Provisioning package deployment
Timing of KFM activation Applied at next Group Policy refresh, typically within 90 minutes of user sign-in Applied during Windows setup before user sign-in
Duplicate folder prevention Requires policy to be applied before first sign-in; otherwise duplicates occur Prevents duplicates by redirecting folders before profile creation
User opt-out control Can block opt-out via policy settings Can block opt-out via provisioning package settings
Best for Existing devices that are being re-imaged or joined to a domain New Windows 11 devices being set up for the first time

With the correct configuration timing and the checklist above, you can deploy Windows 11 without duplicate Known Folder Move folders. Use the provisioning package method for new devices and Group Policy for existing managed devices. After deployment, run a manual check on a sample of users to confirm that only OneDrive folder paths appear in File Explorer for Desktop, Documents, and Pictures.

ADVERTISEMENT