Migrate Local User Data to OneDrive for Business
In this article
To migrate local user data to OneDrive for Business, you must sign in to the OneDrive sync app with your work account and move your local files into the OneDrive folder. This process ensures your documents, photos, and desktop files are backed up to the cloud, allowing you to access them from any device and protecting them from local hardware failure. Depending on your organization's settings, you can either manually drag and drop folders or use the "Known Folder Move" feature to automatically redirect your Desktop, Documents, and Pictures folders to the cloud.
What You'll Need
- A Windows PC with an active internet connection.
- A valid Microsoft 365 Business account with a OneDrive license.
- Administrator privileges on the local machine (required for enabling folder backup).
- Sufficient storage space in your OneDrive for Business quota to accommodate all local data.
Step-by-Step
Note: Menu labels may differ slightly depending on your version of Windows or the specific update version of the OneDrive app.
- Sign in to OneDrive for Business: Click the cloud icon in the system tray (bottom right of the taskbar). If you aren't signed in, select "Sign in" and enter your work email address and password. Follow the prompts to complete the authentication process.
- Configure the OneDrive Folder Location: During the initial setup, OneDrive will suggest a default location (usually C:\Users\Username\OneDrive - Company Name). If you have a secondary drive with more space, you can change this location now. Once you click "Next," the folder is created on your local drive.
- Enable Known Folder Move (KFM): This is the most efficient way to migrate primary user data. Right-click the OneDrive cloud icon in the system tray and select Settings (the gear icon). Go to the "Sync and backup" tab and select "Manage backup."
- Select Folders for Backup: In the Manage Backup window, you will see toggles for Desktop, Documents, and Pictures. Switch the toggles to "On" for every folder you wish to migrate. Click "Start backup" to begin the process. Windows will now redirect these system folders to OneDrive.
- Manually Migrate Additional Data: Not all data lives in the standard user folders. Open File Explorer and locate any other local folders (such as a custom "Projects" folder on your C: drive). Right-click the folder and select "Cut," then navigate to your OneDrive - Company Name folder and select "Paste."
- Verify Sync Status: Look at the icons next to your files in File Explorer. A blue cloud icon means the file is online-only (saving disk space), a green checkmark means it is stored locally and synced, and a circular arrow icon means the file is currently uploading. Wait until all circular arrows disappear before shutting down your PC.
- Configure Files On-Demand: To prevent your hard drive from filling up, go back to Settings > Sync and backup > Advanced settings. Ensure "Files On-Demand" is enabled. This allows you to see all your files in File Explorer without them taking up physical space until you open them.
Common Mistakes
One of the most frequent errors is attempting to migrate data while using a personal Microsoft account instead of a business account. This results in files being synced to a personal storage quota (usually 5GB) rather than the much larger business quota, leading to "Storage Full" errors quickly.
Another common mistake is moving folders that contain active system files or application data (like AppData or Program Files). OneDrive is designed for user documents and media, not for system binaries or active database files. Attempting to sync active application folders can lead to sync conflicts, locked files, and potential application crashes because OneDrive may attempt to lock a file for upload while the application is trying to write to it.
Users also frequently forget to check their internet upload speed. If you are migrating hundreds of gigabytes of data over a slow Wi-Fi connection, the sync process can take days. This often leads users to believe the app has frozen, causing them to restart the computer or reinstall the app, which can restart the indexing process and further delay the migration.
Tips
To speed up the initial migration, connect your computer to a wired Ethernet connection rather than Wi-Fi. Uploading large volumes of data is significantly more stable and faster over a physical cable. Additionally, if you have a massive amount of data, migrate it in smaller batches rather than moving a 500GB folder all at once. This makes it easier to identify which specific files might be causing sync errors.
Utilize the "Always keep on this device" feature for critical folders. While Files On-Demand is great for saving space, if you travel frequently or work in areas with spotty internet, right-click your most important folders in the OneDrive directory and select "Always keep on this device." This ensures a local copy is always present regardless of connectivity.
Organize your folder structure before the migration. It is much easier to delete unnecessary temporary files, old downloads, and duplicates on your local drive before moving them to the cloud than it is to clean up a cloud directory. This reduces the total amount of data to sync and keeps your business environment professional and organized.
Troubleshooting
If the sync process stops or files are not appearing in the cloud, start with the simplest fix: restart the OneDrive app. Right-click the cloud icon, select "Close OneDrive," and then relaunch it from the Start menu. This often clears temporary glitches in the sync engine.
If specific files refuse to sync, check the filename and path length. OneDrive has a character limit for file paths (usually around 400 characters). If you have folders nested ten levels deep with very long filenames, the sync will fail. Rename the folders to be shorter or move them closer to the root directory of the OneDrive folder.
Check for illegal characters in filenames. OneDrive does not support certain characters such as " * : < > ? / \ | ". If a file contains these, OneDrive will flag a sync error. You must rename these files locally before they can be uploaded.
If the app is completely unresponsive, check for updates. Ensure your Windows OS is up to date via Settings > Windows Update. If the problem persists, you can reset OneDrive. Open the Run dialog (Windows Key + R), type onedrive.exe /reset, and press Enter. This resets the app's configuration without deleting your files, forcing it to re-index the local folder and the cloud.
Frequently Asked Questions
What happens to my files if I delete them from the local OneDrive folder?
Because OneDrive is a synchronization service, deleting a file from the local OneDrive folder will also delete it from the cloud and all other synced devices. If you want to remove a file from your PC but keep it in the cloud, right-click the file and select "Free up space."
Can I migrate data from a Mac to OneDrive for Business?
Yes, the process is very similar. You download the OneDrive app for macOS, sign in with your business credentials, and move your files into the OneDrive folder. However, the "Known Folder Move" (automatic backup of Desktop/Documents) is handled differently on macOS and may require manual folder movement.
Is my data secure when migrating to OneDrive for Business?
OneDrive for Business uses enterprise-grade encryption both during transit and at rest. Access is controlled by your organization's IT administrator, who can manage permissions and implement security policies like Multi-Factor Authentication (MFA) to protect your data.
Will migrating my data slow down my computer?
During the initial upload, you may notice a slight increase in CPU and RAM usage, as well as slower internet speeds. Once the initial migration is complete and the files are synced, the impact on system performance is negligible.
What is the difference between OneDrive and SharePoint?
OneDrive for Business is intended for your personal work files that you might share with others. SharePoint is intended for shared team sites and departmental documents where the "owner" is the team rather than a single individual.