Empty Recycle Bin for all user profiles

As a system administrator it is quite often that you would experience disk space issues in OS. Most often, the culprit would be Recycle Bin space.

When a user deletes a file, it is moved to Recycle Bin (Unless this is done with Shift key pressed). Recycle Bin is specific to user profiles and therefore when we empty recycle bin, all the contents of the particular user’s recycle bin gets emptied.

How can we empty recycle bin of all users ?

rd /s c:\$Recycle.Bin

Change the drive letters according to your configuration.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: