OneDrive File Issues

How to Fix OneDrive Online-Only Folders Occupying Local Disk Space

Adam DavisAdam Davis Nov 3, 2026 868 views

Question details

Users find that OneDrive folders set to 'online-only' are still taking up significant local hard drive space.

Fix OneDrive Online-Only Folders Occupying Local Disk 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.
Before you start

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.

Solution 1Recommended

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.

1
Re-apply the Free Up Space Command

Open File Explorer, right-click the affected OneDrive folders, and select 'Free up space' again to ensure any standard local files are cleared first.

2
Open the Run Dialog

Press the Windows key + R on your keyboard simultaneously to open the Windows Run command window.

3
Execute the Reset Command

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.

4
Restart the OneDrive App

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.

Clear Cache and Reset the OneDrive Application
Data Safety: Resetting OneDrive will not delete any of your personal files or cloud data. It simply resets the sync connections and re-evaluates all file placeholders safely.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website to download the lightweight, free installer.
  2. 2. Install the Software: Run the installer to quickly set up WPS Office on your Windows PC in just a few clicks.
  3. 3. Manage Cloud Files: Sign in to access built-in cloud storage and start saving your local disk space instantly.
Lightweight installation requires significantly less local storage space than Microsoft Office.Fully compatible with all major Microsoft Office formats (.docx, .xlsx, .pptx).Familiar, user-friendly interface allows for an effortless and seamless migration.Built-in integrated cloud functionality to easily save and manage files online.
microsoft office alternative - wps office

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.