How to fix error 0x8007045A ERROR_DLL_INIT_FAILED when using Windows Update

During the process of using Windows Update or during an upgrade to Windows 10 you receive an error message 0x8007045A ERROR_DLL_INIT_FAILED. This error occurs because the msxml dll file on Windows operating system fails.

During the process of using Windows Update or during an upgrade to Windows 10 you receive an error message 0x8007045A ERROR_DLL_INIT_FAILED. This error occurs because the msxml dll file on Windows operating system fails. To fix this error, please refer to the following article of Network Administrator.

How to fix error 0x8007045A ERROR_DLL_INIT_FAILED when using Windows Update Picture 1How to fix error 0x8007045A ERROR_DLL_INIT_FAILED when using Windows Update Picture 1

Fix error 0x8007045A:

To fix this error, you can apply some solutions below:

1. Run System File Checker to fix the error.

2. Replace the files msxml3.dll, msxml3a.dll, msxml3r.dll, msxml6.dll and msxml6r.dll on your system with better files.

You can back up these files to a safe location in case a bad situation occurs. The next step is to copy from the other system 5 files above and paste into the directory under the C: WindowsSystem32 path to replace the corrupted files. Make sure the computers run the same version of Windows operating system.

Once done, you must re-register these dll files:

To register a DLL or ocx file, open the Command Prompt under Admin, enter the following command and press Enter:

regsvr32 'path & filename of dll or ocx'

Next on the Run command window, enter the command below and press Enter:

regsvr32 C: WindowsSystem32msxml3.dll

Follow the same steps for the remaining 4 files: msxml3a.dll, msxml3r.dll, msxml6.dll and msxml6r.dll.

Reboot your system and check if the error is still there?

3. If the error persists, then you can apply the final solution to download the latest version of XML parser from MSDN to your computer and install it on the system.

Refer to some of the following articles:

  1. What to do when Windows Update crashes 0% on Windows 7/8/10?
  1. Turn off driver update on Windows Update Windows 10
  1. Trick to enable / disable Windows Updates on Windows 10 quickly and easily

Good luck!

3.8 ★ | 16 Vote