When you click the delete button on a file, you're not actually deleting it from your computer. It only gets moved to the Recycle Bin, which continues to use valuable space on the hard drive.
Even though chances are you already know how to empty the Recycle Bin, you often forget to do such a simple task. Then it's not until you're running out of space that you go through the steps to manually empty the trash to delete all its content for good.
Although there are number of ways you can configure the Recycle Bin on Windows 10 (and previous versions), emptying the trash on schedule is not one of them.
In this Windows 10 guide, we'll walk you through the steps to automatically empty the Recycle Bin using the Task Scheduler to keep the hard drive space optimized, while giving you enough time to recover deleted files.
How to automatically empty the Recycle Bin on schedule
- Open Start, do a search for Task Scheduler, and press Enter.
Right-click Task Scheduler Library and click New Folder.
- Name the folder My Tasks or anything descriptive. (You want to do this to keep your tasks organized and separated from the system tasks.)
Right-click the newly created folder and select Create task.
On the General tab, enter a name for the task, such as Empty Windows Recycle Bin.
On the Triggers tab, click New to create an action that will trigger the task.
For the purpose of this guide, I'll select and configure On a schedule, but you can pick from a number of trigger actions, including At log on, At startup, On an event, and more.
Quick Tip: If you're using the schedule option as a trigger, consider using the Weekly or Monthly option, which will give you some time to recover deleted files.
On the Actions tab, click New.
- Under Settings, on Programs/script enter cmd.exe.
Under Settings, on Add arguments enter the following argument and click OK:
/c "echo Y|PowerShell.exe -NoProfile -Command Clear-RecycleBin"
Click OK to complete the task.
Once you completed the steps, the task will run automatically at the trigger condition you have configured.
More Windows 10 resources
For more help articles, coverage, and answers on Windows 10, you can visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
Join us LIVE for the Windows Central Video Podcast today at 2:30PM ET
We're LIVE with the Windows Central Video Podcast today at 2:30pm ET, make sure you're there!
The Black Friday keyboard deals you need to know about
Getting your hands on a new keyboard is exciting for PC users, and thanks to Black Friday, it's more affordable than ever before. Here's a look at the best Black Friday keyboard deals available now.
Microsoft’s ‘Project Latte’ aims to bring Android apps to Windows 10
Microsoft is working on a software solution that would allow app developers to bring their Android apps to Windows 10 with little to no code changes by packaging them as an MSIX and allowing developers to submit them to the Microsoft Store. The project is codenamed 'Latte' and I'm told it could show up as soon as next year.
These are the best PC sticks for when you're on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.