Regsvr32: “LoadLibrary failed – The specified module could not be found”

During a recent deployment I had had an issue with the registration of a DLL.  Part of the deployment process included the registration with RegSvr32. On one computer the registration failed with the error “LoadLibrary failed – The specified module could not be found”.  This error was a bit troublesome as the installation process was previously successful on several other computers. I verified the path was correct, the library existed, permissions were correct and more.

I used Process Monitor to trace the activity, filtered on the Regsvr32 process, and noticed that a dependent library was missing. Process Monitor indicated, in the list, the specific file that was not found. In the end I copied the missing library to the computer and the registration was successful.

Leave a Comment