Modify the Delete option of the Recycle bin

Last update on September 9, 2009 12:41 PM by jak58
Published by jak58

Modify the Delete option of the Recycle bin










You may have noticed with Windows Vista, it happens regularly to delete the Recycle Bin (context menu: Delete) instead of deleting iots content (shortcut

menu: Empty Recycle Bin). Here is a solution for this:

Recovery the recycle bin


While it is easy to recover:
Right click the Desktop/ Customize/Change desktop icons and tick the Recycle bin and click on Apply.

Modifying the Delete option


By changing the line "Delete" from context menu accessible by right click ,you will limit the risk of deleting your Recycle Bin.
For this, we must make a registry change. Exits to repeat, make a backup of it before any change!

This change helps to erase the line "Delete" and add another: "Search ..."

Implementation
  • To implement the method:
  • copy/paste the script in a Notepad and save it with extension .reg, for example bin.reg.
  • Double click the file.
  • The Registry Editor displays an alert asking you whether to continue. Answer "Yes".
  • The registry editor will point out finally that the change was made successfully!

Script


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\Delete]
@="Rechercher..."
"Description"="Removes Delete, replaces with Search.."

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\Delete\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,65,00,78,00,70,\
00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,65,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\Delete\ddeexec]
@="[FindFolder(\\\"%l\\\", %I)]"
"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\Delete\ddeexec\Application]
@="Folders"

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\Delete\ddeexec\topic]
@="AppProperties"
Best answers for « Modify the Delete option of the Recycle bin » in :
Deleting without using the recycle bin Show Deleting without using the recycle bin Keyboard shortcut Nautilus context menu By default, when you delete a file in Nautilus (the file browser of Ubuntu), files are moved to the Trash. This is not always desirable, especially for...
How to Rename "Recycle Bin"? Show How to Rename "Recycle Bin"? You can change your Recycle Bin name to another one like Trash or Dust Bin or any other names. You will have to modify your Registry files to do this. To rename Recycle Bin, follow these steps: Click...
Recycle Bin lost Show Recycle Bin lost Below is a tips of how to recover your recycle bin if same no longer appears on your windows desktop :- To proceed , access the registry : Go to menu Start > Run and type regedit Scroll to the following...
Replace/remove the Recycle Bin under Vista ShowReplace/remove the Recycle Bin under Vista How can I reactivate Vista in the trash? Just do right click on the desktop/ Customize/ click change desktop icons/ and check or uncheck "Recycle Bin."
MacOS X: Delete obstinate Files ShowMacOS X: Delete obstinate Files It may happens sometimes when trying to empty the recycle bin and that the files or folders you want to delete it still refuses to disappear. To resolve this problem, use a UNIX command in Terminal....
Permanently delete files from trash bin ShowPermanently delete files from trash Sometimes when emptying the trash some files stays and refused to be deleted! You just have to use a command: Start the Terminal - Type "sudo rm • • •-R" - Drag files, folders that you want...
Download CCleaner ShowCCleaner is a freeware cleaning tool to ensure privacy by deleting unused and temporary files from your system Cleans the following: Internet Explorer Cache, History, Cookies, Index.dat. Recycle Bin, Temporary files and Log files. ...
Download NTFS Undelete ShowNTFS Undelete is a free software allowing to recover deleted files. It recovers the files directly from the hard disk, even if the recycle bin has been emptied.
UNIX Commands ShowTable of the main UNIX commands Unix Commands Description Options ls lists the content of a directory -a Displays all files, including hidden files -I Displays a...