Link to home
Start Free TrialLog in
Avatar of narmi2
narmi2

asked on

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
SOLUTION
Avatar of rossfingal
rossfingal
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of narmi2
narmi2

ASKER

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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.