Configure Storage Sense on Windows 11 — Automatic Cleanup Without Losing Files
Storage Sense frees disk space automatically — but two of its settings can delete files you wanted to keep. Set it up the safe way and it’s a genuinely useful “set and forget.”
Turn it on
Settings → System → Storage → Storage Sense → toggle On.
A couple of facts worth knowing up front: it works on your system drive (C:) only, and it won’t run unless you’re signed in and online for more than 10 minutes. Windows may also switch it on by itself if you run very low on space — but only to clear temporary files, and it tells you when it does.
Every setting, and what it actually does
- Cleanup of temporary system and app files — safe. Deletes temp files that aren’t in use. Leave it on.
- Run Storage Sense — During low free disk space (default), or Every Day / Week / Month. The default means it may legitimately never run while your disk has plenty of room.
- Delete files in my Recycle Bin if they have been there over — default 30 days. ⚠️ Turning Storage Sense on quietly activates this: anything sitting in the Recycle Bin longer than 30 days is purged on the next run. Set it to Never if you treat the bin as a safety net.
- Delete files in my Downloads folder if they haven’t been opened for more than — default Never. ⚠️ This is the dangerous one. If you change it, files are deleted by last-opened date (not download date), and they do not go to the Recycle Bin — treat the deletion as permanent. Leave it Never unless you genuinely want auto-pruning, and back up anything important first.
- Locally available cloud content (shown only when OneDrive is signed in) — turns files online-only after they go unopened for X days (default 30 on 22H2+). This is not deletion: files stay in OneDrive, still appear in Explorer, and re-download when opened. Files marked “Always keep on this device” are never touched.
There’s also a Run Storage Sense now button to do an immediate pass with your current settings.
A safe configuration
- Storage Sense: On
- Cleanup of temporary files: On
- Run Storage Sense: During low free disk space (or Weekly if you prefer it predictable)
- Recycle Bin: 30 days — or Never if you rely on it to recover files
- Downloads: Never ← leave this alone
- Cloud content: Never, or 30–60 days if C: is small and you use OneDrive heavily
Storage Sense vs. Disk Cleanup
Microsoft called the old Disk Cleanup tool (cleanmgr) “deprecated” back in 2018 in favor of Storage Sense — but it still ships, is still documented, and isn’t on the current deprecation list. The difference: Disk Cleanup is one-time and per-drive and can clear system categories Storage Sense can’t (old Windows installations, driver packages); Storage Sense is automatic and C: only. For the heavier manual clean, see Automate Disk Cleanup with cleanmgr.
FAQ
Will Storage Sense delete files from my Downloads folder? Not unless you change that dropdown from its default, Never. If you do, it deletes by last-opened date and the files don’t go to the Recycle Bin, so recovery is unlikely.
Why did files disappear from my Recycle Bin? Turning Storage Sense on enables a 30-day Recycle Bin purge by default. Set it to Never to stop that.
Does it delete my OneDrive files? No — it makes unopened files online-only placeholders that re-download on demand. “Always keep on this device” files are exempt.
Storage Sense never seems to run — why? It only runs on the system drive, needs you signed in and online for 10+ minutes, and its default “during low free disk space” cadence means it may not run while you still have free space.
Sources: Microsoft — Manage drive space with Storage Sense, Microsoft — Use Storage Sense to manage disk space (OneDrive), Microsoft — Storage policy CSP (Group Policy / Intune)