Registering a DLL in Windows 10 is appropriate only for DLLs that are designed as self-registering COM components. Many DLL files cannot and should not be registered with regsvr32. If an application reports a missing DLL, reinstalling or repairing that application is often safer than downloading a DLL from the Internet.
Note: Windows 10 reached end of support on October 14, 2025. Consumer Extended Security Updates (ESU) now run until October 12, 2027. These steps still work on Windows 10, but upgrading to Windows 11 is the long-term way to keep getting security fixes.
Quick Answer
Open Command Prompt as administrator and run regsvr32 "C:\path\to\file.dll". On 64-bit Windows, register 32-bit DLLs with C:\Windows\SysWOW64\regsvr32.exe instead. Only do this for DLLs the software publisher says should be registered.
Register a legitimate self-registering DLL
- Confirm from the software publisher’s documentation that the DLL is intended to be registered with
regsvr32. - Verify the DLL came from the legitimate application or vendor.
- Open Command Prompt as administrator when system-wide registration requires elevation.
- Run
regsvr32 "C:\path\to\file.dll"using the DLL’s actual trusted path. - Read the result dialog instead of assuming registration succeeded.
- Restart or reopen the affected application and test the original problem.
32-bit and 64-bit registration can differ
Windows includes separate 32-bit and 64-bit system components, and COM registration must match the component architecture. Follow the software vendor’s instructions rather than choosing a regsvr32 path based only on its folder name.
Useful regsvr32 Options
| Command | What it does |
|---|---|
regsvr32 "file.dll" |
Registers the DLL |
regsvr32 /u "file.dll" |
Unregisters it |
regsvr32 /s "file.dll" |
Registers silently, without the result message (useful in scripts) |
C:\Windows\SysWOW64\regsvr32.exe "file.dll" |
Registers a 32-bit DLL on 64-bit Windows |
What Common Error Messages Mean
- “The module failed to load”: the path is wrong, the file is the wrong architecture (32-bit vs 64-bit), or another file it depends on is missing. Reinstall the program that owns it.
- “The entry-point DllRegisterServer was not found”: the DLL isn’t a self-registering component and doesn’t need registering. Look for a different cause of the original error.
- Error 0x80070005: access denied. Run Command Prompt as administrator.
Missing Windows DLL Errors
If the error names a Windows system file rather than one from a third-party app, repair Windows instead of registering anything. In an administrator Command Prompt, run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, and restart; see running System File Checker. For DLLs from runtime packages such as Microsoft Visual C++ Redistributables, reinstall the package from Microsoft’s website.
Do not download individual DLL files from DLL sites
A random file with the correct name may be the wrong version, architecture, or malicious. Repair/reinstall the application, install its legitimate runtime dependency, or use Windows servicing tools when the missing component belongs to Windows.
An error can mean the DLL is not registerable
Messages about a missing entry point can indicate that the DLL does not export the registration function regsvr32 expects. That is not evidence that you should force registration with another tool.
If registration is part of a software installation, prefer the vendor’s installer or repair process because it can register all required components in the correct order and architecture.
Back up configuration before changing shared components
COM components can be used by more than one application. If you are repairing a business or specialized system, document the existing DLL path/version and create an appropriate recovery point or backup before replacing or unregistering shared files. Do not overwrite a newer DLL merely because an old application ships one with the same filename.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.