How to register DLL files in Windows 7

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


Register DLL files

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:

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.

2 of 5 0 (40%) 4 votes
- Cheers!


Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:
support@windows7themes.net

Get Free Help

Connect With Our Site:

 

   


Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link (g2a.com/r/win7themes) and save money at the same time:

6 Responses to How to register DLL files in Windows 7

  1. Orange Community Approved Comment:
    nirmal said:

    i cannot install pals e dictionary in my os windows 7,problem is it cannot loaded the file dao350.dll,is there any solution? Thanks in advance………………..

  2. Orange Community Approved Comment:
    vivienna said:

    i have a problem register dll in window 7,it show ms message “Component ‘TABCTL32.OCX; or one of its dependdencies not correctly registered : a file missing or invalid.

    pls adv.

  3. Orange Community Approved Comment:
    W. Jager said:

    Hello DLL,

    I want to play Call of Duty 2 play, but it requires a DLL file.
    I recorded this, but he still asks for.
    What should I do?

    Sincerely, W. Jager.

  4. Orange Community Approved Comment:
    sachin shinde said:

    I am getting error of compatibilty of module with windows version error. I am using windows 7 and dll are devloped in windows xp and i am not able to register it. how to solve problem

  5. Orange Community Approved Comment:
    hamilton said:

    REGSVR32 C:\Windows\System32\comdlg32.ocx

    Not able to register the above command. Error Message is ‘to register must provide binary name’

  6. Orange Community Approved Comment:
    oliversk said:

    Hi hamilton, have you checked that the file actually exists? Also, I believe you can only use it on DLL files not .ocx – hence it will output the error because you did not specify a correct module

    Also are you on 64-bit or 32-bit Windows?

    64-bit: %systemroot%\System32\regsvr32.exe.
    32-bit: %systemroot%\SysWoW64\regsvr32.exe

    Also read this http://windows7themes.net/to-register-a-module-you-must-provide-a-binary-name.html

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *