Microsoft XML Core Services or MSXML is the native Win32 API for high-performance XML-based applications that adhere to the XML 1.0 standard. MSXML6 first shipped with Windows Vista and later and has enhancements for security, performance, stability, and other improvements and support for x64 and Itanium architectures.
Error code 0x8007045A ERROR_DLL_INIT_FAILED when you use Windows Update
To resolve this issue, you have three options:
1] Run the System File Checker
Run the System File Checker and see if it helps. The program will find corrupt system files, including DLL, and replace them with a fresh copy.
2] Replace these files
Replace the msxml3.dll, msxml3a.dll, msxml3r.dll, msxml6.dll, and msxml6r.dll on your system with suitable files. You may back these files elsewhere as a matter of precaution. If you have another computer, copy these files from your other system into the C:\Windows\System32 folder of the problematic system, and replace the possible corrupted files. Ensure that both the computers are running the same version of Windows. Once you do this, you will have to re-register these dll files: To register a dll or ocx file, open a command prompt windows as an administrator, type the following, and press the Enter key So here in the Run box, type the following and hit Enter: Do the same for the other four – msxml3a.dll, msxml3r.dll, msxml6.dll, and msxml6r.dll. Restart your system and see if this helps.
3] Download the latest XML parser
If this does not work for you, you have another option. Download the latest XML parser from MSDN and install it on your system. I hope the post was helpful, and you were able to fix the Error code 0x8007045A ERROR_DLL_INIT_FAILED.
How to unregister a DLL file in Windows?
Open Windows Terminal with admin privilege and execute the regsvr32 command with the /U option. Ensure you are using the full path of the DLL and not just the DLL. If you need to register again, run the same command without any option.
How do I unregister an EXE?
EXE files are installed, and not registered. So if you want to remove an installed program, you can do it from Windows Settings > Apps section. The settings also offer to repair or reset programs if they are not working as expected.