logo
search
OneDrive File Issues

How to Free Up Disk Space Using OneDrive Files On-Demand

Adam DavisAdam Davis Oct 1, 2026 869 views

Question details

The user needs to free up local computer storage space by making OneDrive files online-only without deleting the actual files from the cloud.

How to Free Up Disk Space Using OneDrive Files On-Demand
Product
OneDrive
Device & OS
not provided
Scenario
Local storage is running low because OneDrive is unexpectedly downloading files and keeping local copies even when they are safely backed up in the cloud.
Observed behavior
OneDrive consumes local disk space with downloaded copies instead of maintaining infrequently used files in an online-only state.
Before you start

Ensure your OneDrive desktop application is running and signed in, and that you have an active internet connection so you can still access your files once they are set to online-only.

Solution 1Recommended

Enable Files On-Demand and Clear Local Copies

Turn on the Files On-Demand feature in OneDrive settings to make local files online-only, instantly freeing up your computer's disk space.

Using Files On-Demand allows you to see all your cloud files in File Explorer without actually downloading them until you open them. This is the most effective way to reclaim local hard drive space.

1
Open OneDrive Settings

Click the OneDrive cloud icon in your taskbar notification area, click the gear icon, and select 'Settings'.

2
Enable Files On-Demand

Navigate to the 'Sync and Backup' tab, select 'Advanced Settings', and toggle on the 'Files On-Demand' option.

3
Free up local space

Open File Explorer, locate your OneDrive folder, right-click the files or folders taking up space, and select 'Free up space'. The files will remain in your cloud but the local copies will be removed.

Enable Files On-Demand and Clear Local Copies
Cloud Storage Limit: Using 'Free up space' only clears your local disk space. It does not increase your OneDrive cloud storage quota.
Free Microsoft Office alternative

Try WPS Office for Seamless Cloud File Management

Having trouble managing large documents and local storage with Microsoft's tools? WPS Office is a lightweight, free alternative that offers built-in WPS Cloud storage, ensuring your documents are safely backed up online without unnecessarily cluttering your local hard drive.

  1. 1. Download and install: Get the free WPS Office installer from the official website and complete the quick installation process.
  2. 2. Sign in to WPS Cloud: Log in with your email or social account to instantly activate your free WPS Cloud storage space.
  3. 3. Save files to the cloud: Create or edit your documents and select WPS Cloud as the save location to keep them strictly online and save local disk space.
100% free, lightweight, and easy-to-use office suite with a familiar interfaceBuilt-in WPS Cloud storage to easily manage files online and save local disk spaceHighly compatible with Microsoft Office formats including Word, Excel, and PowerPoint
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive download files unexpectedly even with Files On-Demand?

Files may download locally if a third-party application, antivirus scan, or Windows search indexer accesses them in the background. It also happens if the 'Always keep on this device' option is accidentally checked for a folder.

Does 'Free up space' delete my files from the OneDrive cloud?

No, selecting 'Free up space' only removes the local cached copy from your computer's hard drive. Your files remain safely stored in the OneDrive cloud and will appear with a blue cloud icon.

How do I know which OneDrive files are online-only?

In File Explorer, online-only files display a blue cloud icon in the 'Status' column. Files that are downloaded and taking up local space will show a green checkmark.

What happens if I delete an online-only file from File Explorer?

If you delete an online-only file (blue cloud icon) from your local OneDrive folder, it will be moved to the recycle bin and deleted from your OneDrive cloud storage across all your synced devices.