|
| |||||||||
| Tags: action, check, dll, registered, regsvr32 |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to check if a certain DLL is registered? Need RegSvr32 WITHOUT action
Ok, I can register or un-register a certain DLL with the well known RegSvr32 command. But how can I just check wether a certain DLL is already registered or not WITHOUT any action? Furthermore assume that there are two DLLs with the same name: D:\myproj\aaa.dll and D:\myproj\stable\aaa.dll Say I find out that aaa.dll IS registered. How can I find out which of the two DLLs was previously registered (the path of the DLL) ? Timo |
|
#2
| |||
| |||
| RE: How to check if a certain DLL is registered? Need RegSvr32 WITHOUT
First you need to know the name of the object you are looking for (you might have to search the registry for this). Using "C:\WINDOWS\System32\wshom.ocx" as an example (same thing for OCX/DLL) then you would search the registry under HKEY_CLASSES_ROOT and find out that "WScript.Network" is the name to look for. Your script would read the CLSID (a.k.a. GUID a.k.a globally unique identifier) from this key: HKEY_CLASSES_ROOT\WScript.Network\CLSID - Then use the CLSID to find the actual code here: HKEY_CLASSES_ROOT\CLSID\{093FF999-1EA0-4079-9525-9614C3504B74} - The file path is stored here: HKEY_CLASSES_ROOT\CLSID\{093FF999-1EA0-4079-9525-9614C3504B74}\InProcServerÂ*32 Keep in mind there can be different versions referenced (ie: WScript.Network.1, WScript.Network.2), but the current version should be listed without a number at the end (WScript.Network) |
|
#3
| |||
| |||
| Re: How to check if a certain DLL is registered? Need RegSvr32 WITHOUT action
Search these keys for the DLL file's name: [HKEY_CLASSES_ROOT\CLSID] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs] ju.c "Timo Price" <price3@gmx.net> wrote in message news:49a26a0b$0$32667$9b4e6d93@newsspool2.arcor-online.net... > Ok, I can register or un-register a certain DLL with the well known RegSvr32 command. > > But how can I just check wether a certain DLL is already registered or not WITHOUT any action? > > Furthermore assume that there are two DLLs with the same name: > > D:\myproj\aaa.dll > and > D:\myproj\stable\aaa.dll > > Say I find out that aaa.dll IS registered. How can I find out which of the two DLLs was previously registered > (the path of the DLL) ? > > Timo > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to check if a certain DLL is registered? Need RegSvr32 WITHOUT action" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| regsvr32/u lmpgspl.ax | boopygirl | Windows Vista Performance | 8 | 10-02-2010 06:20 PM |
| REGSVR32 0x80070005 | Jarryd | Windows Security | 4 | 16-08-2009 12:08 PM |
| Regsvr32 HELP! | Baruch Ortiz | Windows Security | 1 | 02-04-2008 10:25 AM |
| Regsvr32 | stacey | Windows XP Support | 8 | 07-12-2007 11:28 PM |
| regsvr32 error | Lulu | Vista Help | 5 | 17-06-2007 08:41 AM |