Schedule Windows to empty the recycle bin automatically

Κάθε φορά που πατάτε το πλήκτρο "Delete" στο πληκτρολόγιό σας, τα move the file from its actual location in the Recycle Bin. This behavior helps you to recover the file or folder if you have accidentally deleted it. However, over time, the number of files and folders in the Recycle Bin increases as a result of consuming a lot of space on your C drive.

recycle bin windows

Of course, you can easily reclaim this lost space by simply emptying the Recycle Bin. But if you use the Delete key often and delete a lot whether you're at work or at home, then it's a good idea to automatically empty the recycling bin at set intervals. See below how you can schedule it.

There are many ways to automatically clean the Windows Recycle Bin, such as using a standalone third-party program, using the built-in Disk Cleanup Utility, etc. However, today we will show you a simple and effective way to use your work schedule and line orders.

Step 1: To get started, search for “Task Scheduler” from the Start menu Windows and open it. Alternatively, you can also press the Win + R keys at the same time, and type taskschd.msc in the execution window

Step 2 : After opening the task scheduler, click on the "Create Basic Task" option that appears in the right panel, under the "Actions" category.

Step 3: A new “basic job creation wizard” window will open. Here, enter the name and description of your choice and then click the “Next” button to continue.

Windows

Step 4: In this window, you can set the time interval for when the task you want to do will take effect. Select the "Weekly" radio button and click the "Next" button.

Step 5: Now select the start time. Change the start time to where it says "Start". Leave the start date as today, unless you want the scheduled task to start counting from a different date. Also, select which day of the week the recurring event will occur and then click the "Next" button.

Step 6: In the next window select the "Start Program" button and then click the "Next" button.

Step 7: In the “Program/Bundle " type cmd.exe and in the "Add Arguments" field type the following phrase:

/c "echo Y|.exe -NoProfile -Command Clear-RecycleBin"

and press the "Next" button.

Windows

Step 8: In the next and final window review all the settings you just configured and click the "Finish" button to complete the baseline creation process.

chrono3

Step 8: After the project is created, select the task in the main window of the Windows task scheduler, and then click the "Run" option that appears under the "Selected Item" category to check the scheduled task.

chrono4

Once you click, if everything goes well you will see a quick display of the Command Prompt with the progress of the job and the recycle bin will be cleaned.

chrono5

From now on, your recycle bin will be automatically emptied according to the schedule you set in the Work Schedule.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).