Error code 0x80070005 when registering msxml4.dll

MSXML 4.0 appears to be no longer working properly on my system, which is causing problems with my scanning software.  I've uninstalled and reinstalled several times with no luck.  When I go the register the Dll using regsvr32 I get the following error:

The module "c:\windows\syswow64\msxml4.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070005.

Any suggestions? 


Hi MikefromOhio,


This error message will be displayed if the regsvr32.exe command is not run as an administrator on the Windows 7 computer.


Error code 0x80070005 generally refers to the “Access Denied” error message.

Trying logging into an administrator account and register the file again and check.

Execute the regsvr32.exe command as an administrator of the Windows Vista computer.



1.    Click Start, point to All Programs, click Accessories and then right-click Command Prompt.

2.    Click Run as administrator. If you are prompted with a logon, enter the Administrator credentials. Otherwise, click Continue to authorize the action.

3.    Within the Command Prompt, type regsvr32.exe and then type enter the path of the .dll file to be registered. (regsvr32.exe C:\Windows\syswow64\msxml4.dll)

How do I run an application once with a full administrator access token?



Divya R – Microsoft Support.

Visit our Microsoft Answers Feedback Forum and let us know what you think.

11 people found this reply helpful


Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Question Info

Last updated November 20, 2020 Views 28,871 Applies to: