Link to home
Start Free TrialLog in
Avatar of Andre P
Andre PFlag for Canada

asked on

Outlook 2010 security hash generator - Unable to load hashctl.dll

I have registered  using regsvr32 hashctl.dll  and getting the message that it has been registered but I am still getting the message " Unable to load hashctl.dll please make sure this file has been registered.
Is there any way to verify via registry ?
Avatar of Professor J
Professor J

you are probably doing this on window64bit. becuase any 32-bit DLLs that are placed in the System32 folder on a 32-bit system must be placed in the SysWOW64 folder and registered there.
make sure the dll is stored as followed
x64-EXEs are stored in: \Windows\system32
x86-EXEs are stored in: \Windows\syswow64

So let say if you are having the 64bit Windows 7 machine, then you can look in HKLM\Software\Wow6432Node\Classes\CLSID for the registered {guid}. Which is where c:\system32\syswow64\regsvr32.exe writes them. But to really debug this, you can consider SysInternals' Process Monitor or Process Explorer utility. Its trace shows you how this regsvr exe is writing the keys in the registry.
Avatar of Andre P

ASKER

I copied the hashctl.dll into
 \Windows\syswow64
and no joy.
I then copied it into  \Windows\system32
still no joy
then I ran
regsvr32 hashctl.dll and received the message shown in the attached one.png
then ran it again and same message as in two.png


I don't understand the instructions for what to look for in the registry .
I am down a rabbit hole. trying to fix an error in a tool which  is supposed to generate a hash which allows me to fix an error with running an addin in outlook .. I'm getting further from my goal .
two.png
one.png
one means to verify if it is register is to go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\"GUID"

And find a key called "InProcServer32" for instance and there will be the default value that has the DLL. Do a find for the dll name but probably (since we do not know its GUID) has to search from the parent path. Finding it strange why the two message. we can also try to register with exact path to where the DLL is found like system32
Avatar of Andre P

ASKER

I found an entry s you indicated see attached by searching for hashctl.dll in registry

See entry though
registry.png
Avatar of Andre P

ASKER

I also found it here which is closer to what you said .
register2.png
Strange it is mentioned to be g drive and looks to me more of a external media drive. To find out what component own that dll. Indeed, register2 is closer as a component.

We can try searching based on its progid to know what appl owns it, at least it should be outlook add on otherwise it is another application. Thus indeed it is not registered for the add on and I suggest we download and reinstall. See one example for excel
For instance, Microsoft Excel has a version-independent ProgID "Excel.Application" and version-dependent ProgIDs such as "Excel.Application.8" and "Excel.Application.9."

Given a ProgID for an out-of-process server, you can obtain its location by examining the registry. An out-of-process server has a key in the registry at:

HKEY_LOCAL_MACHINE\Software\Classes\PROGID\CLSID
https://support.microsoft.com/en-us/kb/240794
Avatar of Andre P

ASKER

Its a Gdrive because thats where it was loaded from .
I was following the instructions from this site .
https://technet.microsoft.com/en-us/library/cc179108(v=office.14).aspx
The bat file should have the regsvr32 command called. I supposed the dll remains even after at the location of registration. May can unregister first and place into system32 as done before and then register again using the createhash.bat. State the full path as required. Then check again to see if registry has that changes too.
Avatar of Andre P

ASKER

Ok .. Im almost ready to give up .
I followed your instruction ad I am still getting the same error.

Here is where its registered and I am still getting the error and I am unable to generate this hash . I am including a copy of the tool .I am at the point where I cannot spend much more time on this .

Just please let me know is there is anything left to try .
I will have to remove the addin unless I can get the hash generated and added to the group policy .

Note I cannot post the DLL's
addinhash.vbs
CreateHash.txt
Syswow64.png
Screen-Shot-2016-01-17-at-11.50.48-A.png
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany 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 Andre P

ASKER

Wow !! thanks for the tip ! I do not know why that little bit was not in the instructions .