MSTechpages
  • Home
  • Knowledge Base
  • Reviews
  • Articles
  • About
Windows 7

Empty Recycle Bin of multiple accounts (Command Line)

Jan 26, 2012·Dustin

Some people share a PC with multiple users, and each user has it’s own mess of files. They also have separate Recycle Bin’s. When a user deletes a lot of stuff, it sits in the Recycle Bin until it is emptied. Some users don’t know that you need to empty the bin occasionally. Here is a quick command line tip to empty all the Recycle Bin’s on your PC – without having to log into the other users accounts. This could also be scripted if you want to have the Recycle Bin emptied when logging in or off, if you wish.

1. Launch the Command Prompt as an Administrator. Start > All Programs > Accessories > Command Prompt (you can press Right Shift and left click the shortcut and select Run as different user, if needed).

2. Type in rd /s c:$Recycle.Bin and select Y to delete all the files in the Recycle Bin.

empty_recycle_bin_all

The first window is not using an elevated CMD prompt, the second is using Run as different user as Administrator.

This can help you keep your PC clean and stop your hard drive from filling up completely if you have a user that forgets to empty the Recycle Bin!

Related Products on Amazon
USB to SATA AdapterShop on Amazon
DDR3 RAMShop on Amazon
External HDDShop on Amazon
USB Flash DriveShop on Amazon

MSTechPages is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. As an Amazon Associate, we earn from qualifying purchases at no extra cost to you.

Dustin

Dustin is the founder and head editor of MSTechpages. He started the site to help other users of Windows. He has been very active with helping others throughout the years, from USENET to Microsoft Answers to the latest Microsoft Communities as well as other internet forums such as Reddit. He is a Sr. System Administrator, holds several industry certifications and degrees.

Related Articles

Windows 11

Add “End Task” To Right Click Application on Taskbar

Sep 16, 2025·Dustin
Windows 10

Offline install of .Net Framework 3.5 using DISM

Apr 1, 2020·Dustin
Windows 10

Disable Autohide Scrollbars

Jul 8, 2019·Dustin

Windows Insider Builds

Canary
29558.1
Dev
26300.8142
Beta
26220.8138
Release Preview
26100.8106
Recent Knowledge Base Articles
  • Add “End Task” To Right Click Application on Taskbar
  • Offline install of .Net Framework 3.5 using DISM
  • Disable Autohide Scrollbars
  • Install Active Directory RSAT in Windows 10 1809 or later
  • Disable File Grouping in File Explorer
  • Forget Wireless Networks
  • Show Hidden Files & Folders
  • Enable Night Light Mode
  • How to Fix a Network Printer Showing Offline
  • Open a Command Prompt/Powershell Prompt at Folder Location
MSTechpages

Your source for Windows news, tutorials, and Insider builds.

Windows

  • Windows 11
  • Windows Insider
  • Canary Channel
  • Cumulative Updates

Resources

  • Knowledge Base
  • Articles
  • Reviews

Company

  • About
  • Contact
  • Privacy Policy
  • Advertise

© 2026 MSTechpages. All rights reserved.

Privacy