logo
search
OneDrive File Issues

How to Stop OneDrive from Overriding Custom Windows Library Locations

Maira MehtabMaira Mehtab Sep 20, 2026 869 views

Question details

The user needs to prevent OneDrive from recreating and synchronizing default Windows library folders (like Documents, Downloads, and Pictures) after moving them to a custom drive location.

Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Managing OneDrive folder synchronization after configuring custom library paths on a separate drive.
Observed behavior
OneDrive automatically recreates and synchronizes the default library folders, overriding the user's custom location settings.
Before you start

Verify that all your important files in the Documents, Downloads, and Pictures folders are stored locally on your device to prevent any accidental loss of cloud-only files during the unlinking process.

Solution 1Recommended

Unlink and Relink OneDrive with Selective Sync

By unlinking your account and relinking it, you can bypass the default folder backup prompt and choose exactly which folders OneDrive should sync, leaving your custom library paths untouched.

This is the most effective method to stop OneDrive from hijacking your custom locations. It resets the synchronization rules and allows you to manually exclude standard library folders.

1
Unlink this PC

Click the OneDrive cloud icon in your Windows taskbar. Click the Gear icon (Help & Settings) and select 'Settings'. Navigate to the 'Account' tab and click the 'Unlink this PC' link.

2
Clean Up Unwanted Cloud Files

Once unlinked, log into OneDrive via your web browser. Carefully delete any cloud copies of the library folders that OneDrive incorrectly synced, ensuring you only delete files you have safely stored locally.

3
Relink Your Account

Open the OneDrive desktop app again and sign in with your Microsoft account credentials to begin the setup process.

4
Choose Specific Folders to Sync

During the setup, skip the option to back up your PC folders. When prompted, click 'Choose folders' and uncheck the default library folders (Documents, Pictures, Downloads) so OneDrive ignores them.

Free Microsoft Office alternative

Try WPS Office for Seamless and Flexible Document Management

If you are managing complex local file locations and want a productivity suite that respects your storage preferences without forcing aggressive cloud synchronization, WPS Office is an excellent alternative. It is lightweight, fully compatible with standard document formats, and gives you complete control over where your files are saved.

  1. 1. Download the Installer: Visit the official WPS website and download the free installation package for Windows.
  2. 2. Install WPS Office: Run the setup file and follow the on-screen instructions to install the suite on your preferred drive.
  3. 3. Set Default Save Locations: Open WPS Office, go to Settings, and configure your default file save paths to point directly to your custom Windows Library locations.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Save files securely to your custom local Windows libraries without forced cloud uploads.Lightweight application that requires minimal system resources.Free to use with a familiar, easy-to-navigate tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive keep hijacking my Documents and Pictures folders?

During setup or after certain updates, OneDrive frequently prompts users to enable 'PC Folder Backup'. If this is accepted or enabled by default, OneDrive changes the registry paths for standard Windows libraries (Documents, Pictures, Desktop) to sync them automatically to the cloud, overriding any custom drive paths you previously set.

Will unlinking my PC from OneDrive delete my local files?

No, clicking 'Unlink this PC' only breaks the synchronization connection between your computer and the cloud. Your locally downloaded files remain completely safe on your hard drive. However, files that were set to 'Cloud-only' will no longer be visible in your local File Explorer until you relink or download them manually from the web.

How do I stop OneDrive from syncing just one specific folder?

To stop syncing a specific folder, open the OneDrive Settings menu, navigate to the Account tab, and click the 'Choose folders' button. Uncheck the specific folders you no longer want to sync to your PC, and click OK. The folder will be removed from your local PC but will remain safely in the cloud.