logo
search
OneDrive File Issues

How to Keep OneDrive Files in the Cloud and Remove from PC

Steve KSteve K Oct 10, 2026 868 views

Question details

The user wants to store files exclusively in OneDrive's cloud storage to free up local disk space on their computer.

How to Keep OneDrive Files in the Cloud and Remove Them from Your PC
Product
OneDrive
Device & OS
Windows
Scenario
Managing local storage space while keeping files backed up and accessible via the cloud.
Observed behavior
Files are currently stored both locally and in the cloud, consuming unnecessary local storage space.
Before you start

Ensure your OneDrive application is currently running and you are signed in on your Windows PC before modifying your file sync settings.

Solution 1Recommended

Use Files On-Demand to Free Up Local Space

Use the built-in OneDrive 'Free up space' feature to make files cloud-only while keeping a shortcut on your PC.

This method removes the downloaded file from your hard drive but leaves a visible icon in File Explorer. When you click the file again, it will automatically download from the cloud.

1
Enable Files On-Demand

Click the OneDrive icon in your taskbar, select the gear icon to open Settings, navigate to the 'Sync and Backup' tab, click on 'Advanced Settings', and enable 'Files On-Demand'.

2
Locate files or folders

Open File Explorer and navigate to your local OneDrive folder. Select the files or folders you no longer want to keep on your local drive.

3
Free up space

Right-click the selected items and choose 'Free up space'. The status icon next to the files will change to a blue cloud, indicating they are now stored only in the cloud.

Use Files On-Demand to Free Up Local Space
Space Freed: Your files are safely stored in the cloud, and your local storage space has been immediately reclaimed.
Free Microsoft Office alternative

Edit Your Cloud Documents Seamlessly with WPS Office

While you manage your OneDrive storage to free up PC space, consider using WPS Office as your daily productivity suite. It's a lightweight, free alternative to Microsoft Office that saves local storage while keeping full compatibility with your essential files.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your Windows PC.
  2. 2. Open Cloud Files: Access your OneDrive folder in File Explorer and double-click any Word, Excel, or PowerPoint document.
  3. 3. Edit and Save: The file will automatically download and open in WPS Office. Edit your document seamlessly and save it back to the cloud.
Fully compatible with Microsoft Office formats (docx, xlsx, pptx)Lightweight installation saves even more local PC spaceFamiliar, easy-to-use tabbed interface for quick migrationBuilt-in PDF editing and format conversion tools
microsoft office alternative - wps office

Frequently Asked Questions

Will I lose my files if I select 'Free up space'?

No, selecting 'Free up space' only deletes the local copy stored on your PC's hard drive. The original file remains safely backed up in your OneDrive cloud account.

How do I know if a file is stored locally or in the cloud?

In File Explorer, check the status column next to your files. A blue cloud icon indicates the file is cloud-only. A green checkmark means it is downloaded and available offline on your device.

Can I open cloud-only files without an internet connection?

No, you must be connected to the internet to download and open cloud-only files. If you anticipate needing offline access, right-click the file beforehand and select 'Always keep on this device'.