OneDrive for Business Known Folder Move troubleshooting for domain profile migrations: fails before setup completes
🔍 WiseChecker

OneDrive for Business Known Folder Move troubleshooting for domain profile migrations: fails before setup completes

When migrating user profiles between domains in a corporate environment, OneDrive for Business Known Folder Move often fails before the setup process completes. The move to redirect Desktop, Documents, and Pictures to OneDrive stops with an error, leaving folders in their original location. This failure typically occurs because the new domain profile does not match the folder ownership or registry entries expected by OneDrive. This article explains the root cause of the failure and provides a step-by-step fix to complete the migration successfully.

Key Takeaways: Fixing Known Folder Move During Domain Profile Migration

  • OneDrive Settings > Sync and backup > Manage backup: Opens the Known Folder Move interface where the failure message appears.
  • Regedit > HKCU\Software\Microsoft\OneDrive\Accounts\Business1: Registry path where stale user SID references block the setup.
  • Folder Properties > Security > Advanced > Change owner: Corrects NTFS ownership of Desktop, Documents, and Pictures to the new domain user.

ADVERTISEMENT

Why Known Folder Move Fails Before Setup Completes

OneDrive Known Folder Move relies on the user profile folder path and the security identifier of the currently signed-in user. When a domain profile migration occurs, the old domain user account is replaced with a new account from the target domain. The physical folder path often remains the same, but the folder ownership and the registry entries that OneDrive queries still reference the old SID. OneDrive checks these values during the setup phase. If the folder owner does not match the signed-in user, or if the registry contains orphaned entries from the old profile, the setup process stops with an error such as “Something went wrong” or “We can’t move your folders.”

The migration tool used by IT administrators, such as the Microsoft User State Migration Tool or a third-party solution, may not update the folder owner or the OneDrive registry keys. Even when the user profile loads correctly, the underlying folder security and registry state remain tied to the old domain account. OneDrive then refuses to proceed because it cannot verify that the user has permission to move the folders. The failure occurs before the first sync begins, leaving the user unable to enable Known Folder Move through the normal interface.

The Role of the User SID in OneDrive Setup

OneDrive stores the user SID in the registry at HKCU\Software\Microsoft\OneDrive\Accounts\Business1. During the Known Folder Move setup, OneDrive compares this SID against the owner of the Desktop, Documents, and Pictures folders. If the SID does not match the folder owner, the setup fails. After a domain migration, the new user has a different SID. The registry key still holds the old SID, and the folder owner remains set to the old user. OneDrive cannot reconcile these mismatches and aborts the move.

Steps to Fix Known Folder Move After Domain Profile Migration

Complete these steps in order. Perform the registry and ownership changes while signed in as the new domain user on the affected computer.

  1. Close OneDrive completely
    Right-click the OneDrive cloud icon in the system tray. Select Settings and then Pause syncing. Right-click the icon again and select Exit. Verify no OneDrive process is running in Task Manager.
  2. Open Registry Editor
    Press Windows + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1. Look for a value named UserSID. If the SID shown does not match the new domain user, delete the Business1 key entirely. Right-click Business1 and select Delete. Confirm the deletion. This forces OneDrive to recreate the key with the correct SID on the next launch.
  3. Change folder ownership to the new domain user
    Open File Explorer. Right-click the Desktop folder in your user profile path, for example C:\Users\username\Desktop. Select Properties. Go to the Security tab. Click Advanced. Next to Owner, click Change. Type the new domain user account name, for example NEWDOMAIN\username. Click Check Names to validate, then click OK. Check the box Replace owner on subcontainers and objects. Click OK. Repeat this process for the Documents and Pictures folders.
  4. Start OneDrive and sign in
    Open OneDrive from the Start menu or by searching for OneDrive. Sign in with the new domain account credentials. Wait for the initial sync to complete.
  5. Launch Known Folder Move setup
    Right-click the OneDrive cloud icon in the system tray. Select Settings. Go to the Sync and backup tab. Click Manage backup. You should now see the three folders listed with a status of Not backed up. Click each folder to select it, then click Start backup. The setup should proceed without the earlier failure.

Alternative Method: Use Group Policy to Reset Known Folder Move State

If the manual registry edit does not resolve the issue, use a Group Policy Object to clear the Known Folder Move state. This method is useful when deploying the fix to multiple computers. Create a new GPO or edit an existing one. Navigate to Computer Configuration > Administrative Templates > OneDrive. Enable the policy Set the maximum size of a user’s OneDrive that can be downloaded automatically and set it to a value that does not interfere. More importantly, configure the policy Silently sign in users to the OneDrive sync app with their Windows credentials to ensure the correct user context is used. Then, on each affected computer, run gpupdate /force from an elevated command prompt. Restart OneDrive and attempt Known Folder Move again.

ADVERTISEMENT

If OneDrive Still Fails After the Main Fix

OneDrive shows error “Your folders can’t be moved right now”

This error appears when the folder path contains a known folder redirection that conflicts with OneDrive. For example, if the Desktop folder is redirected to a network location through Group Policy, OneDrive cannot move it. Remove the folder redirection policy for the affected user. In Group Policy Management Editor, navigate to User Configuration > Policies > Windows Settings > Folder Redirection. Set each folder policy to Not configured. Run gpupdate /force and restart the computer. Retry Known Folder Move.

OneDrive prompts to move folders but fails with “Something went wrong”

The OneDrive sync engine may have a cached state from the old profile. Reset OneDrive completely. Open the Run dialog with Windows + R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. Wait for the reset to complete. OneDrive will restart and prompt for sign-in. Sign in with the new domain account. After the reset, the Known Folder Move setup should run cleanly.

Manual Ownership Change vs Registry Edit: Key Differences

Item Manual Ownership Change Registry Edit
What it fixes Folder NTFS owner mismatch after migration Stale user SID reference in OneDrive config
When to use When folder Properties show old domain user as owner When OneDrive fails at setup with no folder ownership issue
Impact on OneDrive Allows OneDrive to verify permission to move folders Forces OneDrive to regenerate account key with correct SID
Risk Low if owner is changed correctly Low if only the Business1 key is deleted
Time to complete 5 minutes per folder set 2 minutes per computer

After completing the ownership change and registry edit, you can run Known Folder Move without the setup failure. The folders will be redirected to OneDrive and begin syncing. For future domain migrations, consider using the OneDrive Migration tool available in the Microsoft 365 admin center. This tool automates the folder ownership and registry updates. It reduces the chance of setup failures and saves time during large-scale profile migrations.

ADVERTISEMENT