How to Keep OneDrive Files in the Cloud and Remove from PC
Question details
The user wants to store files exclusively in OneDrive's cloud storage to free up local disk space on their computer.

- 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.
Ensure your OneDrive application is currently running and you are signed in on your Windows PC before modifying your file sync settings.
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.
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'.
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.
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.

Completely Remove the OneDrive Folder from Local View
Stop syncing specific folders entirely so they no longer appear as links in your local File Explorer.
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. Download and Install: Get WPS Office for free from the official website and install it on your Windows PC.
- 2. Open Cloud Files: Access your OneDrive folder in File Explorer and double-click any Word, Excel, or PowerPoint document.
- 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.

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'.




