Skip to main content

Windows · Storage & Backup

Automate Disk Cleanup with Storage Sense

Storage Sense automatically frees up disk space by deleting temporary files, emptying the Recycle Bin after a set number of days, and clearing out old files from your Downloads folder on a schedule you configure. Once set up, it runs quietly in the background so you don't have to remember to manually clean up disk clutter yourself.

How often: Runs automatically on its configured schedule; review retention settings every few months

How to open Storage Sense

  1. Open Settings → System → Storage → Storage Sense.
  2. Turn on Storage Sense and choose how often it runs automatically.
  3. Set retention periods for temporary files, Recycle Bin, and Downloads.
  4. Configure cloud content cleanup if you sync a large OneDrive library.

What you should know

  • Turn Storage Sense on to enable automatic background cleanup, or run it immediately with 'Run Storage Sense now'.
  • Set how often it runs automatically: during low disk space, or on a daily, weekly, or monthly schedule.
  • Configure separate retention periods for temporary files, Recycle Bin contents, and the Downloads folder.
  • Enable cloud content cleanup to make locally-synced OneDrive files that haven't been opened recently 'online-only' again to save local space.

By default, Storage Sense's Downloads folder cleanup can delete files that have simply been sitting there for a set number of days, regardless of whether you still need them, so review that specific setting carefully before enabling it.

Why it matters

Storage Sense automates exactly the kind of routine disk cleanup most people mean to do manually but rarely actually get around to, which is why drives quietly fill up with temp files and forgotten downloads over months of everyday use. Because it can also convert rarely-used OneDrive files back to cloud-only placeholders, it helps keep a smaller local drive from filling up even when you're syncing a much larger cloud library. Setting it up once and trusting it to run on schedule is a meaningfully better strategy than remembering to run Disk Cleanup manually every so often.

Best practices

  • Set Downloads folder cleanup to a longer interval, like 60 days, or disable it entirely if you tend to leave important files sitting there.
  • Enable automatic cloud content cleanup if you sync a large OneDrive library to a smaller local drive, so local space doesn't fill up with rarely-used files.
  • Run Storage Sense manually right after a big Windows feature update to quickly reclaim space from leftover update files.
  • Review what Storage Sense actually cleared the first few times it runs automatically, so you understand its behavior before trusting it fully unattended.
  • Pair Storage Sense's ongoing automatic cleanup with an occasional manual check of 'Cleanup recommendations' for larger one-off files it doesn't target.

Common problems and fixes

An important file recently placed in Downloads was unexpectedly deleted.
Check the configured retention period under Storage Sense's Downloads folder setting and lengthen it or turn that specific rule off, since it deletes based on file age regardless of importance.
Storage Sense doesn't seem to free up as much space as expected.
Confirm it's actually scheduled to run automatically rather than only manually, and check that cloud content cleanup is enabled if a large synced OneDrive library is part of the problem.
OneDrive files keep becoming 'online-only' sooner than you'd like.
Increase or disable the 'free up space by making files online-only if not opened for over X days' setting under Storage Sense's cloud content section.

Tips and tricks

  • Click 'Run Storage Sense now' immediately after a major feature update to reclaim space from leftover installation files right away instead of waiting for the next scheduled run.
  • Set a longer Recycle Bin retention period if you routinely realize you need a deleted file back a few weeks later.

Frequently asked questions

Can I recover a file Storage Sense deleted from the Recycle Bin?

Only if it hasn't yet passed your configured retention period and you catch it before Storage Sense's next scheduled run — once permanently removed from the Recycle Bin, it typically requires third-party data recovery software.

Does Storage Sense delete files from OneDrive itself, or just the local copy?

It only changes rarely-used synced files to online-only locally, freeing local disk space while keeping the actual files safely stored in the cloud.

Is Storage Sense the same tool as the older Disk Cleanup utility?

They overlap in purpose, but Storage Sense runs automatically on a schedule and integrates with OneDrive, while Disk Cleanup is a manual, one-time tool without OneDrive-aware cloud content management.

More Storage & Backup guides for Windows

See every Windows guide