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"