How to Register a DLL File in Windows XP and Vista

Ran into a Windows problem where you have to register a DLL file on your computer? A DLL file, aka Dynamic Link Library, are files that contain functions used across multiple applications.

For example, Microsoft Office has hundreds of DLL files that can be used between the various Office programs to perform certain certain functions, such as spell checking, etc. Multiple programs can load the same DLL at the same time.

If you need to register a DLL due to some sort of corruption or installation failure, you can do it manually by following the method outlined below.

Step 1: First click on Start, then Run.

register dll file

Step 2: Now all you have to do to register a DLL file is to type in the regsvr32 command, followed by the path of the DLL file.

regsvr32 “C:\Windows\System32\myfile.dll”

register a dll file

Step 3: Now click OK and you should get a confirmation message that the DLL has been registered successfully.

successfully registered dll

That’s it! Now your DLL has been successfully added to the registry and can be used by Windows programs.

If you are not able to register a DLL file and you end up getting an error message saying that the attempt to register the DLL file failed, you might want to disable UAC (User Account Control) in Windows Vista.

Turning off UAC has been known to fix the issue of failed attempts to register DLLs. Other issues could be that you need to right-click on the command prompt and choose Run as Administrator. Sometimes if the command prompt does not have administrator privileges, the register DLL command will fail.

Finally, you can try copying the regsvr32.exe file from an XP computer onto your Vista machine and then set the compatibility to Windows XP SP2. If you still have issues, post a comment! Enjoy!

More posts from the How-To Category

Using the Transmission Web Interface

environment variables.png

Create Custom Environment Variables in Windows 7

Enable Microphones and Line-In Audio in Windows

How to fix “not recognized as an internal or external command” in Windows

Popular Posts This Month

event id

Fix Windows 8 App Opens Then Closes

runas command

5 Windows Alternatives to the Linux sudo Command

5 Utilities for Changing DNS Servers in Windows Reviewed

windows defender

Windows Defender vs. Security Essentials vs Safety Scanner

Comments [5]

  1. Abdul says:

    Hi, I am using Windows XP 2002 Service Pack3. I have developed a .NET dll and i want to register it at my machine. I have put the dll at c:windowssystem32. When i try to register it using the command you mentioned in the article; I got following error:

    "C:WINDOWSsystem32DLLName.dll was loaded, but the DllRegisterServer entry point was not found.

    This file can not be registered."

    Please can you help me. Thanks in advance.

  2. quiksilver2031 says:

    i am using windows xp 2002 service pack 2 i am also trying to register a dll its d3dx9_24.dll and i put it in system 32 and when i goto register it it says it was loaded but the dllregisterserver entry point was not found and the file can not be registered

  3. sagar says:

    Hi, I am using Windows XP 2002 Service Pack3. I have developed a Parallel Port dll and i want to register it at my machine. I have put the dll at c:windowssystem32. When i try to register it using the command you mentioned in the article; I got following error:
    “C:WINDOWSsystem32DLLName.dll was loaded, but the DllRegisterServer entry point was not found.
    This file can not be registered.”
    Please can you help me. Thanks in advance.

  4. Minaj says:

    Hi, I am using Windows XP 2002 Service Pack3. I have developed a .NET dll and i want to register it at my machine. I have put the dll at c:windowssystem32. When i try to register it using the command you mentioned in the article; I got following error:

    “C:WINDOWSsystem32DLLName.dll was loaded, but the DllRegisterServer entry point was not found.

    This file can not be registered.”

  5. sachin shinde says:

    I have windows 7 32 bit. I want to register a dll which is from windows xp. how to do it?

Leave a Reply