Fix: DLLRegisterserver failed on Windows 10

Matthew Adams
by Matthew Adams
Windows & Software Expert
Affiliate Disclosure
Share this article:

  • Seeing the dllregisterserver failed error implies that the dll file could not be registered.
  • To start fixing this problem, open Command Prompt as an administrator and edit permissions for the TypeLib registry key.
  • If you want to be sure that you're always ready for any errors, check out our extensive Windows 10 Error Hub.
  • For more easy-to-follow guides, consider bookmarking our useful DLL Errors section.
To fix various PC problems, we recommend Restoro PC Repair Tool: This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:
  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

DLLRegisterserver failed errors can arise on various Windows platforms. They arise when users try to register DLL or OCX files with the regsvr32 command-line utility. These are two examples of DLLRegisterserver failed error messages:

The module <file> was loaded but the call to DLLRegisterServer failed with error code 0x8002801c.
The module <file> was loaded but the call to DLLRegisterServer failed with error code 0x80070005.

Those regsvr32 error messages are very similar, albeit with different codes. So, the fixes for those DLLRegisterserver failed errors are much the same. If you need to fix one of the above, or similar, DLLRegisterserver errors, check out these resolutions.

How to fix DLLRegisterserver failed with error code 0x8002801c on Windows 10

1. Open an elevated Command Prompt

  1. DLLRegisterster failed errors often arise when users aren’t utilizing regsvr32 within an elevated Command Prompt. Press the Windows key + S hotkey.
  2. Next, type Command Prompt in the text box to search for it.
  3. Right-click Command Prompt to select a Run as administrator option for it, which will open an elevated Prompt window.
    Run as administrator option dllregisterserver failed
  4. Try registering the OCX or DLL file within the elevated Command Prompt.

If this does not solve your problem, move to the next solution.

Run a third-party DLL fixer

There are plenty of third-party programs out there that promise to fix or replace missing or broken DLLs, and most of them stay true to their word. However, if you are to choose just one, then there’s no way you can go wrong with Restoro.

How to use Restoro to fix missing or broken DLLs

  1. Download here Restoro and install it on your Windows 10 PC
  2. Let Restoro perform a full system scan
  3. When the scan is finished, press Clean Now
    • This is when you will have to activate your license key
    • Before the repair process starts, Restoro will create a restore point of your system in case things go wrong
  4. Restoro will now proceed to fix your DLL-related issue.

Note: While Restoro can be downloaded for free, it has limited functionality until you activate it. That being the case, if you want the full benefit of a great PC repair and optimization tool, you should purchase the full license.

2. Copy the OCX into the SysWow64 folder

    1. If the DLLRegisterserver error arises for an OCX file, try copying that file into the SysWow64 folder. To do so, open File Explorer.
    2. Open this folder in File Explorer: C:/Windows/System32.
    3. Type the OCX file the DLLRegisterserver error arises for in the search box.
    4. Right-click the OCX file found and select Copy.
    5. Then open the Windows > SysWow64 folder.
    6. Right-click an empty space within the SysWow64 folder and select Paste.
    7. Thereafter, open an elevated Command Prompt as outlined for resolution one. Then run the regsvr32 command for the OCX file you pasted into the SysWow64 folder.

3. Edit the registry

  1. Adjusting permissions for the TypeLib registry key might also fix your DLLRegisterserver error. To do so, press the Windows key and R at the same time.
  2. To open the Registry Editor, type regedit in Run and click OK.
  3. Open this registry key: Computer/HKEY_CLASSES_ROOT/TypeLib.
    TypeLib registry key dllregisterserver failed
  4. Right-click TypeLib and select Permissions.
  5. Select your user account on the Security tab if it’s listed.
  6. Click the Full Control option for your account if it’s not selected.
    Permissions for TypeLib window dllregisterserver failed
  7. If your user account isn’t listed, click the Add button. Then enter your user account title.
  8. Make sure Full Control/Allow is selected for the newly added user account.
  9. Select the Apply option.
  10. Click OK to exit the window.

4. Disable third-party antivirus utilities

Antivirus utility's context menu options dllregisterserver failed

Third-party antivirus utilities can also conflict with regsvr32. So, try disabling third-party antivirus software before running a regsvr32 registration command.

To do that, right-click the system tray icon for your antivirus software to open a context menu. You can usually select a disable option of some kind on most antivirus utilities’ context menus. Select to disable the antivirus software for about 30 minutes to an hour if you can.

The above fixes can resolve the DLLRegisterserver 0x8002801c and 0x80070005 errors. Just remember that you always need admin rights to utilize the regsvr32 command-line utility for registering system files.

FAQ: Read more about registry errors on Windows 10

  • How do I fix error 0x80020009?

Check out our detailed fix guide to resolve the error 0x80020009.

  • Was loaded but the entry-point DllRegisterServer was not found?

This error is caused by the fact that the file doesn’t have a DllRegisterServer. To see this for yourself, run the command dumpbin /exports comdlg32.dll.

  • How do I paste a DLL into System32?

You can paste a DLL file into the System32 folder the same way you would any other file. You can right-click and choose Paste, or just press the Ctrl+V keys when the location window is selected.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!