Storage Sense in Windows automates disk cleanup by removing temporary files, recycle bin contents, and other non-essential data to free up space. It works best when enabled and configured to run on a schedule, though you can trigger a manual cleanup anytime. No extra tools or downloads are required—it’s built into Windows 10 version 1803 and later, and Windows 11.
What You'll Need
- A Windows 10 (version 1803 or newer) or Windows 11 PC
- Administrator access to the device
- At least 1 GB of free disk space recommended on the system drive (C:) for Storage Sense to run smoothly
Step-by-Step
- Open Settings: Press
Windows + Ito launch Settings, or click the Start button and select the gear icon. - Navigate to Storage: In the Settings window, go to System > Storage. On some versions, you may see Storage directly under System, or it may appear as a sub-item. If you’re using an older Windows 10 build, go to Settings > System > Storage > Storage Sense (the link appears under the Storage page).
- Turn on Storage Sense: Toggle the Storage Sense switch to On. A message confirms it’s active. If you don’t see the toggle, scroll down and ensure Storage Sense is not dimmed—this means it’s disabled by group policy or not supported on your edition.
- Configure automatic cleanup: Click the Configure Storage Sense or run it now link. This opens the Storage Sense settings page in a new tab or window. Under Run Storage Sense, choose when it should run automatically: Every month, Every week, or Every day. For most users, Every week offers a good balance between keeping the drive clean and avoiding frequent disruptions.
- Select what to delete: Scroll down to the Temp files section. Here, you’ll see toggles for different file types:
- Recycle Bin: Deletes files that have been in the Recycle Bin for over 30 days (default).
- Temporary files: Removes files in %TEMP%, Windows Update cleanup, and other system temp locations.
- Download folder: Deletes items older than 30 days in your Downloads folder—enable only if you consistently back up important downloads.
- Microsoft Store apps: Removes apps you haven’t used recently (default is 60 days).
- Cached app data: Clears app cache data that can accumulate over time.
- Adjust retention periods: Next to each file type, click the dropdown to change how long items are kept before deletion. For example, set Recycle Bin items to delete after 14 days if you want faster cleanup. Retention periods range from 1 day to 60 days for most items.
- Run a manual cleanup: Back on the main Storage page, scroll down and click Temporary files. This opens the same file list as the Storage Sense configuration, but without the schedule options. Select the items you want to delete (you can deselect items you want to keep), then click Remove files at the top. Confirm when prompted. This is useful for immediate space recovery before a large download or update.
Common Mistakes
- Assuming Storage Sense cleans everything: It only removes files in its allowed categories. It does not delete personal documents, installed apps, or system images unless you manually trigger a deeper cleanup via the Temporary files screen.
- Ignoring retention settings: Leaving the Download folder retention at 30 days without reviewing may cause you to lose unsaved work if you forget to move files out of Downloads.
- Running Storage Sense while large downloads are in progress: If a download finishes and gets saved to Downloads just before Storage Sense runs, it may be deleted if older than your retention period. Schedule it during off-hours or disable it temporarily during big downloads.
- Using it on a drive with low free space: If C: has less than 500 MB free, Storage Sense may fail to launch or run incompletely. Free up space manually first using Disk Cleanup or by deleting large, unnecessary files.
Tips
- Check your drive usage first: Go to Settings > System > Storage and wait for Windows to analyze. You’ll see a breakdown of what’s using space—videos, apps, system files, etc. Use this to decide which Storage Sense options to prioritize.
- Combine with Disk Cleanup: Storage Sense doesn’t replace Disk Cleanup. For deeper cleanup, open Disk Cleanup (search for it in Start), select your drive, and check Previous Windows installations and Temporary Windows installation files if available—these can free many gigabytes.
- Use OneDrive Files On-Demand: If you use OneDrive, enable Files On-Demand in OneDrive settings > Auto-download. This lets Storage Sense delete locally cached cloud files, reducing local storage use without losing access.
- Monitor after enabling: After turning on Storage Sense, go back to the Storage page after a week and check Used space to confirm reduction. If nothing changed, revisit the settings to verify the schedule and file selections.
- Whitelist important folders: If you frequently save to a custom folder (e.g.,
D:\Backups), add it to Windows Search exclusions or move files to OneDrive, as Storage Sense won’t touch folders outside standard locations like Downloads or %TEMP%.
Troubleshooting
- Storage Sense toggle is grayed out: This often happens on Windows 10 Home or Pro if the device is managed by an organization via Group Policy. To fix, press
Windows + R, typegpedit.msc(only on Pro/Enterprise), then navigate to Computer Configuration > Administrative Templates > Windows Components > Storage Sense. Double-click Turn on Storage Sense, set it to Enabled, and reboot. On Home editions, the setting may be locked by Microsoft—try resetting Storage Sense via PowerShell (see below). - Storage Sense doesn’t run on schedule: First, ensure your PC is on and connected to power (it won’t run on battery by default). Then, check Task Scheduler: open it, go to Task Scheduler Library > Microsoft > Windows > Storage, and verify StorageHistoryManager and StorageSense tasks are enabled and have a trigger matching your schedule.
- Files aren’t being deleted: Storage Sense skips files in use. Close all apps, restart the PC, and let it run idle for 10 minutes before checking again. Also, confirm no file type has 0 days retention—some users accidentally set it to Never.
- Storage Sense causes errors or crashes: Run
chkdsk /fin Command Prompt (run as admin) to fix disk errors, then restart. If issues persist, reset Storage Sense via PowerShell: open PowerShell as admin and runGet-AppxPackage -Name *Windows.Storage.* | Reset-AppxPackage. Restart after. - Manual cleanup fails: If the Remove files button doesn’t respond, wait for background processes (like Windows Update) to finish. Then try running Disk Cleanup instead. If both fail, boot into Safe Mode and try again—some system files can’t be deleted in normal mode.