Windows 10 comes with Storage Sense, a feature designed to automate drive maintenance. It includes an option to empty the Recycle Bin automatically while keeping the most recent files if you need them back.