When you pick a file or folder and press the Delete key in your keyboard, the file is gone to live in the Recycle Bin. The good thing about this method is that you can recover this file or folder in the Recycle Bin if you’ve deleted it accidentally or want it another time. Just like it is, if you are not careful, the trash can can quickly fill up and use lots of precious hard disk space. Sure, you can manually clean the trash can every so often. However, there’s a better way to do things. Stick to the below steps to configure Windows to automatically empty trash can after 30 days.
Steps to Empty Recycle Bin Automatically in Windows 10
Windows 10 makes it really simple to automatically empty trash can while using Storage Sense feature. In case you don’t know, Storage Sense lets you automatically deletes all of the temporary files to release some space. Follow the below steps to make use of Storage Sense to empty trash can.
1. Open the settings app by looking it up within the start menu.
2. Within the settings app, visit “System -> Storage” page. Around the right panel, toggle the switch under “Storage Sense” towards the “On” position.
3. Next, click the “Configure Storage Sense or run it now” link appearing right under the toggle switch.
4. Here, ensure that the “Delete temporary files that my apps aren’t using” checkbox is chosen. Next, select “30 days” in the dropdown menu under “Delete files in my trash can if they have had the experience for over”.
6. Close the settings app.
That’s it. From now on, Windows will automatically delete files within the trash can which are older than 30 days. For instance, if you’ve just deleted a file or folder, that won’t be cleaned by the Storage Sense for the next Thirty days. This provides the time to recover files when needed.
Steps to Automatically Empty Recycle Bin on Schedule in Windows 10, 7 & 8
1. Open the beginning menu, search for “Task Scheduler” and open it.
2. In the task scheduler window, click the “Create Task” button appearing on the right panel.
3. The above action will open the Create Task window. Here, type in the task name.
4. Visit the “Triggers” tab and click on the “New” button.
5. In the Trigger window, select “On a schedule” from the dropdown menu next to “Begin the task”. Next, select “Monthly”. After that, select “On”, “First”, and “Sunday” from the dropdown menus. Click the “Ok” button to save changes.
6. Visit the “Actions” tab and click on the “New” button.
7. Type cmd.exe in the Program/Script field. Next, copy the below command and paste it in the “Add arguments” field. Click theClick on the “Ok” button in the main window to save the alterations.
9. To make sure the task is running because it should, discover the task within the Task Scheduler, right-click on it and select “Run”. If everything is working fine, you need to see a brief command prompt window and also the recycle bin will be emptied automatically.
From now on, the task scheduler will empty the trash can every month on the first Sunday. If you want to run it on some other day or week, alter the settings in step five.
That is it.