Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 576
  • Last Modified:

finding a registered dll?

hello

in windows 2000 if i use the following command

regsvr32.exe "some.dll"

how do i see where it is in the registryy?

thanks
0
narmi2
Asked:
narmi2
  • 3
  • 2
4 Solutions
 
rossfingalCommented:
Hi!

Open "Regedit" and do a search - might be listed in numerous places.
Hi-Lite "My Computer" -
Click on "Edit" - click on "Find" - type in the name - click on "Find Next" until you find all entries.

RF
0
 
narmi2Author Commented:
sorry, i should have made the title more clear. what i mean is, how do i find it in the registry and delete all instances of it completely from the registry?

thanks
0
 
IvanVillamizarCommented:

If you want to "unregister"  just run:

regsvr32 -u "some.dll"



0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
rossfingalCommented:
No, it's not this:
regsvr32 -u "some.dll"

It's this:
regsvr32 /u "some.dll"

RF
0
 
rossfingalCommented:
Unregister it first  - see above -
then search the "Registry" (see above) "Find" it in the Registry
and delete ALL references to it.

RF
0
 
IvanVillamizarCommented:
Actually both -u and /u work.

The thing is some of the entries that are added to the registry when you run regsvr32 are by CLSID and not by name, so you would need to know the CLSID and search for that too.  To make things worse, some dlls have more than one CLSID.

Here's an example of what happened when I ran regsvr32 adsiedit.dll:  

SetValue      HKCR\CLSID\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\InprocServer32\(Default)      SUCCESS      "C:\adsiedit.dll"      
SetValue      HKCR\CLSID\{E6F27C2A-16BA-11D2-81D0-0000F87A7AA3}\InprocServer32\(Default)      SUCCESS      "C:\adsiedit.dll"      
SetValue      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NameString      SUCCESS      "ADSI Edit"      
SetValue      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\About      SUCCESS      "{E6F27C2A-16BA-11D2-81D0-0000F87A7AA3}"      
SetValue      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NodeType      SUCCESS      "{D4F3374F-052F-11D2-97B0-00A0C9A06D2D}"      
SetValue      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\Provider      SUCCESS      "Microsoft Corporation"      
SetValue      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\Version      SUCCESS      "5.00.2139.1"      
SetValue      HKLM\Software\Microsoft\MMC\NodeTypes\{D4F3374F-052F-11D2-97B0-00A0C9A06D2D}\(Default)      SUCCESS      "Root ADSI Edit Subtree"      
SetValue      HKLM\Software\Microsoft\MMC\NodeTypes\{5C225203-CFF7-11D2-8801-00C04F72ED31}\(Default)      SUCCESS      "ADSI Edit Connection Node"      
SetValue      HKLM\Software\Microsoft\MMC\NodeTypes\{8690ABBB-CFF7-11D2-8801-00C04F72ED31}\(Default)      SUCCESS      "ADSI Edit Container Node"      
SetValue      HKLM\Software\Microsoft\MMC\NodeTypes\{70B9C151-CFF7-11D2-8801-00C04F72ED31}\(Default)      SUCCESS      "ADSI Edit Leaf Node"      
SetValue      HKLM\Software\Microsoft\MMC\NodeTypes\{072B64B7-CFF7-11D2-8801-00C04F72ED31}\(Default)      SUCCESS      "ADSI Edit Query Node"      

And here's what happened when I ran regsvr32 -u adsiedit.dll:

DeleteKey      HKCR\CLSID\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\InprocServer32      SUCCESS      Key: 0xE20F4130      
DeleteKey      HKCR\CLSID\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}      SUCCESS      Key: 0xE3127530      
DeleteKey      HKCR\CLSID\{E6F27C2A-16BA-11D2-81D0-0000F87A7AA3}\InprocServer32      SUCCESS      Key: 0xE20F4130      
DeleteKey      HKCR\CLSID\{E6F27C2A-16BA-11D2-81D0-0000F87A7AA3}      SUCCESS      Key: 0xE377A588      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NodeTypes\{072B64B7-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE23621A8      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NodeTypes\{5C225203-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE23621A8      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NodeTypes\{70B9C151-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE23621A8      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NodeTypes\{8690ABBB-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE23621A8      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NodeTypes\{D4F3374F-052F-11D2-97B0-00A0C9A06D2D}      SUCCESS      Key: 0xE23621A8      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\NodeTypes      SUCCESS      Key: 0xE20F4130      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}\Standalone      SUCCESS      Key: 0xE20F4130      
DeleteKey      HKLM\Software\Microsoft\MMC\SnapIns\{1C5DACFA-16BA-11D2-81D0-0000F87A7AA3}      SUCCESS      Key: 0xE377A588      
DeleteKey      HKLM\Software\Microsoft\MMC\NodeTypes\{D4F3374F-052F-11D2-97B0-00A0C9A06D2D}      SUCCESS      Key: 0xE377A588      
DeleteKey      HKLM\Software\Microsoft\MMC\NodeTypes\{5C225203-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE377A588      
DeleteKey      HKLM\Software\Microsoft\MMC\NodeTypes\{8690ABBB-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE377A588      
DeleteKey      HKLM\Software\Microsoft\MMC\NodeTypes\{70B9C151-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE377A588      
DeleteKey      HKLM\Software\Microsoft\MMC\NodeTypes\{072B64B7-CFF7-11D2-8801-00C04F72ED31}      SUCCESS      Key: 0xE377A588      

If you look close, everything that was created during registration was deleted during "unregistration"

The point is if regsvr32 /u succeeds, you have nothing else to worry about.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now