pablohoney

Empty Recycle Bin

7 posts in this topic

Hi Hanfelt thanks - didn't seem to work for some reason. I'll keep searching and see if I have luck with some other options. Lots of different recommendations from all over.

Thanks again.:)

Share this post


Link to post
Share on other sites

Sorry i only tried on my computer and there it worked. I will try it in pulseway as a script as well.

Share this post


Link to post
Share on other sites
rd /s /q %systemdrive%\$Recycle.bin

This CMD line will delete the RecycleBin content for all users, but in order to see the changes on a screen you will need to restart the explorer.exe. 

Share this post


Link to post
Share on other sites

Hi Chris,

To automate this as a scheduled task - should I just add it directly as is as a powershell script? Thank you.

Share this post


Link to post
Share on other sites

Hi,

You will need to create a Bach script. And run it as a Scheduled task.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now