How To Guides Org

How to register DLL files in Windows in 3 steps (2015 Update)

If you want to know how to register DLL files in Windows, read this quick guide that will teach you the basics.


Using “run” to register

Registering DLL files is quite simple, all you need to know is the command to register DLL files and the name of the DLL file that you want to register.

1. Step Hit Windows key + R
2. Step Enter the command regsvr32 name.dll (replace name with the actual DLL name)
3. Step Example regsvr32 urlmon.dll

Common registration parameters

The command to register the files manually is called regsvr32. Now let’s take a quick look at the syntax of regsvr32:

With option /i you can pass an optional command via /i:cmdline.

DllInstall is used only for application installation and setup.

Faster Method: Manually Register DLL files via Command Prompt

So, to register DLL files, simply open up an elevated command prompt and run commands like:

If you successfully re-register a DLL file, you should get a message like this one:

DllRegisterServer in shell32.dll succeeded.

Re-registering a DLL file manually can often help to solve problems, so you might want to look into it if you have problems with DLL files. As you can see from the command line option above, you can also unregister DLL files. Read our guide how to unregister DLL files if you want to know how it works.