Fix OneDrive Free Up Space Not Working (Files Still Use Disk Space)
Question details
The user is unable to release local hard drive space using the OneDrive 'Free Up Space' feature for synced SharePoint and OneDrive folders.
- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Managing local storage space by converting downloaded OneDrive files back to online-only via the Files On-Demand feature.
- Observed behavior
- Files display the cloud icon indicating they are online-only, but checking the folder Properties reveals that 'Size' and 'Size on Disk' are identical, meaning the files are still consuming local hard drive space.
Ensure your Windows system is fully updated and temporarily pause OneDrive syncing before running any reset commands to prevent file conflicts during the troubleshooting process.
Reinstall OneDrive from the Official Release Notes Page
This resolves a known issue introduced in the July 2024 Windows Update where the sync client fails to properly report or release disk space.
Microsoft identified a bug in a recent Windows Update (2024-07) causing OneDrive's Files On-Demand to improperly handle disk space allocation. Reinstalling the client using the latest stable release directly from Microsoft's release notes page bypasses this bug.
Open Windows Settings, go to 'Apps' > 'Installed apps', search for Microsoft OneDrive, and select 'Uninstall'.
Navigate to the official Microsoft OneDrive release notes support page (support.microsoft.com) and download the latest Windows installer.
Run the downloaded executable to install the application, then sign back in with your Microsoft account to resume syncing.
Reset the OneDrive Sync Client
Resetting OneDrive forces the application to rebuild its sync cache and re-evaluate file states, resolving mismatches between the cloud icon and actual disk usage.
Clear Office Cache and Run Disk Cleanup
Removing hidden cached files can clear up phantom space still being reserved by Microsoft Office applications and Windows background processes.
Avoid Complex Sync Errors with WPS Office
Dealing with Microsoft OneDrive sync bugs and Office cache issues can be frustrating and consume unnecessary local disk space. Switch to WPS Office, a highly compatible, lightweight, and completely free alternative that integrates seamlessly with your local files and built-in cloud services without bloated background processes.
- 1. Download and Install: Visit the official WPS website to download the free, lightweight installer and install it on your PC.
- 2. Open Your Office Files: Double-click your existing Microsoft Office documents (.docx, .xlsx, .pptx) to open them flawlessly in WPS Office.
- 3. Manage Storage Easily: Save your work locally without forced sync processes, or optionally enable WPS Cloud for hassle-free online backups.

Frequently Asked Questions
Why does OneDrive show a cloud icon but still take up space?
This occurs due to a sync caching error or an OS bug (like the July 2024 Windows update) where the file index fails to communicate with Windows Storage, keeping the local space allocated even after the file is removed from the drive.
How do I know if 'Free Up Space' actually worked?
Right-click the targeted file or folder and select 'Properties'. If 'Free Up Space' worked correctly, the 'Size on Disk' should read as 0 bytes or significantly less than the 'Size' value.
Will running the OneDrive reset command delete my files?
No. Using the %localappdata%\Microsoft\OneDrive\onedrive.exe /reset command only resets the application's configuration and forces it to rebuild its sync index. Your personal files remain untouched.
Should I use third-party cleanup tools to fix OneDrive storage?
It is not recommended. Third-party disk cleaners can aggressively delete vital system pointers or junction points used by OneDrive's Files On-Demand feature, which can cause permanent sync corruption.




