- 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.
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.
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?
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.
- Keyboard shortcut: Windows.
- Press Enter but do not type cmd.
- Right-click on CMD in the list of programs that appears.
- Select “Run as administrator” and click “Next” at the prompt that appears.
- 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.
- In the lower right corner, click the antivirus icon twice.
- You can disable the antivirus by selecting it from the antivirus screen after it has opened.
- 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.
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.
- Choose Run as administrator from the right-click menu on cmd after clicking Start.
- By copying and pasting the following command, you can disable UAC.
- REG_DWORD /t EnableLUA /d 0 /f: reg.exe: add HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System /v EnableLUA
- 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
- 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
- Click the Start button.
- Type update in the search box.
- Select Windows Update from the list of search results.
- Click Change settings.
- Select Install updates automatically (recommended) under Important updates.
- Set a schedule for installing updates.
- 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.
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.