Sync OneDrive to an External Drive – Step‑by‑Step Guide
In this article
Yes, you can sync OneDrive to an external hard drive by moving the OneDrive folder onto the external drive and then pointing the OneDrive client to that new location. This lets the cloud service keep the same files up‑to‑date while they physically reside on a larger, removable storage device.
What You’ll Need
- An external hard drive or SSD with enough free space for your OneDrive files.
- A Windows PC (Windows 10 or later) with the OneDrive desktop app installed.
- Administrator privileges on the computer – you will need to change folder locations.
- A stable internet connection for the initial sync and for ongoing updates.
Step‑by‑Step
- Connect the external drive to your PC and make sure Windows recognises it. Open File Explorer, note the drive letter (for example,
E:), and create a folder where you want OneDrive to live, such asE:\OneDrive. - Pause the OneDrive sync to avoid conflicts while you move the folder. Right‑click the OneDrive cloud icon in the task‑bar, select Help & Settings > Pause syncing and choose the longest pause option (2 hours).
- Open the current OneDrive folder location. By default it lives in
C:\Users\[YourUserName]\OneDrive. Copy (do not move) the entire contents to the new folder on the external drive you created in step 1. UseCtrl + AthenCtrl + Cand paste withCtrl + V. The copy can take a while if you have many gigabytes of data. - After the copy finishes, verify that the file count and sizes match the original folder. You can right‑click both folders, choose Properties**, and compare the “Size” values.
- Tell OneDrive to use the new location. Right‑click the OneDrive cloud icon again, select Help & Settings > Settings**. In the Account tab, click Unlink this PC**. Confirm the unlink.
- When the OneDrive sign‑in window appears, sign in with your Microsoft account as usual. During the setup wizard, when asked to choose the OneDrive folder location, click Change location** and navigate to the folder you created on the external drive (e.g.,
E:\OneDrive). Confirm the selection. - OneDrive will now scan the new folder. Because the files already exist, it will compare them to the cloud version and only upload or download any differences. This step may display a brief “Processing files” message.
- Resume syncing. Click the OneDrive icon, go to Help & Settings > Resume syncing**. The cloud icon should turn green, indicating the sync is active.
- Test the setup. Create a new text file inside the external OneDrive folder, then check the OneDrive web interface (https://onedrive.live.com) to confirm the file appears within a few seconds. Likewise, delete a file on the web and ensure it disappears locally.
- Optional – set the external drive to stay online. If you plan to keep the drive connected permanently, consider disabling power‑saving options that could spin it down. Open Control Panel > Power Options, edit the active plan, and set “Turn off hard disk after” to “Never”.
Common Mistakes
1. Moving instead of copying the folder. If you cut the folder and paste it directly onto the external drive while OneDrive is still running, the client may think the files vanished and start re‑uploading everything, wasting bandwidth and time.
2. Choosing a drive that uses the NTFS file system with compression enabled. OneDrive does not sync files that are compressed or encrypted at the file‑system level. Keep the external drive formatted as standard NTFS without compression.
3. Disconnecting the drive before the initial sync finishes. The client will report errors and may stop syncing until the drive is re‑connected. Wait for the green check‑mark before unplugging.
4. Using a USB 3.0 hub that powers down. Some hubs cut power to attached drives after a short idle period, causing OneDrive to lose access and generate “cannot find the path” errors.
Tips
- Label the external drive with a clear name (e.g., “OneDriveBackup”) so you can quickly recognise it in File Explorer and avoid accidental disconnection.
- If you have multiple Microsoft accounts, make sure you sign in with the same account that originally owned the OneDrive data; otherwise the client will create a new, empty folder.
- Keep the external drive’s firmware up to date. Manufacturers often release firmware that improves reliability and reduces unexpected disconnects.
- Enable Windows File History or another backup solution on the external drive to protect against accidental deletion or drive failure. OneDrive sync alone is not a substitute for a true backup.
- For laptops that travel often, consider a portable SSD rather than a spinning HDD to reduce the chance of mechanical damage when the device is moved.
Troubleshooting
OneDrive shows a red “X” after moving the folder. First, ensure the external drive is still connected and assigned the same drive letter. If Windows assigned a new letter, OneDrive will lose the path. Open Disk Management (right‑click Start > Disk Management), right‑click the external drive, choose “Change Drive Letter and Paths…”, and re‑assign the original letter.
Sync stalls at “Processing files”. Pause and resume syncing as described in step 8. If it does not restart, sign out (unlink) and sign back in, confirming the folder location again.
Files are not uploading. Verify that the OneDrive client is running (cloud icon visible). Right‑click the icon and select “View online” to see if the cloud version matches the local version. If the client is hidden, open the Start menu, type “OneDrive”, and launch the app.
External drive disconnects intermittently. Try a different USB port, preferably a direct port on the computer rather than a hub. Use a USB‑C or USB‑3.0 cable that is known to be functional. Also, disable “USB selective suspend” in Power Options (Control Panel > Power Options > Change plan settings > Change advanced power settings).
Sync error code 0x8004de40 (network error). This usually indicates a temporary internet connectivity problem. Restart the router, then restart the OneDrive client (right‑click the icon, select “Close OneDrive”, then launch it again from the Start menu).
If none of the above resolves the issue, consider resetting the OneDrive app. Open Run (Win + R), type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and press Enter. The client will restart automatically after a few seconds.
Frequently Asked Questions
Can I sync multiple OneDrive accounts to the same external drive?
Yes, but each account must have its own separate folder on the drive (e.g., E:\OneDrive‑Personal and E:\OneDrive‑Work). OneDrive does not allow two accounts to share a single folder.
Will the external drive work if I connect it to a different computer?
The OneDrive folder will still be accessible, but the other computer will treat it as a regular local folder unless you install the OneDrive client there and point it to the same location. Remember that the drive letter must match or you must re‑select the folder during setup.
Does syncing to an external drive affect OneDrive’s version history?
No. Version history is stored in the cloud, not on the local drive. Changing the location of the local folder does not impact how many previous versions are retained online.
What happens if I accidentally delete the external drive?
If the drive is removed while OneDrive is still running, the client will display a “cannot find the path” error and pause syncing. Once the drive is re‑connected, OneDrive will resume normal operation. However, any files that were only stored locally and not yet uploaded will be lost.
Can I use a network‑attached storage (NAS) device instead of a USB drive?
OneDrive can sync to a folder on a mapped network drive, but the drive must be always‑on and support file‑system features compatible with OneDrive (NTFS is recommended). Performance may be slower than a direct USB connection.
Is there a limit to how many files I can store on the external drive?
OneDrive’s limits are based on your cloud storage quota, not the local drive. As long as the external drive has enough free space, you can store any number of files within your OneDrive plan limits.