How to Remove OneDrive Local Copies Without Deleting Cloud Files
Question details
The user needs to know how to safely remove local copies of OneDrive files to free up disk space while keeping the files securely stored in the cloud, particularly when standard features like 'Free up space' are malfunctioning.
- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to free up local device storage by removing locally synced offline files without affecting the cloud backup.
- Observed behavior
- The files may not be synchronizing correctly, preventing the 'Free up space' option from working properly and keeping local copies stuck on the device.
Ensure you have a stable internet connection and verify that your files are fully uploaded to the OneDrive cloud (indicated by a solid cloud icon) before attempting to modify or reinstall the sync client.
Uninstall and Reinstall the OneDrive Client
Use this solution when files are not synchronizing correctly, which prevents the 'Free up space' feature from properly removing local copies.
When the OneDrive sync engine encounters an error, local files may remain on your hard drive even after you command the app to free up space. A clean reinstallation of the latest client forces the system to reset its sync state.
Navigate to your system's Settings, select Apps or Applications, find Microsoft OneDrive in the list, and click 'Uninstall'.
Go to Microsoft's official OneDrive download page using your web browser and download the most recent installation file.
Run the downloaded installer. Once installed, sign back into your Microsoft account and allow the files to process their sync state. You can then right-click files and select 'Free up space' again.
Contact Your Microsoft 365 Administrator
Use this solution if you are on a corporate or school network and reinstalling the client does not resolve the local storage issue.
Seamlessly Manage Cloud and Local Files with WPS Office
Tired of complex syncing issues with Microsoft OneDrive? WPS Office offers a lightweight, highly compatible alternative with integrated WPS Cloud storage. It allows you to effortlessly save, access, and manage your documents online without worrying about local storage conflicts or sync errors.
- 1. Download WPS Office: Install the free WPS Office suite on your device.
- 2. Activate WPS Cloud: Sign in to your account to instantly access your free integrated cloud storage.
- 3. Save Directly to Cloud: Save your documents directly to WPS Cloud to ensure they don't consume unnecessary local drive space.

Frequently Asked Questions
Does deleting a file from the OneDrive folder also delete it from the cloud?
Yes, if you simply press the 'Delete' key on a synced file in your OneDrive folder, it will be moved to the recycle bin and deleted from the cloud. To remove only the local copy, you must right-click the file and select 'Free up space'.
Why is the 'Free up space' option missing from my right-click menu?
This option requires 'Files On-Demand' to be enabled. Open your OneDrive settings, go to the Sync and back up tab, click Advanced settings, and ensure that 'Files On-Demand' is turned on.
How can I tell if a file is stored locally or only in the cloud?
Look at the status icon next to the file name. A blue cloud icon means the file is only available online (taking up no local space). A green checkmark indicates a locally available copy.




