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.

Rate this article:
This article was rated 2.3 out of 5 stars
Based on 3 votes

How to reset Windows 8 password
How to clear flash cookies (LSO) in Chrome, Firefox, IE9
Fix Error 1935: Re-Install Microsoft .NET Framework And Repair Registry

Juicy Logo White You love Windows, Gaming and everything digital? Great, we too! We have thousands of great Windows 7 themes, registry tweaks, tutorials, so please use our search box if you look for anything specific.

If you have some awesome desktop themes, tips or want to write for us, then drop us a mail!



Written by: Oliver Krautscheid (Nick: oliversk)
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common e.... Full Bio

Contact The Author: support@windows7themes.net Get Free Help.png

Connect:

facebook google twitter LinkedIn


Need help? Ask a question at our QA site, click the red button to get started:

6 Responses to How to register DLL files in Windows 7

  1. 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. 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. 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. 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. 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. 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>