If you use Disk Cleanup, you will want to be aware of a change to its options since the October 2018 feature update (v1809). Disk Cleanup, now also has the option to delete the contents of your Downloads folder.
However, many users like to use the Downloads folder as permanent storage area to preserve their downloaded files. This post tells you how to prevent Disk Cleanup and the modern Storage Sense tools from clearing files in your Downloads folder.
Prevent Disk Cleanup from Emptying your Downloads folder
When you start Disk Cleanup normally, the Downloads option (aka, disk cleanup handler) is unchecked by default. However, if the disk space is dangerously low, Task Scheduler run Disk Cleanup with the
/VERYLOWDISK parameter silently. When these parameters are used the
Downloads folder is also selected.
Related article: Start Disk Cleanup With All Checkbox Options Enabled by Default
To prevent the
Downloads folder from being emptied by Disk Cleanup, you’ll need to remove the Disk Cleanup
Downloads handler from the registry. Follow these steps:
- Start the Registry Editor (
- Go to the following branch:
- Right-click on the
DownloadsFolderkey, click Export. Save the branch to a REG file.
- Right-click on the
DownloadsFolderkey, and choose Delete.
- Quit the Registry Editor.
Disk Cleanup’s “Downloads” option should now be gone.
Prevent Disk Cleanup and Storage Sense from Emptying your Downloads folder
Storage Sense (Storage settings) is the modern app which replaces the Disk Cleanup classic desktop tool. Storage Sense frees up space by deleting things like Recycle Bin contents, temporary files, and “Previous versions of Windows” files.
Since Windows 10 v1809, Storage Sense also has options to clear the Downloads folder. However, the user can choose whether or not the Downloads folder can be cleared by Storage Sense.
Follow these steps to exclude the Downloads folder from automatic cleanup by Storage Sense:
- Click Start, Settings.
- Click System, and select Storage
- Click Change how we free up space automatically
- Set “Delete files in my Downloads if they have been there for over” option to Never
- Close the Settings window.
That’s it! Windows 10 Disk Cleanup and Storage Settings should no longer empty your Downloads folder henceforth.
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
- Automatically Clear Temp Files Using Disk Cleanup, Storage Sense or Batch file
- Delete Files Older than X Days in Windows Using 3 Methods
- Drives Missing in Storage Settings and App Save Locations Dropdown in Windows 10
- Using Storage Settings to Find Files Consuming More Disk Space in Windows 10
- [Fix] Disk Space Usage Bar Missing in This PC (My Computer)
- Delete Windows.old Using Disk Cleanup or Storage Settings