Alexander’s Blog

January 4, 2006

Add “Empty Recycle Bin” to your Right-Click Menu

by @ 11:50 am. Filed under Desktop, Registry, Security/Firewalls, Tips & Tricks, Windows Vista, Windows XP

If you want to quickly empty your recycle bin, instead of minimizing the desktop and going to the Recycle Bin you can simply right click any file on your computer and select Empty Recycle Bin. Here’s how.

Save the following entries in a text editor as a .REG file (e.g. emptybin.reg). Logon with an account that has administrative privileges. Double-click the .reg file to modify the registry. You will be prompted to add the information to the registry. You should see the Empty Recycle Bin added to the context menu for all files.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}]
@=”Empty Recycle Bin”

[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Empty Recycle Bin]
@=”{645FF040-5081-101B-9F08-00AA002F954E}”

[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Empty Recycle Bin]
@=”{645FF040-5081-101B-9F08-00AA002F954E}”

[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Empty Recycle Bin]
@=”{645FF040-5081-101B-9F08-00AA002F954E}”

[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Empty Recycle Bin]
@=”{645FF040-5081-101B-9F08-00AA002F954E}”

I’ve tested this successfully on Windows XP Professional computers. If you can’t get it to work, feel free to contact me.

Update: May 23, 2007: I tested the .reg file successfully on 32-bit Windows Vista.

2 Responses to “Add “Empty Recycle Bin” to your Right-Click Menu”

  1. Dennis Says:

    Have you been able to accomplish adding “Empty Recycle Bin” to your Right-Click Menu to Vista 64?

  2. Zubair Alexander Says:

    Dennis,

    I just tested it successfully on 32-bit Windows Vista but haven’t had a chance to test it on 64-bit Vista. Have you tried it on 64-bit Vista? Did it not work?

Leave a Reply

Comment spam protected by SpamBam

Contact E-mail | Terms of Use | Privacy Policy

Copyright ©2008 Zubair Alexander. All rights reserved.

Internal Links

Categories

Search Blog

Archives

December 2008
M T W T F S S
« Nov    
1234567
891011121314
15161718192021
22232425262728
293031  

RSS Feeds

TechGalaxy Visitors

29 queries. 3.537 seconds