How to Unlink OneDrive and Move Documents Back Locally
Question details
The user needs to unlink a closed OneDrive account, stop the synchronization of the Documents folder, and ensure the folder is stored locally on the computer.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Managing cloud storage settings to stop forced synchronization of local folders and resolving persistent sign-in prompts from a closed Microsoft account.
- Observed behavior
- OneDrive continuously prompts the user to sign in to an old, closed account, and the Documents folder is being synced to the cloud instead of saving locally.
Ensure you are logged into your Windows computer as an administrator, and verify that any important files currently syncing are fully downloaded to prevent accidental data loss.
Unlink the old account and manage folder backups
This is the primary method to safely disconnect your old account and stop the Documents folder from syncing to the cloud.
By unlinking your PC from OneDrive, you stop all background synchronization associated with that specific account. You can then modify your backup settings to ensure your Documents folder remains on your local hard drive.
Click the OneDrive cloud icon in your Windows taskbar notification area, click the Help & Settings gear icon, and select 'Pause syncing'.
In the OneDrive Settings window, go to the 'Account' tab and click 'Unlink this PC'. Confirm your choice to disconnect the old or closed account.
Go to 'Sync and backup' in OneDrive Settings, click 'Manage backup', and toggle off the 'Documents' folder to stop it from syncing.
Open File Explorer, right-click your Documents folder, select 'Properties', and check the 'Location' tab to confirm it is pointing to your local C: drive (e.g., C:\Users\[YourUsername]\Documents).

Clear credentials and reinstall OneDrive
Use this method if OneDrive is stuck on the old account login screen and you cannot access the standard settings menu.
Try WPS Office for Seamless Local and Cloud Document Management
If you are frustrated with OneDrive sync issues or complex Microsoft account setups, WPS Office offers a lightweight, easy-to-use alternative. You can save your files locally by default without the hassle of forced synchronization, while still maintaining perfect compatibility with Microsoft formats.
- 1. Install WPS Office: Download and install the free WPS Office suite on your Windows computer.
- 2. Configure local save settings: Open the software, navigate to Menu > Options > General and Save.
- 3. Set default local path: Set your default save location to your local hard drive, ensuring your documents never sync to the cloud unless you explicitly choose to.

Frequently Asked Questions
What happens to my files when I unlink OneDrive?
Unlinking OneDrive does not delete your files. Your documents will remain safely in their current location on your computer, but any new changes you make will no longer synchronize with the cloud.
Why does OneDrive keep asking me to sign in to a closed account?
This usually happens because your Windows system or Credential Manager has cached the old login details. You need to remove the old account from Windows Settings under 'Email & accounts' or clear it from the Windows Credential Manager to stop the prompts.
How do I move my Documents folder back to the C: drive manually?
Right-click the Documents folder in File Explorer, select 'Properties', go to the 'Location' tab, click 'Restore Default', and click 'Apply' to move the folder back to its original local C: drive path.
Can I stop syncing specific folders without unlinking my whole account?
Yes. Open OneDrive Settings, navigate to 'Sync and backup', select 'Manage backup', and toggle off the specific folders (like Documents, Desktop, or Pictures) you want to stop syncing, while keeping your account linked.




