How to Fix OneDrive Online-Only Folders Occupying Local Disk Space
Question details
Users find that OneDrive folders set to 'online-only' are still taking up significant local hard drive space.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Using the OneDrive Files On-Demand feature to free up local storage space.
- Observed behavior
- Folders marked as online-only appear to continue consuming local disk space, and disk-usage utilities detect cached content even after selecting the 'Free up space' option.
Ensure your PC is connected to the internet so OneDrive can accurately update file statuses, and verify that the 'Files On-Demand' feature is turned on in your OneDrive application settings.
Clear Cache and Reset the OneDrive Application
Resetting the OneDrive application forces it to clear stubborn cached files and refresh its Files On-Demand placeholders, thereby freeing up the trapped local disk space.
Sometimes the standard 'Free up space' command fails to properly clear background cache or indexing data. Performing a full reset of the OneDrive executable is the most effective way to resolve this synchronization glitch without losing any data.
Open File Explorer, right-click the affected OneDrive folders, and select 'Free up space' again to ensure any standard local files are cleared first.
Press the Windows key + R on your keyboard simultaneously to open the Windows Run command window.
Type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset into the dialog box and press Enter. If Windows states it cannot find this path, use C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset instead.
Once the command executes (the OneDrive cloud icon in your system tray may disappear and reappear), open the Windows Start menu, search for 'OneDrive', and click the application to restart your sync processes.

Save Local Disk Space with a Lightweight Office Suite
Struggling with bulky software and file sync issues taking up your hard drive? WPS Office is a free, highly efficient alternative to Microsoft Office that utilizes minimal local storage while delivering powerful document, spreadsheet, and presentation tools.
- 1. Download WPS Office: Visit the official WPS website to download the lightweight, free installer.
- 2. Install the Software: Run the installer to quickly set up WPS Office on your Windows PC in just a few clicks.
- 3. Manage Cloud Files: Sign in to access built-in cloud storage and start saving your local disk space instantly.

Frequently Asked Questions
Why does OneDrive Files On-Demand still take up a small amount of space?
Even when files are online-only, Windows retains tiny placeholder files (pointers) and thumbnail caches so you can browse them in File Explorer. These usually take up negligible space, but corrupted thumbnail caches can sometimes appear larger than intended.
How do I know if a OneDrive folder is truly online-only?
Open File Explorer and look at the 'Status' column next to your files or folders. An online-only file will have a blue cloud icon, whereas a locally available file will display a green checkmark.
Will resetting OneDrive delete my local files?
No. Resetting the OneDrive app only clears the application's temporary cache and restarts the synchronization state. All your local and cloud files remain completely safe and untouched.




