Home » How To » How to Empty Recycle Bin Automatically in Windows 10 / 8 / 7

How to Empty Recycle Bin Automatically in Windows 10 / 8 / 7

If you are not careful, the Recycle Bin can quickly grow in size. Follow these steps to configure Windows to empty the Recycle Bin automatically.

Deleting a file or folder in Windows is pretty straightforward. i.e., when you select a file or folder and press the Delete key on your keyboard, the file is moved to the Recycle Bin. The good thing about this approach is that you can recover the deleted file or folder from the Recycle Bin if you’ve deleted it accidentally or want it some other time.

As good as it is, if you are not careful, the recycle bin can quickly fill up and use precious hard drive space. In that case, you can manually clean the recycle bin from time to time to get back the used space. However, there is a better way to do things. i.e., you can configure Windows to delete files in the recycle bin automatically. That way, you can eliminate one more boring task and ensure that your recycle bin is not consuming all the disk space.

Follow the below steps to configure Windows to automatically empty recycle bin after 30 days.

Table of contents:

Empty recycle bin automatically in Windows 11

You can configure Windows 11 using the Storage Sense feature to empty recycle bin at a set interval. It is pretty easy to do. Let me show you how.

  1. Open the Settings app (Start + I).
  2. Choose “System” on the sidebar.
  3. Click on the “Storage” option.
  4. Click on the “Storage Sense” option.
  5. Turn on the “Automatic user content cleanup” option.
  6. Choose “Every month” from the “Run Storage Sense” dropdown menu.
  7. Choose “30 days (default)” from the “Delete files in my recycle bin” dropdown menu.
  8. Set “Never” under the “Delete files in my Downloads folder” dropdown menu.
  9. (Optional) Click the “Run Storage Sense Now” button at the bottom.
  10. Close the Settings app.
  11. With that, the recycle bin will automatically empty once every month.

That is it. From now on, Windows will automatically delete files inside the recycle bin that are older than 30 days. For example, if you’ve just deleted a file or folder, that will not be cleaned by Storage Sense for the next 30 days. This gives you a chance to recover files when needed.

Empty recycle bin automatically in Windows 10

Windows 10 makes it relatively easy to empty the recycle bin using the Storage Sense feature. If you don’t know, Storage Sense lets you automatically delete all the temporary files to free up some space. Follow the below steps to use Storage Sense to empty recycle bin.

1. Open the settings app by searching for it in the start menu.

2. In the settings app, go to the “System -> Storage” page. Toggle the switch under “Storage Sense” to the “On” position on the right panel.

Empty windows recycle bin automatically 01

3. Next, click on the “Configure Storage Sense or run it now” link appearing right under the toggle switch.

Empty windows recycle bin automatically 02

4. Here, ensure that the “Delete temporary files that my apps aren’t using” checkbox is selected. Next, select “30 days” from the dropdown menu under “Delete files in my recycle bin if they have been there for over.”

Empty windows recycle bin automatically 03

6. Close the settings app.

That is it. From now on, Windows will automatically delete files inside the recycle bin that are older than 30 days. For example, if you’ve just deleted a file or folder, that will not be cleaned by Storage Sense for the next 30 days. This gives you a chance to recover files when needed.

Create a scheduled task to automatically empty Recycle Bin

If you are on Windows 7 or 8, you can use the task scheduler to empty recycle bin on schedule. Of course, Windows 10 and 11 users can follow the steps too.

1. Open the start menu, search for “Task Scheduler,” and open it.

Empty windows recycle bin automatically 04

2. Click on the “Create Task” button on the right panel in the task scheduler window.

Empty windows recycle bin automatically 05

3. The above action will open the Create Task window. Here, type in the task name.

Empty windows recycle bin automatically 06

4. Go to the “Triggers” tab and click on the “New” button.

Empty windows recycle bin automatically 07

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 on the “Ok” button to save changes.

Empty windows recycle bin automatically 08

6. Go to the “Actions” tab and click on the “New” button.

Empty windows recycle bin automatically 09

7. Type cmd.exe in the Program/Script field. Next, copy the below command and paste it into the “Add arguments” field. Click on the “Ok” button.

/c "echo Y|PowerShell.exe -NoProfile -Command Clear-RecycleBin"
Empty windows recycle bin automatically 10

8. Click on the “Ok” button in the main window to save the changes.

Empty windows recycle bin automatically 11

9. To ensure the task is running as it should, find the task in the Task Scheduler, right-click on it and select “Run.” If everything is working fine, you should see a brief command prompt window, and the recycle bin will be emptied automatically.

Empty windows recycle bin automatically 12

From now on, the task scheduler will empty the recycle bin every month on the first Sunday. If you want to run it on some other day or week, change the settings in step 5.

That is it. It is that simple to empty recycle bin automatically in Windows.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need some help, comment below, and I will try to help as much as possible.

If you like this article, check how to move the downloads folder and delete temporary files in Windows 10 to free up space.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top