Free Up OneDrive Space Without Deleting Local Files
Question details
The user wants to use the OneDrive Free up space feature to save disk storage, without accidentally removing local copies of important files that need to remain available offline.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Managing local hard drive capacity while ensuring specific important files remain accessible without an internet connection.
- Observed behavior
- Applying the Free up space command to a top-level OneDrive folder overrides individual settings, removing local copies from all nested subfolders even if they were marked to Always keep on this device.
Ensure your OneDrive client is running and all files are fully synced to the cloud before making structural folder changes to prevent sync conflicts or data loss.
Separate Folders for Local and Cloud-Only Files
The safest method to protect local files is to isolate them in a dedicated folder that is never subjected to the top-level Free up space command.
Because applying Free up space to a parent folder automatically applies it to all subfolders, mixing local-only and cloud-only files in the same hierarchy often leads to offline files being removed from your local drive.
Open File Explorer, navigate to your OneDrive directory, and create a new folder specifically for files you always want to keep locally on your device.
Drag and drop all the files and subfolders that require offline access into this newly created folder.
Right-click the new dedicated folder and select Always keep on this device. Wait for the status icons to turn into solid green circles.
Instead of right-clicking your entire OneDrive folder to free up space, right-click only the specific folders that do not need local copies and select Free up space.

Adjust Windows Storage Sense Settings
Prevent Windows Storage Sense from automatically converting your inactive local files into online-only files when your disk space runs low.
Manage Your Documents Efficiently with WPS Office
While optimizing your OneDrive storage, consider WPS Office as your go-to document suite. It is a lightweight, completely free Office alternative that seamlessly integrates with local and cloud files without overwhelming your hard drive space.
- 1. Download the software: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install quickly: Run the lightweight installer to equip your PC with Writer, Spreadsheet, and Presentation tools.
- 3. Access local and cloud files: Launch WPS Office and easily navigate to your OneDrive folders to edit your documents directly.

Frequently Asked Questions
Why does the 'Always keep on this device' setting turn off automatically?
This typically occurs if you apply the 'Free up space' command to a parent folder, which forces all nested files to become online-only. It can also happen if Windows Storage Sense is enabled and configured to automatically move inactive files to the cloud to save local disk space.
Does freeing up space delete my files permanently from OneDrive?
No. Selecting 'Free up space' only removes the downloaded local copy from your computer's hard drive. The actual file remains safely backed up in your Microsoft OneDrive cloud storage and is accessible whenever you have an internet connection.
How can I check which OneDrive files are stored locally?
Open File Explorer and look at the Status column next to your OneDrive files. A solid green circle with a white checkmark means the file is always kept locally. A white circle with a green border and checkmark means it is temporarily available locally, while a blue cloud icon indicates it is online-only.
Can I recover an online-only file if I lose internet access?
No, you cannot open an online-only (blue cloud icon) file without an active internet connection. If you anticipate being offline, you must right-click the necessary files in advance and select 'Always keep on this device' while you are still connected to the internet.




