Windows creates separate Recycle Bins for each of your drives or partitions with the name$RECYCLE.BIN. If you open this folder (after unhiding it), you may see more than one subfolder.
The first folder is named justRecycle Bincontains the temporarily deleted folders for the current user account. This folder is actually linked across all drives so you will see the deleted data of all of them even though it contains the data for the current drive only.
The other folders arenamed as the Security Identifier (SID)number of other user accounts on your local computer (for example,S-1-5-21-…-1003andS-1-5-21-…-1005. And as you may have guessed, they store the temporarily deleted data of their respective accounts.
If you log in to the account with the SID S-1-5-21-…-1003, you will still see their deleted data on the ‘Recycle Bin’ folder and the $RECYCLE.BIN folder contains the SID folders of other accounts excluding their own (following the example, S-1-5-21-…-1001 and S-1-5-21-…-1005).
The Recycle Bin that you normally use is the same linked folder we discussed earlier. So, if you right-click on it and select Empty Recycle Bin, it simplypermanently deletes the filesfrom the current user account, not others. The only way to clear the Recycle Bin for all users is bydeleting the $RECYCLE.BIN folderaltogether from your drives, which also removes the SID folders.
There are many ways to delete this folder on Windows and you may use any method according to your preference.
Using Command Prompt
The easiest way to remove the Recycle bin folder is by using thermdirorrdcommand onCommand Prompt.
Create Batch Script
If you want to avoid having to type this command every time you want to clear Recycle bin, it’s better tocreate a batch scriptinstead.
Automate Batch Script
you may furtherautomate this batch scriptby using the Task Scheduler. To do so,
Using PowerShell
If you want to delete the Recycle Bin contents using PowerShell, you can use thePowerShell alternative of the CMD commandsabove in a similar manner.
Manually Deleting
You can also manually delete the contents of the root Recycle Bin folder to clear its contents for all users. However, keep in mind that this method might be slower since you need to make multiple confirmations