How to Reset the Recycle Bin Using the Command Prompt? [Easy Guide]
Resetting the Recycle Bin is recommended if you encounter errors such as being unable to empty it, missing deleted files, repeated corruption warnings, or unexpected behavior after system crashes or forced shutdowns. Malware infections and disk errors can also damage the Recycle Bin structure.
Using Command Prompt gives you direct control over system folders that are otherwise hidden and protected. This makes it one of the most powerful troubleshooting methods available in Windows.
Let’s learn and follow the easy steps to reset your Trashcan or Recycle Bin!
How to Reset the Recycle Bin Using Command Prompt?

To reset the Recycle Bin using Command Prompt, open Command Prompt with administrator rights, run a specific command that deletes the hidden Recycle Bin system folder, and then restart your computer. Windows will automatically recreate a fresh Recycle Bin, fixing corruption and related errors.
Resetting the Recycle Bin using Command Prompt is a built-in Windows solution. It works on Windows 11, Windows 10, Windows 8, and Windows 7 and does not require any extra tools.
Now, let us go through each step in detail.
Step 1: Open Command Prompt as Administrator
The first step is to openthe Command Prompt with administrator privileges. This is necessary because resetting the Recycle Bin requires system-level access.
On Windows 11 or Windows 10, click the Start menu and type Command Prompt in the search box. When it appears in the results, right-click on it and choose the option to run as administrator. If a User Account Control window appears, click Yes to confirm.
You should now see a Command Prompt window with administrative rights. You can confirm this because the title bar usually includes the word Administrator.
Step 2: Identify the Drive Where the Recycle Bin Is Corrupted
In most cases, the Recycle Bin problem affects the main system drive, which is usually Drive C. However, Windows creates a separate Recycle Bin folder for each drive on your computer.
If you are unsure which drive is affected, you can reset the Recycle Bin on all drives one by one. This is completely safe and often recommended if the error message does not specify a drive letter.
For beginners, starting with the C drive is usually enough.
Step 3: Run the Recycle Bin Reset Command
This is the most important step in the process. In the Command Prompt window, type the reset command carefully.
rd /s /q C:\$Recycle.bin
The command tells Windows to forcibly delete the hidden $Recycle.Bin folder from the selected drive. The folder is recreated automatically later.
Make sure there are no typing mistakes. Commands are sensitive, and an incorrect command may not work as expected.
After typing the command, press the Enter key. You will not see a success message. This is normal. The absence of an error usually means the command worked correctly.
Step 4: Repeat the Command for Other Drives if Needed
If your computer has multiple drives, such as D, E, or external storage drives, you may want to reset the Recycle Bin for those drives as well. Recycle Bin corruption can exist on one drive while others work fine.
To do this, simply change the drive letter in the command and run it again. This ensures that all Recycle Bin folders across your system are reset properly.
This step is optional but recommended if you have faced repeated Recycle Bin issues in the past.
Step 5: Close the Command Prompt and Restart Your Computer
After running the reset command, close the Command Prompt window. The final step is to restart your computer.
Restarting is important because Windows needs to rebuild the Recycle Bin structure during startup. Once the system boots again, a fresh and error-free Recycle Bin will be created automatically.
After the restart, try deleting a file and check whether it appears in the Recycle Bin correctly. In most cases, the issue is fully resolved at this stage.
What Happens After Resetting the Recycle Bin
When you reset the Recycle Bin using Command Prompt, all previously stored deleted files inside the corrupted Recycle Bin are permanently removed. This is an important point to remember.
However, this process does not affect your existing files or system data. It only clears the damaged Recycle Bin structure and rebuilds it.
If you had important files inside the Recycle Bin before resetting, they cannot be recovered afterward. That is why it is always good to restore any needed files before performing a reset if possible.
Is Resetting the Recycle Bin Safe?
Yes, resetting the Recycle Bin using Command Prompt is a safe and Microsoft-recommended troubleshooting step. It does not harm Windows or cause system instability when performed correctly.
This method is often suggested when standard solutions like emptying the Recycle Bin or running disk cleanup fail. Since it uses built-in Windows commands, there is no risk of malware or unwanted software.
Still, it is important to follow the steps carefully and avoid running unknown commands.
FAQs
Does resetting the Recycle Bin delete my personal files?
No, resetting the Recycle Bin does not delete files that are currently stored on your system. It only removes files that were already deleted and stored inside the Recycle Bin.
Can I reset the Recycle Bin without Command Prompt?
Yes, but Command Prompt is the most effective method. Other methods, like registry tweaks or system scans, may not always fix corruption issues.
Will this method work on Windows 11 and Windows 10?
Yes, this method works on Windows 11, Windows 10, Windows 8, and Windows 7. The steps are almost identical across versions.
Why does the Recycle Bin get corrupted?
Recycle Bin corruption can happen due to sudden power failures, disk errors, malware infections, or forced shutdowns during file operations.
Do I need third-party software to reset the Recycle Bin?
No, you do not need any third-party tools. The built-in Command Prompt method is enough in most cases.
