logo
search
OneDrive File Issues

How to Prevent OneDrive Files from Using Local Disk Space

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user wants to configure OneDrive to store files online-only in order to free up local storage space on their device without losing access to the files.

Product
OneDrive
Device & OS
not provided
Scenario
Freeing up local laptop or PC storage while maintaining seamless access to OneDrive synchronized files.
Observed behavior
Synchronized OneDrive files are consuming local disk space, and the user wants them to remain visible in File Explorer but use zero local storage until they are actually opened.
Before you start

Before changing your synchronization settings, ensure you have an active and stable internet connection so OneDrive can properly update your file statuses and apply the changes.

Solution 1Recommended

Enable OneDrive Files On-Demand

Use the Files On-Demand feature to make your files online-only. This keeps them visible in File Explorer but removes the local file data to free up your hard drive.

By enabling Files On-Demand, you can see all your files in File Explorer without having to download them. When you open an online-only file, it downloads to your device and becomes locally available.

1
Open OneDrive Settings

Click the OneDrive cloud icon located in the Windows notification area (system tray), click the gear icon, and select 'Settings'.

2
Access Advanced Sync Settings

In the Settings menu, navigate to the 'Sync and backup' tab, then click on 'Advanced settings'.

3
Free Up Disk Space

Select the option to 'Free up disk space'. This will convert your downloaded files to online-only files, clearing up local storage while keeping the file icons visible in File Explorer.

4
Review Backup Settings

If you are planning to move files manually, go to 'Sync and backup' > 'Manage backup' to review or disable backup settings for crucial folders like Desktop or Documents.

Deletion Warning: Remember that if you delete a synchronized file from your local File Explorer—even if it is online-only—it will also be deleted from OneDrive and all your other synced devices.
Free Microsoft Office alternative

Manage Your Cloud Documents Seamlessly with WPS Office

While you optimize your OneDrive storage, consider enhancing your document workflow with WPS Office. It is a highly compatible, lightweight, and free Office suite that seamlessly integrates with popular cloud storage services.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your PC or mobile device.
  2. 2. Connect Your Cloud Drive: Open WPS Office, navigate to the Cloud section, and authorize your preferred cloud storage account to access your files.
  3. 3. Edit Files Directly: Open, edit, and save your cloud documents directly within WPS Office without needing to permanently store them on your local hard drive.
Seamlessly integrates with cloud storage services, allowing you to edit online-only files directly.Fully compatible with Microsoft Word, Excel, and PowerPoint document formats.Lightweight design ensures smooth performance without consuming excessive local disk space or system resources.
microsoft office alternative - wps office

Frequently Asked Questions

How can I tell if a OneDrive file is online-only or stored locally?

In File Explorer, check the status icon next to your file. A blue cloud icon indicates the file is online-only and uses no local space. A green checkmark means the file is downloaded and taking up space on your hard drive.

Can I open online-only files when I don't have internet access?

No, online-only files require an active internet connection to download and open. If you know you will be offline, right-click the file beforehand and select 'Always keep on this device'.

Will deleting an online-only file remove it from my OneDrive cloud storage?

Yes. If you delete a synchronized file or folder from your File Explorer, regardless of whether it is stored locally or is online-only, it will be moved to the OneDrive recycle bin and deleted from the cloud.

How do I change a file from online-only back to always available locally?

Open File Explorer, locate the online-only file or folder with the blue cloud icon, right-click on it, and select 'Always keep on this device'. The file will download, and the icon will change to a solid green circle with a white checkmark.