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

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
- How to Block or Allow Internet Access for One Program: Windows Firewall Allowed Apps and Outbound Rules (Windows 10/11)
- Blank Icons or Missing Video Thumbnails in File Explorer? How to Rebuild the Icon Cache and Thumbnail Cache (Windows 11)
- How to Check That a Downloaded Program Is Genuine: File Hashes (certutil, Get-FileHash) and Digital Signatures (Windows 10/11)
- Does "Shut Down" Not Fully Shut Down? How to Turn Off Fast Startup and Do a Full Shutdown (Shift + Shut Down)
- Protecting Your Laptop When You Step Away, Part 2: How to Turn On a BitLocker Startup PIN (Windows 11 Pro)
- Can't Delete a File Because "It Is Open in Another Program"? Find What Is Locking It With Resource Monitor (Windows 10/11)
- All Your Desktop Files Gone After Signing In? What to Do When Windows Signs You In With a Temporary Profile (Windows 11)
- "Access Denied" When Opening a Folder? How to Take Ownership and Get Your Permissions Back (Windows 10/11)