All files that you delete regularly on Windows are moved to the Recycle Bin first. Designed as a last resort to recover accidentally deleted files, files that sit in the Recycle Bin may sit there for a long period. While that is not a huge problem most of the time, if disk space is scarce, it may be frustrating to empty the Recycle Bin manually regularly.
You could set a custom Recycle Bin size to avoid it occupying too much space on a drive, or, use automation to clear the Windows Recycle Bin regularly.
This guide offers a general solution to the Recycle Bin problem, and a specific solution that is only available on Windows 10 devices.
The following method is compatible with all Windows versions and editions. It requires the creation of a batch file and running that batch file either using a policy or as a startup command.
The next step depends on the Windows edition. If you run professional or Enterprise editions, do the following:
Windows will execute the script (to delete Recycle Bin content) when Windows shuts down automatically from that moment on.
You can use the same process to delete the script again if you don't want to use it anymore.
If you run Windows 10 Home, you may execute the script on startup by placing it in the startup folder:
Windows will execute the script on startup automatically from that moment on. You can delete the script again if you don't want to use it anymore. (via Major Geeks)
Microsoft's Windows 10 operating system comes with a new feature called Storage Sense; you may configure it to delete Recycle Bin content, and other temporary files, regularly and automatically.
Windows will from that moment on delete files in the Recycle Bin if the time they have been in the recycle bin untouched exceeds the selected period.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.