Enable Storage Sense to Auto‑Clean Disk Space on Windows
In this article
Yes – you can turn on Storage Sense in Windows to automatically delete temporary files, old downloads, and recycle‑bin items, keeping your drive tidy without manual effort.
What You’ll Need
- A PC running Windows 10 version 1809 or later, or Windows 11.
- An administrator account (required to change system settings).
Step‑By‑Step
- Open Settings. Press Windows + I or click the Start button and select the gear icon.
- Navigate to System > Storage. In Windows 11 the path is Settings > System > Storage; in Windows 10 it is Settings > System > Storage as well, though the layout may differ slightly.
- Locate the Storage Sense toggle and switch it On. If you do not see the toggle, click the link Configure Storage Sense or run it now to open the detailed page.
- On the Storage Sense page, configure the following options:
- Run Storage Sense: Choose Every day, week, month, or when low storage space is detected. The default is “When I’m using a device with low free space”.
- Temporary files: Check the boxes for Delete temporary files that apps aren’t using and Delete files in my Downloads folder that haven’t been opened for X days. Set the number of days (e.g., 30) according to your preference.
- Recycle Bin: Select how long items should remain before automatic deletion (e.g., 30 days). This only affects files that are already in the Recycle Bin.
- OneDrive (Windows 10/11): If you use OneDrive, you can enable the option to Delete files from the local OneDrive folder that are only online‑only. This frees space while keeping the cloud copy.
- Click Apply or simply close the Settings window – changes are saved automatically.
- To run Storage Sense immediately, return to the Storage page and click the Run Storage Sense now button. Observe the progress in the Storage overview; Windows will report how much space was reclaimed.
- Optional – Review the Storage usage graph on the main Storage page. It breaks down space by categories (Apps & games, System & reserved, Temporary files, etc.). This helps you fine‑tune the settings if you notice a particular category still consuming too much space.
Common Mistakes
- Setting the cleanup interval too long. Choosing “Monthly” may let unnecessary files accumulate, defeating the purpose of automation.
- Leaving the Downloads folder unchecked. Many large installers sit there for months; if you don’t enable the “Delete files in Downloads older than X days” option, they will never be removed automatically.
- Confusing Storage Sense with Disk Cleanup. Storage Sense runs in the background, while Disk Cleanup is a manual tool. Disabling one does not affect the other.
- Running Storage Sense on a drive that isn’t the system drive. By default, Storage Sense only manages the drive where Windows is installed. If you have a secondary data drive, you must clean it manually or use third‑party tools.
- Using a non‑administrator account. Without admin rights, the toggle is greyed out and settings cannot be saved.
Tips
- Combine Storage Sense with “Free up space now” (found under Settings > System > Storage). This launches a quick scan and gives you a one‑click way to delete additional files such as old Windows Update caches.
- If you frequently work with large media files, set the Downloads cleanup threshold to a higher number (e.g., 90 days) to avoid accidental loss of needed installers.
- Enable the “Delete temporary files that my apps aren’t using” option, but keep the “Delete files in my Recycle Bin” period short (7‑14 days) if you like a safety net for accidental deletions.
- Check the Storage Sense log in Event Viewer (Windows Logs > Application) under the source “StorageSense”. It records each run and how much space was reclaimed, useful for troubleshooting.
- On laptops, pair Storage Sense with the built‑in “Battery saver” mode; both help extend runtime by reducing background disk activity.
Troubleshooting
If Storage Sense does not appear to free space, follow these steps in order:
- Restart the PC. A simple reboot often re‑initialises the scheduled task that runs Storage Sense.
- Verify Windows version. Open
Settings > System > Aboutand confirm you are on Windows 10 version 1809+ or Windows 11. Older builds lack the feature. - Check the scheduled task. Open
Task Scheduler, navigate toMicrosoft > Windows > StorageSense, and ensure the task is enabled. If it is disabled, right‑click and select Enable. - Ensure sufficient free space threshold. Storage Sense only runs automatically when free space falls below the system‑defined low‑disk‑space limit (usually 10 % of the drive). Manually trigger a run with the “Run Storage Sense now” button to test.
- Review group policy settings. In corporate environments, an administrator may have disabled Storage Sense via
gpedit.mscunder Computer Configuration > Administrative Templates > System > Storage Sense. If you see “Storage Sense is disabled by your organization”, you must contact your IT admin. - Clear the Storage Sense cache. Delete the file
%LocalAppData%\Microsoft\Windows\StorageSense\Cache(you may need to show hidden items). Then run Storage Sense again. - Run Disk Cleanup as a fallback. If Storage Sense still fails, open the built‑in Disk Cleanup tool (type “Disk Cleanup” in the Start menu) and select “Clean up system files”. This removes Windows Update leftovers that Storage Sense may miss.
If none of the above resolves the issue, consider resetting the Storage Sense configuration: turn the toggle off, restart, then turn it back on and re‑configure your preferences.
Frequently Asked Questions
Does Storage Sense delete personal documents or photos?
No. It only targets temporary files, items in the Recycle Bin, and optionally old files in the Downloads folder. Personal documents, pictures, and music are untouched unless you manually select them.
Can Storage Sense clean a secondary drive?
By default Storage Sense works on the system drive (C:). You can enable it for other drives by clicking the drive name under Settings > System > Storage and toggling “Temporary files” cleanup for that specific drive.
What happens to files in the Recycle Bin after the set period?
Storage Sense permanently deletes them, bypassing the Recycle Bin. They cannot be recovered through normal Windows means, so set a period you are comfortable with.
Will enabling Storage Sense affect Windows Update performance?
Storage Sense may delete the Windows Update cache after updates are installed, which can free space but may cause Windows to re‑download some files if you need to roll back an update. Generally this has no negative impact on future updates.
Is there a way to see exactly which files were removed?
Storage Sense does not provide a detailed list. However, you can view the Event Viewer log (Windows Logs > Application, source “StorageSense”) for a summary of space reclaimed during each run.
Can I schedule Storage Sense to run at a specific time?
Storage Sense runs based on the interval you choose (daily, weekly, monthly) or when low‑disk‑space is detected. For a precise schedule, you would need to create a custom scheduled task that calls the same cleanup command, but that is beyond the built‑in UI.