Automate Disk Cleanup With Storage Sense on Windows 11
Storage Sense is Windows 11's built-in janitor: on a schedule you choose, it deletes temporary files, clears the Recycle Bin after a set number of days, and optionally purges files that have sat untouched in Downloads. Once configured correctly it replaces manual Disk Cleanup runs entirely, keeping small system drives from filling up without any ongoing attention.
What you need
- Windows 11, any edition
- An administrator account to enable it
- Five minutes of configuration
Step by step
- Open Settings > System > Storage. If Storage Sense is off, flip the toggle at the top of the page to On.
- Click Storage Sense (or Advanced storage settings > Storage Sense) to open its full options instead of relying on defaults.
- Set "Run Storage Sense" to your cadence. During low free space is reactive and fine for roomy drives; Weekly suits most people; Daily only makes sense for heavily constrained SSDs.
- Configure temporary files first: ensure Delete temporary files that my apps are not using stays checked. This covers app caches and old update leftovers and is almost always safe.
- Decide on Recycle Bin policy. The default deletes items that have been there over 30 days. Pick 14 or 7 days if you churn through large downloads, but remember anything past the threshold is unrecoverable.
- Treat the Downloads option carefully. Leaving "Delete files in my Downloads folder if they have not been opened for more than" enabled surprises people who store installers and documents there long-term. Most users should leave this off.
- While you are in Storage settings, run a one-time manual sweep: click Cleanup recommendations, review Temporary files and Large or unused files, and remove what you confirm is junk. This reclaims space immediately rather than waiting for the schedule.
- Verify it works by temporarily setting the schedule to Daily, rebooting once, then checking Settings > System > Storage > Cleanup details for a record of freed space.
Storage Sense handles routine junk but not everything. WinSxS component store bloat and old Windows.old folders sometimes need elevated cleanup via Settings > System > Storage > Temporary files with "Previous Windows installations" ticked, or the DISM /Online /Cleanup-Image command line for deeper servicing-store work.
Common mistakes
- Enabling Downloads deletion and losing an installer or document stored there months earlier
- Expecting Storage Sense to touch browser caches outside its scope or third-party app leftovers
- Setting daily runs on a drive that is failing; constant writes mask the real problem
- Confusing Storage Sense with OneDrive Files On-Demand settings on the same screen
Related guides
Cleanup pairs naturally with [[windows-11-debloat-startup-apps]] since fewer auto-running apps means fewer cache-writing processes. Before deep-cleaning a drive you plan to reuse, make sure [[create-windows-11-recovery-drive]] exists, and know [[reset-windows-11-without-losing-files]] as the bigger hammer when clutter becomes corruption.