How to Free Up Computer Storage with OneDrive Files On-Demand
Question details
The user needs to free up local disk space by removing local copies of files without deleting them from their OneDrive cloud storage.

- Product
- OneDrive
- Device & OS
- Windows
- Scenario
- Running low on computer storage and needing to optimize disk space while retaining remote access to synchronized cloud files.
- Observed behavior
- The user wants to achieve an online-only state for their synchronized OneDrive files so that they remain accessible in File Explorer without occupying local hard drive space.
Ensure that the OneDrive desktop application is actively running on your computer and that the 'Files On-Demand' feature is turned on in your OneDrive settings.
Use the 'Free up space' Option in File Explorer
Quickly remove local file copies while keeping them accessible in OneDrive by using the built-in context menu.
Windows File Explorer integrates directly with OneDrive, allowing you to manage local storage easily. Using the 'Free up space' option safely removes the file from your local hard drive, replacing it with an online-only shortcut.
Launch File Explorer and navigate to the OneDrive folder located in the left-hand navigation pane.
Highlight the specific files or folders that you want to remove from your local hard drive to save space.
Right-click the selected items and choose 'Free up space' from the context menu. The files will transition to an online-only state, indicated by a cloud icon.

Manage Your Documents Seamlessly with WPS Office
If you are looking to save disk space, consider replacing heavy software with WPS Office. It is a free, lightweight, and powerful alternative to Microsoft Office that fully supports OneDrive integration, allowing you to work on your cloud files without cluttering your hard drive.
- 1. Download the lightweight installer: Visit the official WPS Office website and download the free setup file, which requires significantly less disk space than traditional office suites.
- 2. Connect your cloud storage: Launch WPS Office, sign in, and link your OneDrive account in the Cloud tab to access your online-only files directly.
- 3. Edit with full compatibility: Open your Word, Excel, or PowerPoint documents effortlessly, enjoying 100% format compatibility and advanced editing tools.

Frequently Asked Questions
What happens when I click 'Free up space'?
When you select 'Free up space', the local copy of the file is removed from your computer's hard drive to reclaim disk space. The file itself remains safely stored in your OneDrive cloud and appears in File Explorer with a cloud icon.
Will 'Free up space' permanently delete my files?
No. The 'Free up space' command only deletes the local cache on your device. To ensure the file stays in your cloud storage, always use this option instead of clicking the standard 'Delete' key.
How can I open a file after making it online-only?
Simply double-click the online-only file (which displays a cloud icon) in File Explorer. As long as you have an active internet connection, OneDrive will automatically download and open it.
Why is the 'Free up space' option missing from my context menu?
This usually means the OneDrive application is not running, or the 'Files On-Demand' feature is disabled. Open your OneDrive settings, navigate to the Sync and Backup tab, and ensure that Files On-Demand is enabled.




