logo
search
OneDrive File Issues

Fix OneDrive Downloading SharePoint Files and Filling Disk Space

Ayan MasoodAyan Masood Sep 27, 2026 869 views

Question details

Users need to stop OneDrive for Business from automatically downloading large SharePoint directories to their local hard drive instead of keeping them online-only.

How to Fix OneDrive Downloading SharePoint Files and Filling Disk Space
Product
OneDrive for Business / Microsoft 365
Device & OS
Windows
Scenario
Synchronizing SharePoint document libraries to a local computer using the OneDrive desktop client.
Observed behavior
OneDrive ignores the online-only configuration and downloads entire SharePoint folders, rapidly consuming all available local disk space and occasionally causing the application to crash.
Before you start

Before applying these fixes, temporarily pause OneDrive syncing from the taskbar icon to prevent it from consuming more disk space while you configure the correct settings.

Solution 1Recommended

Enable Files On-Demand and Free Up Space

Use the built-in OneDrive settings to convert downloaded files back into cloud-only shortcuts, immediately recovering your local disk space.

The Files On-Demand feature is designed to let you see all your cloud files in File Explorer without actually downloading them until you open them. Occasionally, this setting gets disabled or desynchronized.

1
Access OneDrive Settings

Click the OneDrive cloud icon in your Windows taskbar notifications area, click the gear icon in the top right corner, and select Settings.

2
Verify Files On-Demand

Navigate to the 'Sync and back up' tab and click on 'Advanced settings'. Ensure that the 'Files On-Demand' feature is enabled to save space.

3
Free up local space

Open File Explorer and locate your synchronized SharePoint or OneDrive folder. Right-click the folder and select 'Free up space'. The status icons next to the files will change to a blue cloud, indicating they have been removed from local storage but remain safe in the cloud.

Enable Files On-Demand and Free Up Space
Space Recovery: It may take several minutes for Windows to process large SharePoint directories and reflect the recovered disk space in your storage settings.
Free Microsoft Office alternative

Try WPS Office for Seamless and Lightweight Cloud File Management

Tired of disruptive syncing bugs and massive disk space consumption? WPS Office offers a stable, lightweight, and highly compatible alternative to Microsoft Office. With built-in WPS Cloud features, you can safely manage, edit, and save your documents online without overwhelming your local computer storage.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Integrated WPS Cloud keeps your files accessible and safe without automatically downloading massive directories to your hard drive.Lightweight installation process that uses significantly fewer system resources and storage space.Familiar user interface ensuring a zero-learning-curve migration from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why is OneDrive ignoring the Files On-Demand setting?

This usually happens due to known software bugs introduced in recent Windows updates (such as the July 2024 update). These bugs can override the online-only configuration and force the OneDrive client to download full directories locally.

Does selecting 'Free up space' delete my files from SharePoint?

No. Selecting 'Free up space' only removes the locally downloaded copy of the file from your computer's hard drive. The file remains safely stored in SharePoint and will appear as an online-only shortcut in your folder.

How do I completely stop a SharePoint folder from syncing to my computer?

To stop syncing a folder entirely, click the OneDrive taskbar icon, go to Settings, select the Account tab, and click 'Choose folders'. Uncheck the specific SharePoint directories you no longer wish to display or sync on your device.