Skip to main content
FixMyTech

OneDrive Is Filling Up Your C Drive? Fix It Properly

By

Published

7 min read

Share

Short answer

Set Files On-Demand to Download files as you use them under the tray icon's Settings → Sync and back up → Advanced settings, then right-click the OneDrive folder and choose Free up space to convert existing local copies into cloud-only placeholders. This commonly returns 50–200GB in about five minutes.

On this page

Your OneDrive has 400GB in it. Your laptop has a 256GB SSD. Somehow Windows is trying to keep both on the same machine, and the drive has been sitting at 2GB free for a week.

This is the most common cause of a mysteriously full C drive on modern Windows laptops, and it is entirely a settings problem. OneDrive has a feature — Files On-Demand — that keeps every file visible in Explorer while storing only a placeholder locally. When it is working, a 400GB cloud account costs you a few hundred megabytes. When it is off, it costs you 400GB.

First, confirm this is actually the problem

Right-click the OneDrive folder in Explorer, choose Properties, and look at Size on disk. If that number is close to the full size of your cloud storage, every file has a local copy.

A faster check: open the OneDrive folder and look at the Status column. Each file carries an icon:

Icon Meaning Uses disk space
White cloud outline Cloud-only placeholder No (a few KB)
Green outline with tick Downloaded, removable Yes
Solid green circle with tick Pinned, always kept locally Yes

If the Status column is not showing, right-click the column headers in Explorer and tick Status.

A folder full of white clouds is working correctly. A folder full of green ticks is your missing disk space.

Turn on Files On-Demand

  1. Click the OneDrive cloud icon in the system tray (you may need to expand the hidden icons area).
  2. Click the gear icon, then Settings.
  3. Go to Sync and back up → Advanced settings.
  4. Make sure Files On-Demand is set to Download files as you use them.

The alternative setting, Download all files now, is what causes the problem. It exists for people who work offline regularly, and it is occasionally turned on by accident or by an IT policy.

Switching Files On-Demand on does not immediately reclaim anything. It changes behaviour for new files. To get the existing space back you need the next step.

Free up space on what is already downloaded

Right-click the OneDrive folder itself — the top-level one in the Explorer sidebar — and choose Free up space. On Windows 11 this may be under Show more options first.

OneDrive converts every unpinned local file into a cloud-only placeholder. On a large account this takes several minutes and the Status icons change from green ticks to white clouds as it works.

You can do this per-folder too, which is the better approach if you genuinely need some things offline. Right-click any subfolder and use Free up space on it alone.

The opposite setting, and when to use it

Always keep on this device does the reverse: it pins files locally and prevents OneDrive from ever reclaiming them. Use it deliberately and sparingly:

  • A project folder you need on a flight.
  • Files that an application cannot handle as placeholders — some older software, certain video editors, and anything that scans a whole directory on launch.
  • A local database or a code repository where on-demand hydration would be slow.

Pinning a 200GB photo archive “just in case” is how most people end up here in the first place. If a folder is pinned, its subfolders inherit the setting, so check the root folders rather than individual files.

Moving the OneDrive folder to another drive

If your C drive is small and you have a second drive — an internal D partition, a larger SSD, or an external drive that stays connected — relocating OneDrive entirely is the durable fix.

Do not drag the folder while OneDrive is running and linked. Sync will break in confusing ways. Follow the order below.

  1. Pause or quit OneDrive. Click the tray icon, then the gear, then Quit OneDrive.
  2. Unlink the PC. Before quitting, go to Settings → Account → Unlink this PC. Unlinking stops syncing but does not delete the local folder or the cloud copy.
  3. Move the folder. In Explorer, cut C:\Users\[you]\OneDrive and paste it into the destination, for example D:\OneDrive. If the folder is full of cloud-only placeholders this is nearly instant; if it holds real files it will take as long as any large copy.
  4. Sign back in. Launch OneDrive from the Start menu and sign in with the same account.
  5. Choose the new location. On the “Your OneDrive folder” screen, click Change location and select the folder you just moved. OneDrive will offer to use the existing folder — accept.

OneDrive then re-indexes rather than re-downloading, so the process is quick.

Before step 3, make sure the sync is fully up to date — the tray icon should show a plain cloud, not arrows. Moving a folder mid-sync risks losing changes that had not yet been uploaded.

A caveat on external drives: if the drive is disconnected when OneDrive starts, it may prompt to pick a new location and begin re-downloading to C. Only use a drive that stays plugged in.

What else to check

Known Folder Move. Under Settings → Sync and back up → Manage backup, OneDrive can back up your Desktop, Documents and Pictures folders. This is usually desirable, but it means those folders live inside OneDrive and are subject to the same rules. If Documents is pinned, it is using local space.

Third-party backup software. Any tool that reads every file in the OneDrive folder — a backup program, a full antivirus scan, a duplicate finder — will hydrate every placeholder as it goes, silently refilling the drive. Exclude the OneDrive path from those scans.

Multiple accounts. A personal and a work OneDrive can both be syncing. Check the tray for two cloud icons, each with its own settings and its own folder.

What not to do

  • Do not delete files from the OneDrive folder to free space. It is a two-way sync. The deletion goes to the cloud and to every other device. Use Free up space instead — it is the only operation that reclaims disk without touching your data.
  • Do not move the folder by dragging it while OneDrive is linked. Unlink first, every time.
  • Do not uninstall OneDrive to fix a disk problem. It leaves the local folder behind — occupying exactly the same space — and if Known Folder Move was on, your Desktop and Documents paths need manual repair afterwards.
  • Do not turn off Files On-Demand “to be safe”. Cloud-only files open normally with a connection. The setting is doing the job you want.
  • Do not store a local database, a VM disk or a Git repository inside OneDrive. Constant small writes produce endless sync churn and occasional file conflicts.

What to expect

On a laptop where Files On-Demand had been off, running Free up space across the whole OneDrive folder commonly returns 50–200GB. It is usually the single biggest win available on a full drive, and it takes about five minutes.

If the drive is still full afterwards, the remaining candidates are update leftovers, restore points and the hibernation file — walk them in order using C drive full for no reason, or take the broader maintenance route in how to free up disk space on Windows.

Frequently asked questions

How do I tell whether OneDrive is what filled my drive?
Right-click the OneDrive folder, choose Properties, and compare Size on disk against your cloud storage total. Alternatively enable the Status column in Explorer — white cloud outlines are placeholders using no space, while green ticks are full local copies.
Does turning on Files On-Demand reclaim space immediately?
No. It only changes behaviour for new files. To get existing space back, right-click the OneDrive folder and choose Free up space, which converts every unpinned local file into a cloud-only placeholder.
Can I move the OneDrive folder to another drive?
Yes, but unlink first. Go to Settings → Account → Unlink this PC, quit OneDrive, move the folder in Explorer, sign back in, and use Change location to point at the moved folder. Never drag it while OneDrive is running and linked.
Why does my drive keep refilling after I free up space?
Usually something is hydrating the placeholders — a backup program, a full antivirus scan or a duplicate finder reading every file in the folder. Exclude the OneDrive path from those scans. Pinned folders set to Always keep on this device also pass the setting down to subfolders.
Is deleting files from the OneDrive folder a safe way to free space?
No. It is a two-way sync, so the deletion propagates to the cloud and to every other device. Free up space is the only operation that reclaims local disk without touching your data.

All Windows guides