How to Automatically Sync an External Hard Drive with OneDrive
Question details
The user is looking for a way to automatically sync or back up an external hard drive with OneDrive every time the drive is connected to the computer.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to automate cloud backups for an external hard drive so that synchronization triggers seamlessly upon plugging the drive in.
- Observed behavior
- OneDrive does not currently offer an out-of-the-box feature to automatically sync or back up external drives upon reconnection. Changing locations requires manually unlinking and relinking the account.
Ensure your external hard drive is formatted to a supported file system, such as NTFS for Windows or APFS for Mac, as OneDrive cannot sync to drives using unsupported formats.
Change Your OneDrive Sync Location to the External Drive
While OneDrive won't automatically sync a drive simply by plugging it in, you can set your primary OneDrive folder to permanently reside on your external drive.
This method requires the external drive to remain connected while OneDrive is running. If you disconnect the drive, OneDrive will display an error until it is reconnected.
Click the OneDrive cloud icon in your system tray or menu bar, click the gear icon (Help & Settings), and select 'Settings'.
Navigate to the 'Account' tab and click the 'Unlink this PC' link. Confirm your choice to sign out of OneDrive on this computer.
Launch OneDrive again and sign in with your Microsoft account credentials. Do not click through the setup prompts too quickly.
On the 'Your OneDrive folder' screen, click the 'Change location' link. Navigate to your connected external hard drive, select a dedicated folder, and finish the setup.

Use a Third-Party Synchronization Utility
Because OneDrive lacks an automatic trigger for reconnected drives, using a dedicated folder-sync utility is the best workaround for automated backups.
Manage Your Synced Documents Seamlessly with WPS Office
While you organize your external drive and OneDrive cloud storage, you need a fast and reliable office suite to handle your documents. WPS Office is a powerful, lightweight alternative to Microsoft Office that easily opens and edits files synced across your drives.
- 1. Download and Install: Visit the official WPS Office website to download the free installer and follow the on-screen prompts to set it up on your PC.
- 2. Access Cloud Files: Open WPS Office and navigate to your OneDrive folder or external hard drive directly from the file explorer sidebar.
- 3. Edit and Save Seamlessly: Open your Microsoft Office-formatted documents, make your edits, and save them back to your synced folders with perfect formatting retention.

Frequently Asked Questions
Can I install OneDrive directly on an external hard drive?
Yes, you can choose an external hard drive as your primary OneDrive folder location during the initial setup. However, the drive must be formatted with a supported file system (like NTFS) and must remain continuously connected to avoid syncing errors.
Will I lose my files if I click 'Unlink this PC' in OneDrive?
No. Unlinking your PC simply stops OneDrive from synchronizing your files to that specific device. Your files remain safe in the cloud and in their current local folders. You can safely link your account again at any time.
Why does OneDrive show an error when I unplug my external drive?
If you have set your OneDrive sync location to an external drive, OneDrive expects that folder to be available continuously. When disconnected, OneDrive cannot find the directory and will pause syncing or display an error until the drive is plugged back in.
How can I request an automatic external drive sync feature from Microsoft?
Microsoft actively collects user feedback. You can submit a feature request or vote for existing requests regarding automatic external drive synchronization by visiting the official OneDrive Feedback Community online.




