The Recycle Bin is corrupted: how to fix it on Windows 11

Quick answer: Windows shows this message when it can’t read the hidden $Recycle.Bin folder on a drive. Answering Yes empties that drive’s Recycle Bin for good, so restore anything you still need first. If the message returns, open Terminal (Admin), run rd /s /q C:\$Recycle.Bin (change the letter for other drives) and restart; Windows builds a fresh folder the next time you delete something. Then run chkdsk C: /f to look for file system errors on that drive.

Applies to: Windows 11, with the same steps in Windows 10. The drive letter in the message tells you which drive is affected; it can be the system drive, a second internal drive, or an external disk. If you’ve already emptied the bin and need a file back, go straight to our guide on free file recovery.

What the message means

The full prompt reads: The Recycle Bin on C:\ is corrupted. Do you want to empty the Recycle Bin for this drive? As general guidance, every NTFS drive has its own hidden, protected $Recycle.Bin folder in its root, with one subfolder per user account. The Recycle Bin icon on the desktop combines the contents of those folders across your drives.

When the folder’s contents or the small index files that track deleted items can’t be read, Windows may offer to empty the bin for that drive as a way to start over. The cause may be a sudden power loss, a drive removed without ejecting, a file system error, or a security or cleanup tool that changed files inside the folder. The message points to that one folder; it doesn’t by itself mean your other files are damaged.

Match your situation

What you seeWhere to lookGo to
Message appears once, you have nothing to restoreDamaged bin indexStep 2
Message returns after you click YesLeftover folder contentsStep 3
Bin holds files you still needRestore before resettingStep 1
Message names an external or USB driveDrive removed or moved between PCsExternal and USB drives
rd reports Access is deniedFiles in use or ownershipAccess denied section
Other folders on the drive also show errorsFile system problemStep 4

Step 1: Get back the files you still need

Before you click Yes: emptying or resetting the bin deletes its contents permanently. Close the prompt with No or the close button and try to rescue anything you need first.

  1. Open the Recycle Bin from the desktop or by typing shell:RecycleBinFolder in the File Explorer address bar.
  2. If the window opens and lists your files, select the ones you need and choose Restore the selected items. They go back to the folder they were deleted from.
  3. If the window won’t open, or shows nothing, check backups instead. Microsoft’s File History page says you can open the folder that used to hold the file in File Explorer, right-click it and select Restore previous versions. For a file deleted today, pick a version of the folder from before the deletion.
  4. For files kept in a OneDrive folder, look in the OneDrive recycle bin on the web as well. It’s separate from the one on your PC.

Microsoft notes that restoring in place replaces the current version and can’t be undone; expand Restore and pick Restore to to save the copy somewhere else. Previous versions are only there if File History was turned on with a backup drive before the file was deleted.

If none of that works, our guide on getting deleted files back covers Windows File Recovery and other free options. Stop saving new files to the affected drive until you’ve tried them, because new data may overwrite what’s left.

Step 2: Let Windows empty the bin

Once nothing you need is left, open the prompt again (delete any small file on that drive, or open the Recycle Bin) and select Yes. Windows clears the bin for that drive only; Recycle Bin contents on your other drives stay where they are.

Delete a test file from the same drive and open the Recycle Bin. If the file shows up and the message doesn’t return, you’re done. If the prompt reappears straight away, Windows couldn’t remove the damaged folder by itself, and the next step does it by hand.

Step 3: Reset the $Recycle.Bin folder

Warning: this step permanently deletes everything in the Recycle Bin for the drive you name. There’s no undo, and Microsoft’s rd command reference says trees removed with /q can’t be recovered, so move or back up files you need first (Step 1).

  1. Close File Explorer windows that show the affected drive, and any apps that work with files on it.
  2. Right-click Start and select Terminal (Admin). Approve the User Account Control prompt.
  3. Type the command below. Replace C: with the letter from the message, such as D: or E:, and press Enter.
  4. Restart the PC.
rd /s /q C:\$Recycle.Bin

Microsoft’s reference explains the switches: /s removes the folder with every subfolder and file in it, and /q skips the confirmation prompt. rd is the same command as rmdir. As general guidance, in PowerShell, which Terminal may open by default, rd maps to a different command, so if you get a parameter error, open a Command Prompt tab from the arrow next to the tab bar and run the command there.

You don’t need to recreate the folder. As general guidance, Windows creates a new $Recycle.Bin on that drive the next time a file is deleted there. Then delete a test file and check that it appears in the Recycle Bin.

Type the path exactly. The $ sign and the dot are part of the folder name, and a typo in the drive letter or path would point the command at a different folder. Don’t run it against the root of a drive or any folder you haven’t checked.

Step 4: Check the drive with CHKDSK

