C: Recycle bin corrupted. Having trouble repairing it.
5 minutes ago, gggirlgeek said:Embarrassed but I cry Uncle! So I'm asking for help. The C: drive on my Laptop is complaining that the Recycle bin is corrupted every few minutes. I can't seem to repair it.
How I got here: I was having trouble clearing space in my P: partition so I checked in the recycle bin and saw that it wasn't empty. I am in a dual-boot Win11/Win10 system so sometimes the recycle.bin doesn't empty properly. Normally, simply deleting the folder and letting Windows recreate it solves this. I tried it and rebooted but C:\$recycle.bin is still not empty, and giving errors.
What I've tried:
*Deleting all recycle bins in all partitions manually through explorer in Safe Mode.
*Running Check Disk on all partitions and drives after reboot.
*Using Tweaking.com's AIO repair tool to "repair recycle bins."
*Booting into a live Linux Mint USB and deleting the $Recycle.bin folder. It gives me an error that the folder is not empty on C:, but it deletes all other partitions' Recycle.bin successfully.
*Using a batch script in Safe Mode, run as admin. I also ran it booted into Hiren's Boot CD rescue USB environment.
@Echo On Echo. Echo. Echo. Echo. Echo. Echo Now deleting all EXTRA RECYCLE BINS REM This section deletes all recycle bins (their folders too.) REM This is only necessary if you regularly end up with multiple REM recycle bins in your partitions. As MyDefrag will show you in the log, REM they are not empty so they clog up your drives. REM This is caused by logging in as a different user, or booting other OS's on the same computer, REM or connecting drives in multiple locations. Windows won't empty a bin REM that's not "yours" -- i.e. doesn't have your user ID on it. takeown /f P:\$Recycle.bin /a /r /d y icacls P:\$Recycle.bin /grant Administrators:F /t takeown /f B:\$Recycle.bin /a /r /d y icacls B:\$Recycle.bin /grant Administrators:F /t takeown /f C:\$Recycle.bin /a /r /d y icacls C:\$Recycle.bin /grant Administrators:F /t takeown /f J:\$Recycle.bin /a /r /d y icacls J:\$Recycle.bin /grant Administrators:F /t takeown /f M:\$Recycle.bin /a /r /d y icacls M:\$Recycle.bin /grant Administrators:F /t takeown /f O:\$Recycle.bin /a /r /d y icacls O:\$Recycle.bin /grant Administrators:F /t REM @echo off rd /s /q --ignore-fail-on-non-empty P:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty B:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty C:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty D:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty E:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty F:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty G:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty H:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty I:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty J:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty K:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty L:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty M:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty N:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty O:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty P:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty Q:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty R:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty S:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty T:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty U:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty V:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty W:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty X:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty Y:\$Recycle.bin rd /s /q --ignore-fail-on-non-empty Z:\$Recycle.bin Pause Exit
Open admin CMD and type "d /s /q C:$Recycle.bin" See if that works.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now