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

Register DLL files

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.

Click here to join Ultra.io - Rare NFTs and Play-to-Earn Games or Read my review first!

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:

  • /u Used to unregister DLL files
  • /s If you don’t want any dialogs you can use the “s” for silent option
  • /c Get the console output
  • /n Register DLL file without DllRegisterServer
  • /i Register DLL file with DllInstall (or DllUninstall if /u is specified)

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:

  • regsvr32 shell32.dll
  • regsvr32 shdocvw.dll

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

DllRegisterServer in shell32.dll succeeded.

RegSVR32 - Register DLL files

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.