Appearance
How to Use Storage Sense with OneDrive
Applies to: Windows 11, Windows 10
Article Type: How-To
Last Updated: 2026-03-09
Summary
Storage Sense is a built-in Windows feature that automatically frees up disk space by cleaning temporary files and making OneDrive files online-only when they have not been used recently. Combined with OneDrive Files On-Demand, it keeps your hard drive from filling up without losing access to your files. This article explains how to configure Storage Sense.
Prerequisites
- Windows 10 or Windows 11.
- OneDrive syncing enabled with Files On-Demand active.
Instructions
1. Enable Storage Sense
Turn on automatic disk cleanup.
- Open Settings (Win+I).
- Go to System > Storage.
- Toggle Storage Sense to On.
- Windows will now periodically clean up temporary files and other unnecessary data.
2. Configure Storage Sense Schedule and Behavior
Customize how aggressively Storage Sense cleans.
- Under the Storage Sense toggle, click Storage Sense (or the arrow/configure link).
- Set Run Storage Sense:
- Every day, Every week, Every month, or During low free disk space (recommended).
- Under Temporary files:
- Toggle Keep Windows running smoothly by automatically cleaning up temporary files.
- Set Delete files in my recycle bin if they have been there for over — choose 1 day, 14 days, 30 days, 60 days, or Never.
- Set Delete files in my Downloads folder if they haven't been opened for more than — choose a timeframe or Never.
3. Configure OneDrive Locally Available Content
Make OneDrive files online-only when unused to reclaim disk space.
- In the same Storage Sense settings, scroll to Locally available cloud content.
- Set OneDrive to make content online-only if not opened for more than:
- 1 day, 14 days, 30 days, 60 days (recommended).
- This converts locally cached OneDrive files back to online-only, freeing up disk space.
- The files remain visible in File Explorer — they download on-demand when you open them.
4. Run Storage Sense Manually
Free up space right now without waiting for the schedule.
- Open Settings > System > Storage.
- Click Storage Sense > Run Storage Sense now (or Clean now).
- Windows performs the cleanup immediately and shows how much space was freed.
5. Check Current Disk Usage
See what is using the most space on your drive.
- Open Settings > System > Storage.
- A breakdown appears showing space used by:
- Apps & features, Temporary files, OneDrive, Other.
- Click any category for more details and cleanup options.
Troubleshooting
TIP
For the best results, enable both Storage Sense and OneDrive Files On-Demand together. Storage Sense automatically converts unused OneDrive files to online-only, while Files On-Demand ensures you can still access them instantly.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
| Disk still full after enabling Storage Sense | Large files not covered by cleanup rules | Check Settings > System > Storage for the biggest categories. Manually delete or move large files. |
| OneDrive files not converting to online-only | Locally available cloud content not configured | Set the Locally available cloud content option in Storage Sense settings. |
| Downloaded files keep disappearing | Downloads folder cleanup active | Change the "Delete files in my Downloads folder" setting to Never or a longer timeframe. |