How to Disable deletion of Recyle Bin in Vista
Another Vista problem has been dropped into my mail. In the previous version of Windows it is not possible to delete the recycle bin by just a simple right click and delete. Microsoft change this in Vista you can simply delete the recycle bin in just exactly two clicks. unfortunately this gave more problems because some users accidentally remove their recycle bin instead of just emptying it.
A way to disable this through a registry hack. After the hack the item will still show up but it will not work anymore. Before you start please first backup your registry.
- Open Regedit
- Search for the below key
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}
- Create a key and named it “Shell”
- Create a key and named it “Delete” set it default value to “Delete”
- Create a key and named it “Command” set it default value to “rundll32.exe”
What we’ve done here is we create a new function called Delete that replaces the current command on the menu. By setting it to run rundll32.exe, we’re eliminating any error message by running a valid process that will immediately exit and the user will never see it.
The only visible change you’ll notice is that the Delete menu item will move above the Empty Recycle Bin item.
Related posts:
- How to Remove Recycle Bin Icon on Desktop
- How to Disable Vista CD/DVD Burning Feature
- How to Disable Windows Vista Balloon Notifications
- How to disable Windows XP/Vista System Tray
- How to Change the Maximum Number of Recent Items Shown on the Vista Start Menu
- How to Add Internet Explorer 7 Icon to your Desktop in Windows Vista
- How to Disable Auto Reboot on Windows Update
- How To Show Recycle Bin On Windows 7 Windows Explorer
- How to Add Encrypt/Decrypt to your Vista right Click Menu
- How to Add Disk Cleanup to the Right-Click Menu of your Drive
















2 Comments
I SO did this when I first got Vista. I accidentally deleted my little trash can when I went to empty it. I got it back up (never hacked the registry to fix it though). So now I just have to remember to refresh my screen if I want to see an empty can after I delete the wads of paper there.
Telecommuting Journal“s last blog post..Part-Time Freelance Work Found at Ed2010
thanks for the comment.
That happens most of the time for most people. this is just a simple way to prevent it from happening again.