Automatic emptying of the Recycle Bin

Automatic emptying of the Recycle Bin
Spread the love

Automatic emptying of the Recycle Bin

In this article, we will teach you how to empty the Recycle Bin automatically

Delete a file or folder, it will not be deleted from your computer, the file will be transferred to the Recycle Bin.

This is the first place to look if you accidentally delete a file.

It still uses valuable hard disk space.

You may know how to empty the recycle bin manually, you may forget the automatic steps.

To optimize your hard drive space, we will introduce you to the steps of automatically emptying the trash using the Task Scheduler.

At the same time, we give you enough time to recover deleted files.

In the start menu, type Task Scheduler and run it in the search field.

Task Scheduler

Task Scheduler Library

Right-click on Task Scheduler Library and click New Folder.

Task Scheduler Library

You want to do this to keep your tasks organized and separate from system tasks.

Select a name for the folder, right-click on it and click create task.


On the general tab, select a name for what you want to do (Empty Windows Recycle Bin)


create task


On the Triggers tab, click new to get started.


Automatic emptying of the Recycle Bin

After selecting new in the box that appears, you can schedule the Recycle Bin schedule.

You can choose hourly, daily or weekly and monthly.

Schedule the selected time interval and time.

You can even choose between 12 months. The months you want to do this.

Then you can also select the month, select the day seven days a week.





In the actions tab, click on new

After the box appears in the settings, do the following:

In the Programs / script field, type cmd.exe.

In the Add arguments field, type the following text:

c “echo Y | PowerShell.exe -NoProfile -Command Clear-RecycleBin” Then click OK to complete the task /

Then click ok.

After completing the steps, the job is done automatically in the condition of the trigger you configured.


 See this page for Fix this error has been blocked for your protection in Windows 10

Scheduling Recycle Bin in Windows 10

Here are two ways to get access to your Recycle Bin scheduler in Windows 10.

If you are running Windows 10 1809 or higher

In the start menu, enter the settings section.

Then enter the system section in this section

And select the storage option.

Scroll to the bottom and select Change how we free up space automatically.

You can choose from “every day” to “every month” in Storage Sense.

Or only when disk space is low. A good rule of thumb is to set it monthly.

If you have a low storage capacity, you may want to run it further.

If you want to delete files, select Delete temporary files that my apps aren’t using in the Temporary File section.

In the next menu, you can select the number of days you want this action not to be disabled.



In Windows 10 version 1903

There is a slight change in the 1903 version.

According to what was said:

In the start menu, enter the settings section.

Then enter the system section in this section

And select the storage option.

Then click on Configure Storage Sense or run it now

Then scroll down and in the Temporary Files section

Choose how many days the files in the recycle bin are automatically deleted.


The settings of the next sections are the same as the previous version.

This is a useful feature that helps you clean your disk without thinking about it.

But remember, after cleaning the file from the trash, it is gone.

Unless you are using a third party recovery tool.

To prevent file loss in the first place, make sure you use a consistent backup strategy.

follow on facebook
follow on linkedin
follow on Reddit