FacebookTwitterLinkedIn

How to Register DLL Files in Windows 11/10

How to Register/Re-register DLL Files in Windows 10 and Windows 11

Sometimes users experience problems such as running certain applications and need to register a DLL file or multiple DLL files manually. This article will show you how to register DLL files in Windows 10 (64 and 32-bit versions) and Windows 11.

How to Register a DLL

DLL stands for Dynamic Link Library. A DLL file includes a combination of multiple files. DLLs help applications find the right libraries to perform the operations they were designed to perform.

In most cases, the libraries are already on your system, and the DLL files direct the application to the libraries. DLL files are created to prevent duplicate files with the same functions.

However, most DLL files don’t support registration or are already registered. You can’t register DLL files that came pre-installed on Windows because Windows updates fix all outdated and corrupted DLLs.

Third-party libraries and DLL files are registered during installation. Unfortunately, when you install an application, its DLL files may not register and prevent the application from accessing the libraries via DLLs. Registering DLL files can fix startup problems of applications or games that require specific DLL files to work.

Registering DLL files means storing the DLL file information into the Windows registry. DLL files can be registered using the Regsvr32 tool.

The Regsvr32 tool is a command-line utility used for registering and un-registering DLL and OCX files. The tutorial found below will help you register DLL files in Windows 11, Windows 10, in 32-bit and 64-bit versions.

Video Tutorial on How to Register DLL Files in Windows

Table of Contents:

Register a DLL File in Windows 32-bit

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and open Command Prompt as an administrator

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the Command Prompt as an administrator.

regSvr32 FileName.dll and press Enter

3. In the Command Prompt window, type in cd\ and press the Enter key.

4. Then, type in regSvr32 FileName.dll and press Enter. Substitute “FileName” with the name of the DLL file you want to register. For example, to register the “msxml3.dll” file, type in  regSvr32 msxml3.dll and press Enter.

Click OK after registering DLL file

5. Click OK.

regSvr32 /u FileName.dll and press Enter

6. To unregister a file type in regSvr32 /u FileName.dll and press Enter.

Click OK after unregistering DLL file

7. Click OK.

Note, if you get “The module “FileName.dll” was loaded but the entry point dllRegisterServer was not found error, it means that the file doesn’t need to be registered.

[Back to Table of Contents]

Register a DLL File in Windows 64-bit

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and open Command Prompt as an administrator

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the Command Prompt as an administrator.

regSvr32 FileName.dll and press Enter

3. in the Command Prompt window, type in cd \Windows\SysWOW64 and press the Enter key.

4. Then, type in regSvr32 FileName.dll and press Enter. Substitute “FileName” with the name of the DLL file you want to register.

Click OK after registering DLL file

5. Click OK.

regSvr32 /u FileName.dll and press Enter

6. To unregister a file type in regSvr32 /u FileName.dll and press Enter.

Click OK after unregistering DLL file

7. Click OK.

[Back to Table of Contents]

Re-register All DLL Files on Your System

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and open Command Prompt as an administrator

2. In the run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the Command Prompt as an administrator.

Run the for %1 in (*.dll) do regsvr32 /s %1 command to re-register all DLL files on the system

3. In the Command Prompt window, type in for %1 in (*.dll) do regsvr32 /s %1 and press Enter. Re-registering all .dll files will take some time.

[Back to Top]

▼ Show Discussion

About the author:

Rimvydas Iliavicius

Rimvydas is a researcher with over four years of experience in the cybersecurity industry. He attended Kaunas University of Technology and graduated with a Master's degree in Translation and Localization of Technical texts. His interests in computers and technology led him to become a versatile author in the IT industry. At PCrisk, he's responsible for writing in-depth how-to articles for Microsoft Windows. Contact Rimvydas Iliavicius.

Our guides are free. However, if you want to support us you can send us a donation.

About PCrisk

PCrisk is a cyber security portal, informing Internet users about the latest digital threats. Our content is provided by security experts and professional malware researchers. Read more about us.

Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.