How To Clean the Windows $RECYCLE.BIN Directory on Windows 2008R2 / 2012R2
Ever wondered how to clean all the specific hidden / user created $RECYCLE.BIN directories on a servers to reclaim much needed space, well i know I did and went digging.
First step is to un-hide the $RECYCLE.BIN directory.
Select Root drive (ex: c) click on Organize > Folder options and click on the View tab. Select Show hidden files, folders and drives, un-check Hide protected operating system files. Click Apply then Apply to Folders.
Open explorer and you will see $RECYCLE.BIN as an option. Enter into the folder select all files and delete them.
At this point cleanup is done and we need to hide the protected operating system files. Repeat the steps that were done to show them and check the box to hide them.
This can also be done at the command line but it involves deleting the whole directory which may not be recreated.
Remove From Command Line
Open an Command Prompt as Administrator and type in the following commands.
rd /s /q %systemdrive%\$RECYCLE.BIN
To remove on other drives type the following.
rd /s /q d:\$RECYCLE.BIN
4 Responses to “How To Clean the Windows $RECYCLE.BIN Directory on Windows 2008R2 / 2012R2”
Trackbacks/Pingbacks
- Suggestions For Fixing The Location Of The Recycle Bin In Windows 2008 R2 - Runtimeside - […] Practical Guide. Windows 2008R2 / 2012R2 Well Organized Windows Directory $RECYCLE.BIN […]
- Sugestões Para Corrigir A Localização Da Lixeira No Windows 08 R2 - Runtimeside - […] Guia Prático. Windows 2008R2 / 2012R2 Diretório Windows bem organizado $RECYCLE.BIN […]
- Suggesties Voor Het Bepalen Van De Locatie Voor De Prullenbak In Windows 2009 R2 - Runtimeside - […] Praktische gids. Windows 2008R2 / 2012R2 Goed georganiseerde Windows-map $RECYCLE.BIN […]
- Vorschläge Zum Korrigieren Des Speicherorts Ihres Aktuellen Papierkorbs In Windows 2010 R2 - Runtimeside - […] Praktischer Leitfaden. Windows 2008R2 – 2012R2 Gut organisiertes Windows-Verzeichnis $RECYCLE… […]
- Suggestions Pour Améliorer L'emplacement De La Boîte De Recyclage Dans Windows 2008 R2 - Runtimeside - […] Guide pratique. Windows 2008R2 / 2012R2 Répertoire Windows bien organisé $RECYCLE.BIN […]
- Suggerimenti Per Correggere Le Vicinanze Del Cestino Windows 2008 R2 - Runtimeside - […] Guida pratica. Windows 2008R2 / 2012R2 Directory di Windows ben organizzata $RECYCLE.BIN […]
- Sugerencias Para Resolver La Ubicación De La Pila De Reciclaje En Windows 2008 R2 - Runtimeside - […] Guía práctica. Windows 2008R2 / 2012R2 Directorio de Windows bien organizado $RECYCLE.BIN […]
- Förslag För Att Fixa Platsen För Papperskorgen I Windows år 2008 R2 - Runtimeside - […] Praktisk guide. Windows 2008R2 / 2012R2 Välorganiserad Windows-katalog $RECYCLE.BIN […]
Didn’t work for me. This did: cmd as administrator, then
del /s /q c:\$recycle.BIN
I don’t know why.
when I use rd /s /q $RECYCLE.BIN it works well on server 2012r2 for me.
Thanks for the information but is it safe to do that
I have not seen any issues with removing the files in the directory, just don’t delete the directory.