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

Andre P
Andre P used Ask the Experts™
on
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 ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Professor JMicrosoft Excel Expert
Top Expert 2014

Commented:
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.
btanExec Consultant
Distinguished Expert 2018

Commented:
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.

Author

Commented:
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
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

btanExec Consultant
Distinguished Expert 2018

Commented:
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

Author

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

See entry though
registry.png

Author

Commented:
I also found it here which is closer to what you said .
register2.png
btanExec Consultant
Distinguished Expert 2018

Commented:
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

Author

Commented:
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
btanExec Consultant
Distinguished Expert 2018

Commented:
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.

Author

Commented:
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
"Batchelor", Developer and EE Topic Advisor
Top Expert 2015
Commented:
Run a normal cmd.exe (64bit) with
regsvr32 /s /u c:\windows}sysWoW64\hashctl.dll

Open in new window

to clean up the mess - you mixed up 64bit and 32bit registry and code.
Then use the cmd.exe from SysWoW64 to register the DLL via the batch:
pushd g:\hashtool
createhash1 /register
createhash1 g:\Addin\PLOUTCOM.DLL
createhash1 /unregister
popd

Open in new window

Note that this will temporarily register the DLL in the G: path - no change in system folders required!

Author

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial