OneDrive File Issues

How to Fix OneDrive Moving Files to C Drive and Re-Enabling Files On-Demand

John WilsonJohn Wilson Nov 3, 2026 869 views

Question details

The user needs to prevent OneDrive from automatically recreating its folder on the C: drive and turning on Files On-Demand, which ignores the intended D: drive configuration.

How to Stop OneDrive from Moving Files to the C Drive
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Managing local storage space and forcing OneDrive files to sync to a secondary drive (D:) instead of the system drive.
Observed behavior
OneDrive repeatedly downloads files to the C: drive and forcefully enables Files On-Demand, consuming system drive space and internet data limits despite previous configuration.
Before you start

Verify the online status of your synchronized folders and ensure any locally modified files are backed up to an external drive before unlinking your account or resetting configurations.

Solution 1Recommended

Reset OneDrive Configuration and Reinstall

Completely clear the existing OneDrive configuration from your Windows registry and reinstall the app to cleanly select the D: drive during setup.

Sometimes the OneDrive client holds onto corrupted configuration data, forcing it to revert to default settings (C: drive and Files On-Demand) upon restart. Resetting the registry key clears these saved states.

1
Open Registry Editor

Press Windows Key + R, type 'regedit', and press Enter to open the Registry Editor.

2
Delete OneDrive Registry Key

Navigate to HKEY_CURRENT_USER\Software\Microsoft, locate the OneDrive registry key, right-click it, and select Delete.

3
Reinstall OneDrive

Uninstall Microsoft OneDrive from your 'Apps & features' menu, then download and install the latest production version from the official Microsoft website.

4
Select New Folder Location

During the new setup process, when prompted for the folder location, click 'Change location' and manually select your existing OneDrive folder on the D: drive.

Reset OneDrive Configuration and Reinstall
Data Safety Guarantee: Deleting the registry key only removes the application configuration settings. It does not delete your actual synced files or cloud data.
Free Microsoft Office alternative

Manage Your Documents Effectively with WPS Office

While dealing with Microsoft OneDrive sync issues, you might want a simpler, more reliable way to manage and edit your documents locally. WPS Office is a lightweight, fully compatible alternative that offers seamless local and cloud file management without the hassle of forced syncing behaviors.

Fully compatible with Microsoft Office file formats (DOCX, XLSX, PPTX).Lightweight installation that saves valuable system drive (C:) space.Built-in WPS Cloud storage with easy-to-manage sync settings.Familiar, tabbed user interface for easy transition.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive keep turning on Files On-Demand automatically?

Microsoft frequently updates OneDrive to default to Files On-Demand to save local disk space. You can manually disable this in the OneDrive settings under the 'Sync and backup' or 'Advanced settings' tab, though major Windows updates may occasionally reset this preference.

Will unlinking OneDrive delete my files from my hard drive?

No, unlinking your PC only stops the active syncing process between your computer and the cloud. Your files will remain safely in their current location on your local hard drive.

How do I move my OneDrive folder to another drive without downloading everything again?

First, unlink your PC in OneDrive settings. Next, physically move the existing OneDrive folder to your new drive using File Explorer. Open OneDrive, sign back in, and click 'Change location' during setup to select the folder you just moved. OneDrive will verify the existing files instead of re-downloading them.