Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a namespace extension that I "accidentally" removed by right-clicking on it in Windows Explorer and then deleting it (Windows 7). The prompt I was given was that I could restore it in Control Panel, however I've searched/googled but I've yet to find where I can restore the extension. Help ? :)

share|improve this question
    
What extension was it? What did it do? – Karan May 8 '13 at 13:21
    
It was the "Explorer Data Provider" example: msdn.microsoft.com/en-us/library/windows/desktop/… – Robert May 8 '13 at 19:58
    
1) Can't you build the sample code provided? Even the Express Editions of VB/VC (whichever's needed here) should suffice. 2) If an Explorer shell extension is in use, normally you shouldn't even be allowed to delete the DLL until you un-register it. Don't know how you managed it, unless perhaps you used some Unlocker type utility. 3) If you simply deleted a DLL manually registered using regsvr32, I fail to see how Explorer would tell you that it can be restored via Control Panel. I've never seen this happen. Would be great if this can be reproduced so a screenshot of the dialog is available. – Karan May 9 '13 at 11:29
    
For 1)2)3) there are no issues. I know everything there is to know about registering/using extensions with windows explorer (ATL black belt ;) The problem is that if the DLL is registered with the SFGAO_CAN_DELETE flag set (in Attributes), you have the possibility to "Delete" the extension (right-click in explorer). If I do this, the DLL still has all data in the registry set (i.e it has nothing to do with deleting the DLL or unregistering it), and when I do this, I'm told (by explorer) that I can restore the extension in Control Panel. But where in CP eludes me. I'll try fix a screenshot. – Robert May 13 '13 at 7:31
up vote 0 down vote accepted

Under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{your class id}\ShellFolder

There is a setting

"Attributes"=dword:00100000

That appears to get set when you delete the icon representing your extension.

Removing the entire HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{your class id}\ShellFolder hive worked for me.

share|improve this answer
    
Thank you @Dan. Still I wonder where the GUI for this in Control Panel is... :) – Robert Dec 30 '15 at 8:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.