If you want to know how to register DLL files in Windows 7, read this quick guide that will teach you the basics.
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.
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.
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.