You need to open a command prompt window as an administrator, and then the directory you need to remove varies depending on the OS you’re working with:
- For Windows 7 or Server 2008 run this command from the command prompt:
rd /s D:\$Recycle.Bin
- For Windows XP or Server 2003 run this command from the command prompt:
rd /s D:\recycler
Note: These commands reference the “D:\” drive. Each drive keeps its own Recycle Bin so you’ll need to run this for each drive letter that you want to empty.
After running the command you may notice that the Recycle Bin icon may not refresh immediately to reflect that it is empty. This is because you’re using a non-standard procedure to empty the Recycle Bin, but if you open it up the icon will refresh and you should see that there are no files in there.