How to Automatically Delete Old Files in the Windows Downloads Folder
If you’re looking for a more passive approach, there’s at least one Windows 10 setting you should turn on to get rid of temporary files and to declutter your downloads folder.
One important point to note: not all files in the downloads folder will be deleted after 30 days, just those that haven’t changed in the past 30 days. This means if you download a file and open it daily without making any changes to it, it will still be deleted after the 30 day mark. If you turn this setting on, you should move anything out of the downloads folder that you intend to keep.