Friday, February 22, 2013

RSA Client Failed - Error loading desktop client?

Source: https://community.emc.com/message/634487 

RSA Client Failed - Error loading desktop client?
SecurID.exe is trying to load desktopclient.dll, which is depending upon QtGui4.dll, which by itself is depending upon QtCore4.dll, both usually installed in C:\Program Files (x86)\RSA SecurID Token Common (on a 64-bit Windows). Under certain circumstances (don't know exactly when and why) another copy of QtCore4.dll might get installed in C:\Windows\SysWOW64, which is missing one entry point (in my case there was a version 4.8, copyright by Nokia, but SecurID.exe build 4.1.1.836 is using version 4.4 of this library). Obviously there is a bug in desktopclient.dll causing the attempt to load the version in SysWOW64 instead the one in its own Common directory, which causes the client to fail...

But the good news, I found a work around:

Copy QtCore4.dll from C:\Program Files (x86)\RSA SecurID Token Common into C:\Program Files (x86)\RSA SecurID Software Token and voila, SecurID.exe runs perfectly fine.

Please RSA/EMC dev guys, fix this issue. Actually, there is a flag in LoadLibraryEx called LOAD_WITH_ALTERED_SEARCH_PATH… You might want to read this article, too: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx ;-)