If the bin keeps breaking, or other files on the drive show read errors, check the file system. Microsoft’s chkdsk reference says the tool needs administrator rights and fixes errors only with /f; without it, the command just reports the volume’s status.

  1. Open Terminal (Admin) again.
  2. For the system drive, run chkdsk C: /f. Because Windows is using that drive, chkdsk can’t lock it and asks whether to check it at the next restart. Type Y, press Enter and restart. Microsoft says the check then runs and fixes errors automatically, and the PC restarts when it’s done.
  3. For a second internal drive or an external disk, run chkdsk E: /f with the right letter. Microsoft says /x forces the volume to dismount first and includes /f, which closes open handles to that drive.
  4. If you suspect a failing disk, /r also looks for bad sectors and recovers readable information. It includes /f and takes longer.

Microsoft doesn’t recommend interrupting chkdsk, though it says a canceled run shouldn’t leave the volume worse than before. A full check on a large drive with many files may take a long time. If a check now runs at every boot, our guide on stopping CHKDSK at startup explains why and how to cancel it. After the check, repeat Step 2 or Step 3 if the message is still there.

Chkdsk only works on local disks; Microsoft says it can’t be used on a drive letter redirected over the network. A Recycle Bin message for a mapped network drive needs checking on the computer or server that holds the files.

External and USB drives

As general guidance, an external drive may show this message after it was unplugged without ejecting, or after it was used on another PC. The $Recycle.Bin folder travels with the drive, and the subfolders inside it belong to user accounts from the other computer, which Windows on your PC may not be able to read.

  1. Restore anything you need from the bin first (Step 1), or plug the drive back into the other PC and restore it there.
  2. Run chkdsk E: /f for that drive letter (Step 4).
  3. Reset the folder with rd /s /q E:\$Recycle.Bin (Step 3, with the drive’s letter).
  4. From then on, use Safely Remove Hardware and Eject Media in the notification area before unplugging the drive.

As general guidance, USB flash drives and memory cards may not use a Recycle Bin at all, so files deleted from them may skip it and be gone straight away. If the drive itself doesn’t appear in File Explorer, see our guide to an external hard drive not showing up before trying these steps.

Antivirus, cleanup and sync tools

Third-party security software, disk cleaners and privacy tools may scan, lock or delete files inside $Recycle.Bin. If one of them quarantined or removed an index file there, Windows may report the bin as damaged.

  • Check the tool’s quarantine or history for entries from a $Recycle.Bin path and restore or exclude them only if you trust the tool’s verdict.
  • Look for a cleaner setting that empties or shreds the Recycle Bin on a schedule, and turn it off while you test.
  • Pause OneDrive, Google Drive, Dropbox or a backup app that works on the affected drive before you run Step 3, then resume it once the new folder works.
  • If the message stops after you turn a tool off, update it or contact its vendor rather than leaving protection disabled.

Don’t disable Microsoft Defender or another antivirus permanently to make the message go away. Turn off only the specific cleanup feature that touches the Recycle Bin.

Access denied and permission errors

If rd stops with Access is denied or The process cannot access the file because it is being used by another process, try these in order:

  1. Make sure the terminal says Administrator in its title bar. A normal window can’t remove other accounts’ subfolders.
  2. Restart the PC and run the command before you open other apps, so nothing holds files on the drive open.
  3. Run chkdsk with /f on the drive (Step 4); as general guidance, damaged entries may refuse deletion until the file system is repaired.
  4. Sign in with a different administrator account and try again.

As general guidance, a drive moved from another computer or kept through a Windows reinstall may contain bin subfolders owned by accounts that no longer exist. Taking ownership of the folder may then be needed; our guide to folder permission errors walks through ownership without changing more than that folder. $Recycle.Bin sits next to another protected folder, System Volume Information, which you shouldn’t take over; our System Volume Information guide explains why.

Microsoft’s rd reference also notes that a folder with hidden or system files can’t be removed without /s, and that you can’t delete the folder the terminal is currently in. If you changed into $Recycle.Bin first, run cd \ to go back to the drive root before you run the command.

If the message keeps coming back

A bin that breaks again after a reset and a clean chkdsk may point to the drive itself or to something that keeps changing the folder. As general guidance, check these:

  • Right-click the Recycle Bin, select Properties, pick the drive and make sure Custom size is set rather than Don’t move files to the Recycle Bin, unless you chose that on purpose.
  • Run chkdsk with /r on the drive, and back up its files if bad sectors are reported.
  • Watch for a tool that starts at sign-in and touches the bin (see the tools section above).
  • On an external drive, try a different USB port and cable, since a loose connection may interrupt writes.

If the drive reports errors again and again, copy your files to another disk before doing more repairs. The Recycle Bin message may be the first visible sign of a disk problem, and a backup protects you whatever the cause turns out to be.

Official sources

How we write our guides: read our editorial policy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *