How to automatically empty Recycle Bin

Configurare noua (How To)

Situatie

When you come across a file you don’t need anymore in Windows 11, you erase it. But, to get rid of those files permanently, you’ll need to do something else than click on the delete option. When you wipe a file, it may disappear from your files, but it is still accessible in the recycling bin.

Solutie

  1. To schedule the recycling bin, open the Task Scheduler by searching for it in the search bar.
  2. In the Task Scheduler screen, right-click on Task Scheduler Library > New Folder
  3. Give the folder a name, like “Auto Del Bin” or something recognizable for the task. Right-click on the new folder and choose Create task.  On the General tab, give your task a name that describes what it does in the Name field.
  4. Select the Triggers tab then choose the New button at the bottom left.
  5. Select the Begin the task > On a schedule.
  6. I recommend you choose the monthly or weekly option if the schedule option is being used as a trigger. There will also be an option where you can decide when you want the cleaning to begin. Right below that, you can also choose the day.
  7. Select the Actions tab, followed by the new option at the bottom right. Under Settings where it says Programs/script type cmd.exe and also under Settings, in Add arguments type:
    • /c "echo Y|PowerShell.exe -NoProfile -Command Clear-RecycleBin" -Force
  8. Double-check to make sure that everything is entered correctly and click OK to finish your task.

Tip solutie

Permanent

Voteaza

(3 din 7 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?