To run Storage Sense or Disk Cleanup on Windows, open Settings > System > Storage to toggle Storage Sense on, or type "Disk Cleanup" into the taskbar search box to run the legacy utility. These tools reclaim hard drive space by removing temporary files, emptying the recycle bin, and deleting system cache that is no longer required for the OS to function. Using these tools prevents system slowdowns caused by a nearly full drive and ensures that Windows updates have enough room to download and install correctly.
While Storage Sense is the modern, automated approach integrated into the Windows Settings app, Disk Cleanup is the classic manual tool that offers more granular control over specific system files. Depending on your version of Windows, labels and menu paths may differ slightly by version, device, or region. Both tools are safe for general users, but it is important to understand what is being deleted to avoid losing files you intended to keep in your Downloads folder or Recycle Bin.
What You'll Need
- A computer running Windows 10 or Windows 11.
- Administrative privileges (required to clean up system files like old Windows Update installations).
- A few minutes of downtime, as the system may slow down slightly while scanning the drive.
Step-by-Step
Using Storage Sense (Automatic Cleanup)
- Click the Start button and select the Settings gear icon.
- Navigate to System and then select Storage from the left-hand or main menu.
- Locate the Storage Sense toggle. Switch the toggle to On. This allows Windows to automatically free up space by getting rid of files you don't need, such as temporary files and items in your recycle bin.
- Click on Configure Storage Sense or run it now (or Storage Sense in Windows 11) to customize the behavior.
- Under Run Storage Sense, choose a schedule from the dropdown menu. Options typically include "During low free disk space," "Every day," "Every week," or "Every month."
- Set the rules for the Recycle Bin and Downloads folder. For example, you can tell Windows to permanently delete files in the Recycle Bin if they have been there for over 30 days. Be cautious with the Downloads folder setting, as this will delete everything in that folder based on the timeframe you select.
- To clear space immediately without waiting for the schedule, scroll to the bottom of the page and click Run Storage Sense now.
Using Disk Cleanup (Manual Cleanup)
- Press the Windows key on your keyboard or click the search bar in the taskbar.
- Type Disk Cleanup and select the app from the search results.
- If prompted, select the drive you wish to clean (usually the C: drive) and click OK.
- The tool will calculate how much space can be reclaimed. A list of categories will appear under Files to delete.
- Check the boxes for the types of files you want to remove. Common safe options include Temporary Internet Files, DirectX Shader Cache, and Delivery Optimization Files.
- To remove deeper system files, click the Clean up system files button. This will restart the tool with administrative privileges and scan for larger items like old Windows installation files (Windows.old) and previous update logs.
- Review the expanded list and check the boxes for items you no longer need, such as Windows Update Cleanup.
- Click OK and then click Delete Files to confirm the action.
Common Mistakes
One of the most frequent mistakes users make is enabling the automatic cleanup of the Downloads folder in Storage Sense without realizing that many people use this folder as a permanent storage area for PDFs, installers, and saved documents. If you set this to 30 days, any file you downloaded a month ago that hasn't been moved to a dedicated folder will be permanently deleted.
Another common error is ignoring the Clean up system files button in the legacy Disk Cleanup tool. Many users run the basic scan and see that only a few hundred megabytes can be saved, whereas clicking the system files button often reveals several gigabytes of old update data that can be safely removed. However, be aware that deleting "Windows Update Cleanup" files means you cannot uninstall a recent Windows update if it caused stability issues on your machine.
Some users mistake these tools for full-scale disk defragmenters or deep-cleaning software. While Storage Sense and Disk Cleanup remove unnecessary files, they do not optimize the physical layout of data on a hard drive (though Windows does this automatically in the background) nor do they remove bloatware applications. To remove apps, you must use the "Apps & Features" or "Installed Apps" section of the Settings menu.
Tips
For the most efficient results, combine both methods. Use Storage Sense for the "maintenance" of your PC to prevent the drive from filling up over time, and use Disk Cleanup manually after a major Windows version update to purge the massive temporary installation files that are no longer needed.
If you are struggling with space even after running these tools, go back to Settings > System > Storage and look at the category breakdown. Windows will show you exactly how much space is being used by "Apps & Features," "Other," and "Temporary files." Clicking into these categories allows you to find large folders or apps that you forgot were installed, which is often more effective than deleting small cache files.
Always empty your Recycle Bin manually before running a deep system clean if you want to see the most accurate representation of available space. While the tools can do this for you, doing it first ensures that the "Files to delete" calculation is based on current data.
Troubleshooting
If Storage Sense is toggled on but does not seem to be deleting files, first check your schedule settings. If it is set to "During low free disk space," it will not trigger until your drive is nearly full. Try changing the schedule to "Every week" to see if it activates. If it still fails, restart your computer to ensure no system processes are locking the temporary files that Storage Sense is trying to delete.
If Disk Cleanup hangs or freezes during the "Calculating" phase, it is often because the system is struggling to index a very large number of small files or is encountering a corrupted sector on the drive. Try restarting the computer in Safe Mode and running the tool again. If the freeze persists, run a system file check by opening the Command Prompt as an administrator and typing sfc /scannow to repair corrupted OS files that might be interfering with the utility.
In cases where the "Clean up system files" button does not appear or gives an error, ensure you are logged in as an Administrator. Standard user accounts do not have the permissions required to modify the Windows system folders where update logs and installation backups are stored.
Frequently Asked Questions
Will running Disk Cleanup delete my personal photos or documents?
No, Disk Cleanup and Storage Sense are designed to target system-generated temporary files, cache, and logs. They do not touch your Documents, Pictures, or Music folders. The only exception is the Downloads folder and Recycle Bin, which you must explicitly choose to include in the cleanup process.
Is it safe to delete "Windows Update Cleanup"?
Yes, it is safe, but with one caveat: once you delete these files, you cannot roll back your computer to a previous version of Windows or uninstall the most recent quality updates. If your system is running stably, deleting these files is a great way to reclaim several gigabytes of space.
How often should I run these tools?
If you have Storage Sense enabled on a weekly or monthly schedule, you do not need to do anything manually. For those who prefer manual control, running Disk Cleanup once a month is generally sufficient to keep the system lean and prevent the accumulation of unnecessary cache.
Why is there still a lot of space used by "System & Reserved"?
The "System & Reserved" category includes the virtual memory page file, the hibernation file (hiberfil.sys), and the actual Windows OS files. These are essential for the computer to boot and run applications. You cannot remove these using Disk Cleanup or Storage Sense as they are required for the system to function.
Does Disk Cleanup speed up my internet connection?
Not directly. While it deletes "Temporary Internet Files" (the cache your browser uses to load pages faster), it does not increase your bandwidth or connection speed. It only frees up physical space on your hard drive.
What is the difference between a temporary file and a system file?
Temporary files are created by apps to hold data while a task is being performed (like a setup installer extracting files). System files are part of the Windows operating system itself. Disk Cleanup handles both, but requires administrative permission to touch the system-level files.