On one of my test computers and I have created three user accounts to easily share that PC with my family. Except for my user account, rest two accounts do not have a password. So, I can easily access other accounts, if required.
Recently I noticed that the “C” drive was running out of free space and so decided to free up some disk space by emptying Recycle Bin and then deleting other junk files on my desktop. To empty Recycle Bin present in other accounts, I decided to use a good old command that lets you quickly empty Recycle Bin from all user accounts in a jiffy. Of course, you can manually sign in to all accounts and delete files from Recycle Bin. But it takes a lot of time.
The command comes in handy if you are the administrator of a multi-user Windows 11/10/7 computer. In this guide, I will show you how to use the Command Prompt to quickly empty Recycle Bin from all user accounts:
IMPORTANT: Use this command with caution. Executing wrongly typed command may cause damage to your system and data.
Delete Recycle Bin data from all user accounts
Step 1: Launch elevated Prompt. To do this, type CMD in the Start menu/taskbar search box, right click on the Common Prompt entry and then click Run as administrator.
Or, type CMD in the search and simultaneously press Ctrl + Shift + Enter keys.
Step 2: In the elevated prompt, type the following command:
rd /s c:\$Recycle.Bin
(In the above command, “c” is your Windows drive)
Press the Enter key.
Press Y key to confirm and empty Recycle Bin. You are done! Type Exit and press the Enter key again to close the Prompt.
There might be some other third-party tools to do this job, but this is the easiest way to empty Recycle Bin and free up valuable disk space. We tested this command in Windows 10 and Windows 11 as well, and can confirm that it works!