random post

how to make the Recycle Bin empty itself automatically

Windows has a set of tools that enable the user to make his computer perform some simple tasks without the need for any user intervention or being in front of his computer, and in this topic we will learn how to use one of these tools to make the trash can empty itself automatically at the times that you specify for it It will be useful to you especially if you are deleting many things from your computer, so continue with me.

Recycle Bin empty itself automatically

All you have to do is go to the search box in Windows, and then type taskschd.msc, which is a tool that enables you to program your computer to perform recurring and automatic tasks.

Recycle Bin empty itself automatically

Click on the Task Scheduler library folder with the right mouse button, then create a new task by clicking on the Create Basic Task option as shown in the image:

Recycle Bin empty itself automatically

Now choose a name for the task, you can name it any name you want, but it is preferable that it has a meaning such as the Empty Recycle bin, for example, and then click on the Next button.

Recycle Bin empty itself automatically

Choose the time at which this task will be executed, for example if you choose daily, the Recycle Bin will be emptied on a daily basis.

Recycle Bin empty itself automatically

Then in the Action option, click on the start a program option, then type cmd.exe in the first box and paste this command in the second box as shown in the image:

/c “echo Y|PowerShell.exe -NoProfile -Command Clear-RecycleBin”

Recycle Bin empty itself automatically

Now, click on finish, and you will find that the name of this task has been added in the task table, you can try to do this task by clicking on it and then click on run and you will notice that the trash has been emptied.

Comments
No comments
Post a Comment



    Reading Mode :
    Font Size
    +
    16
    -
    lines height
    +
    2
    -