I've had this problem in my Windows computer for a few months already but only now I decided to check what it was all about.
For some reason, an important registry key disappeared from my operating system (which isn't statistically weird given that my Windows installation is already 28 months old).
First, I made some research about this problem but it ended up non-conclusive and without solutions nor interesting workarounds.
As such, I will show you how I managed to fix this issue:
1.
I started searching for relevant entries about the recycle bin with the Registry Editor (
regedit
).[You can run the Registry Editor by writing "regedit" in the start menu, then right-click the first result that appears and selecting "Run as administrator".]
I stumbled upon the following suspicious key:
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\empty\command
|
2.
I went to another computer I had working alright and searched for the same key to find out that the contents were different.
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\empty\command
|
3.
I just tried to copy the
DelegateExecute
String key to my bad Windows installation registry.However, I had no permissions to write in the original key because it's not supposed to be touched.
When trying to add the missing key, permission was denied |
4.
I used the amazing RegDACL program from Frank Heyne to unlock the key:
In a Windows Command Prompt (or PowerShell) execute the following command (having RegDACL in either the path or the current directory):
[You can run the Command Prompt by writing "cmd" in the start menu, then right-click the first result that appears and selecting "Run as administrator".]
RegDACL.exe HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\empty\command /GGA:W(NI)
Now it should be possible to change the registry key (if you do it as Administrator):
C:\>RegDACL.exe HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\empty\command /GGA:F(CI) RegDACL 6.2 - Permissions Manager for Registry keys for Windows Copyright (c) 1999-2007 Frank Heyne Software (http://www.heysoft.de) This program is Freeware, use it on your own risk! Granting "W(NI)" access for predefined group "Administrators" - adding new entry
Don't forget to restore the original permissions afterwards.
5.
Finally I just added a String key named:
DelegateExecute
with the content: {48527bb3-e8de-450b-8910-8c4099cb8624}
, or use the .reg
inside the previous key (HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\empty\command
) file I provide at the end of this post.It should look like this after adding the missing key |
The problem should now be fixed, if you go to the "Empty the Recycle Bin" option you'll see the familiar dialog:
One more thing. I had a backup key in my computer made by the trial TuneUp Utilities 2012, so it may have been the cause of this issue.
Update of 2012-04-19:
Download the .reg file that fixes the key automatically: DelegateExecute.reg
(you still need to apply the permissions explained earlier)
Useful links:
RegDACL
I've had this problem since last year on one of my Windows 7 installations. There have been a number of other problems with that installation so I almost never use it anymore. At the time when this problem first surfaced I was never able to really find out any information about this issue!
ReplyDeleteI very much appreciate your post!!!
When I searched in the registry that key was already there. So I searched the registry for that UUID and found keys with data "Empty Recycle Bin verb invocation" so it is pointing to something. I also found both keys in the Win32 On Win64 node the classes hive as well as in the classes\CLSID key of the software hive of HKLM.
But my recycle bin won't empty... So I guess I'm back to square one. Any ideas?