Repair: DllRegisterServer failed with error code 0x80070005

  • DllRegisterServer failed with error code 0x80070005 when trying to register a Windows DLL file from the Run window and the Windows command line.
  • This article explains the causes and how to solve the problem.
  • The problem is solved by simply forcing the system to recognize the user as an administrator before executing the command.
  • In some cases, the error message appears even if you have the appropriate administrator privileges.

Updated February 2024This tool will stop these errors and fix common problems: Get it at this link
  1. Download and install the software.
  2. It will scan your computer to find problems.
  3. The tool will then correct the issues that were discovered.

When trying to register a DLL file from Windows Command Prompt or Run window, the DllRegisterServer failed with error code 0x80070005.

Both the Runtime window and the Windows command line display an error message when Windows tries to register a Windows DLL file with DllRegisterServer.

DllRegisterServer

Error Code 0x80070005 Xbox occurred during the call to DllRegisterServer to load the module “.dll”.

If you run the Run window from the command line or try to register a Windows DLL file, you receive the following error message.

A registerServer error of 0x80070005 occurred while registering DLLs.
When you search for the error code on the Internet, you will find more information about the problem.

An explanation of the causes and a solution are provided in this article.

What causes the There was an error when DllRegisterServer tried to register 0x80070005?

  • Problems with administration
  • Having trouble accessing the site?
  • A problem with the Windows operating system
  • Virus injection
  • There was an error when DllRegisterServer tried to register

How to resolve the There was an error when DllRegisterServer tried to register 0x80070005?



Updated: February 2024

We highly recommend that you use this tool for your error. Furthermore, this tool detects and removes common computer errors, protects you from loss of files, malware, and hardware failures, and optimizes your device for maximum performance. This software will help you fix your PC problems and prevent others from happening again:

  • Step 1 : Install PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista).
  • Step 2 : Click Start Scan to find out what issues are causing PC problems.
  • Step 3 : Click on Repair All to correct all issues.

download



Iexplorer.exe version 9.0.8112.16421 stopped interacting with Windows and was closed due to an error (04/22/2014 11:14:16 PM) (Source: Application Hang) (User: )Description: The application stopped working with Windows. In the Action Center control panel, check the problem history to see if more information is available about the problem.

Launch Cmd as an Administrator

By identifying the user as an administrator before executing the command, the problem can be solved. There are steps to guide you through this process.

  1. Keyboard shortcut: Windows.
  2. Press Enter but do not type cmd.
  3. Right-click on CMD in the list of programs that appears.
  4. Select “Run as administrator” and click “Next” at the prompt that appears.
  5. Run the regsvr32 command by typing regsvr32 “file path”. Replace file path with the actual file path without the quotation marks.

You should be able to access the file now, if everything goes well. If the file path does not work correctly, verify that it is complete and correct.

Disabling antivirus programs

A firewall or antivirus program can interfere with the registration process, causing the error message to appear even if you have administrator privileges.

  1. In the lower right corner, click the antivirus icon twice.
  2. You can disable the antivirus by selecting it from the antivirus screen after it has opened.
  3. Choose the option that is most suitable for your needs. Most viruses can be disabled for 10, 20, or 30 minutes before activated automatically.

In addition, make sure you disable your antivirus program and run regsvr32 with appropriate administrative permissions.

When DLLRegisterServer was called with error code 0x80070005, the DLL file was loaded, but it failed.

The permissions on one or more registry keys have most likely been modified by someone (or some application), preventing access to them even if you are a local administrator.

Files or folders (usually cache files) can’t be accessed because permissions are denied.

Tip: Antivirus is important for the security of your computer as it can protect it from various threats. Therefore, it is recommended that you disable antivirus as soon as the problem is resolved.

Disabling UAC

You may be able to resolve the issue by disabling user account control. Deactivating user account control disables the system’s confirmation of administrator rights when it is enabled.

As a result of the fundamental weaknesses that user account control introduces, it should be disabled after the registration process is complete. This will ensure that your computer is more secure.

  1. Choose Run as administrator from the right-click menu on cmd after clicking Start.
  2. By copying and pasting the following command, you can disable UAC.
  3. REG_DWORD /t EnableLUA /d 0 /f: reg.exe: add HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System /v EnableLUA
  4. At the command prompt, type the following command to enable UAC.
    It is necessary to add HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System /v EnableLUA /t REG_DWORD /d 1 /f to the registry after running reg.exe
  5. Following the steps in method 1, restart your computer and run the REGSVR32 command. You should now be able to run your computer without problems.



RECOMMENATION: Click here for help with Windows errors.

Frequently Asked Questions

  1. Click the Start button.
  2. Type update in the search box.
  3. Select Windows Update from the list of search results.
  4. Click Change settings.
  5. Select Install updates automatically (recommended) under Important updates.
  6. Set a schedule for installing updates.
  7. Click OK.

If the 32-bit DLL is in the %systemroot%System32 folder, move it to the %systemroot%SysWoW64 folder. Then run the following command: %systemroot%SysWoW64regsvr32 (full path to DLL). This will fix the regsvr32.exe error.

Make sure the binary is saved in the specified path, or perform debugging to check for problems with the binary or dependent .dll. The regsvr32 module failed to load.

Error code 0x80070005 indicates that the user does not have the necessary authorization, which causes the installation to fail or complete. Sometimes erroneous updates delete your files. This happened with the last major Windows update in October 2018 when the "Documents" folder was deleted after installation.

Website | + posts

Mark Ginter is a tech blogger with a passion for all things gadgets and gizmos. A self-proclaimed "geek", Mark has been blogging about technology for over 15 years. His blog, techquack.com, covers a wide range of topics including new product releases, industry news, and tips and tricks for getting the most out of your devices. If you're looking for someone who can keep you up-to-date with all the latest tech news and developments, then be sure to follow him over at Microsoft.