How to Fix OneDrive Storage Sense Not Making SharePoint Files Online-Only
Question details
Users need to resolve an issue where Windows Storage Sense fails to automatically convert synced SharePoint files to an online-only state.

- Product
- OneDrive and SharePoint
- Device & OS
- Windows
- Scenario
- Managing local storage space by converting inactive synced SharePoint files to cloud-only placeholders.
- Observed behavior
- Synced SharePoint files remain locally stored and consume hard drive space even when Storage Sense is expected to make them online-only.
Ensure your OneDrive client is updated to the latest version and verify that your device has an active internet connection to communicate with SharePoint servers.
Enable Files On-Demand and Manually Free Up Space
The most direct resolution is to verify Files On-Demand is active and manually clear the local cache for files that are incorrectly marked to always stay on the device.
Sometimes files are inadvertently set to 'Always keep on this device', which overrides Storage Sense automated cleanup policies. Other users accessing files online will not prevent your local copies from becoming online-only.
Open OneDrive settings by clicking the cloud icon in your system tray, selecting the gear icon, and navigating to Sync and backup. Ensure 'Files On-Demand' is turned on.
Open File Explorer and navigate to your synced SharePoint folder. Look for files with a solid green checkmark. Right-click these files or folders and deselect 'Always keep on this device' if it is checked.
Right-click the specific SharePoint folders or files taking up space and select 'Free up space'. The status icon should change to a blue cloud, indicating the file is now online-only.

Configure Windows Storage Sense OneDrive Policies
Storage Sense might be misconfigured, preventing the automated cleanup of untouched local OneDrive and SharePoint files.
Edit SharePoint Documents Seamlessly with WPS Office
While managing OneDrive and SharePoint sync settings, you still need a reliable suite to handle your tasks. WPS Office is a free, lightweight alternative that fully supports Microsoft Office formats and integrates seamlessly with your local and cloud directories.
- 1. Download and Install: Download WPS Office for free from the official website and complete the quick installation.
- 2. Open Synced Files: Launch WPS Office, click on 'Open', and navigate to your local SharePoint or OneDrive folder via File Explorer.
- 3. Edit and Save: Edit your documents as usual. When you save, OneDrive will automatically sync the changes back to SharePoint in the background.

Frequently Asked Questions
Why do some of my SharePoint files have a solid green checkmark?
A solid green checkmark means the file or folder is set to 'Always keep on this device'. Windows Storage Sense ignores these files and will never convert them to online-only. You must right-click the file and uncheck this option to allow automated cleanup.
Does another user opening a shared SharePoint file prevent my local copy from freeing up space?
No. Other SharePoint users accessing the files online or on their own devices should not prevent your local copies from becoming online-only, as long as your Files On-Demand and Storage Sense settings are properly configured.
Can I use a script or command prompt to force OneDrive files to become online-only?
Currently, OneDrive does not provide a generally supported command-line equivalent for freeing up arbitrary files on demand. While IT administrators can use group policies to set global Storage Sense rules, individual file actions are best performed manually via File Explorer.




