Blog

"The Recycle Bin Is Corrupted" Error? How to Fix It by Resetting $Recycle.Bin (Windows 10/11)

Graph paper with a trash can cracked by a red line on the left, circular arrows in the middle and a new green trash can on the right

Sometimes a window keeps appearing when you delete files or open the Recycle Bin: "The Recycle Bin on C:\ is corrupted. Do you want to empty the Recycle Bin for this drive?" The hidden Recycle Bin folder on that drive ($Recycle.Bin) has become damaged. Deleting the folder lets Windows create a new one and fixes the problem.

Good to know first

  • This method permanently deletes everything in that drive's Recycle Bin. If the Recycle Bin still opens, restore the files you need first.
  • You can also click Yes in the error window to empty it, but if the message keeps coming back, use the steps below.

Recreate the Recycle Bin

  • Right-click Command Prompt in the Start menu and choose Run as administrator.
  • Type the command for the drive with the error: for drive C, rd /s /q C:\$Recycle.Bin; for drive D, rd /s /q D:\$Recycle.Bin.
  • A few "Access is denied" lines are fine; only some files that are in use remain.
  • Restart the PC. Windows creates a new Recycle Bin when it starts.
  • Delete a file and open the Recycle Bin to check that it looks normal.

When it appears on a USB stick or external drive

  • It often happens on external drives that were unplugged without being safely removed. Use the same command with that drive's letter.
  • If it keeps coming back on the same drive, the disk may have errors, so check it with chkdsk.

Source: Microsoft Learn – rd command

Blog

← Back to the list Back to top ↑