regsvr32 The Module Failed To Load The Specified Module Could Not Be Found

Register a dll in Windows

To register/install a dll with windows you just execute some simple commands using command-prompt or power-shell whatever you prefer. I prefer Command prompt and attaching the screen-shots from CMD. Anyway both goes the same way for these commands.

  1. Copy the dll to System32
  2. Open Command prompt in Admin Mode “Run as Admin”.
  3. Change directory to Windows\System32\
  4. run command regsvr32.exe yourdll.dll (this line register your dll with system)

If you have a 32-bit operating system you are done. hopefully it will register the mentioned component to your system.

 
 
 

The regsvr32 Error

But if you have a 64-bit system it can pop you the error saying

“The Module Failed To Load The Specified Module Could Not Be Found”

This happens because you may be trying to register a 32-bit dll within your 64-bit window’s system. So what’s now?
 
 
 

Solution: Register a dll (Window’s 64-bit)

  1. Locate folder SysWow64 nearby System32 in Windows folder.
  2. Copy the dll file to this folder
  3. Now open command prompt and try to install using same commands.

Hopefully you will not get the same error now, and dll is registered to your windows OS.
 
 
 

But Why All This & Who Is This SysWOW64?

 

This error generally occurred when you try to register 32-bit dll by copying it to System32. But when your fire the application Regsvr32.exe , it actually looks for the file in SysWow64 folder and throws the error “File Not Found!” because you are sitting on a 64-bit machine.

So once you place the file in SysWow64 it works. Cheers 🙂

Advertisements

Say something : I accept all the "Humer&Critic"

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s