Error Code 0x8007045A ERROR_DLL_INIT_FAILED When You Use Windows Update

Are you stuck with the Error Code 0x8007045A ERROR_DLL_INIT_FAILED error message on your Windows Update screen? This problem usually occurs in the case of corruption of MSXML dll files. First appeared with Windows Vista, these Microsoft XML Core Services or MSXML enhances system performance, stability, and other factors. But, whatever may have corrupted these essential files, what you currently need is an apt and effective solution to address the issue.


1. Restarting the system and retrying the update process may help fix the issue.

2. If you are using any VPN, try updating Windows without the VPN.


Fix 1 – Re-register the DLL files

Try re-registering the DLL files on your system.

1. Just type “cmd” in the search box.

2. Then, right-tap the “Command Prompt” once you see the search result and click “Run as administrator“.


Cmd New Edition Min


3. As you enter the terminal with administrative rights, copy-paste these codes one by one, and then, hit Enter to re-register all the DLL files one by one.

regsvr32 C:\Windows\System32\msxml3.dll
regsvr32 C:\Windows\System32\msxml3a.dll
regsvr32 C:\Windows\System32\msxml3r.dll
regsvr32 C:\Windows\System32\msxml6.dll
regsvr32 C:\Windows\System32\msxml6r.dll


Register Dll File Min


After you have executed all the 5 commands to re-register the DLL files, you can close the Command Prompt screen.

Restart the system.


Fix 2 – Run the Windows Update troubleshooter

Windows Update troubleshooter is designed to detect and troubleshoot Windows Update issues.

1. Open the Settings page, if it isn’t opened yet.

2. You will have to tap on the “System” on your left-hand pane.

3. Next, on the right-hand side, tap on “Troubleshoot” to access it.


Troubleshoot Min


4. In the Troubleshoot, you will find various options.

5. On the same window, click on the “Other troubleshooters” option.


Other Troubleshooters Min


6. Now, if you scroll down you will find the “Windows Update” troubleshooter

7. Then, click on “Run” to run the troubleshooter on your system.


Run Windows Update Min


Windows will now look for the Windows Update issues on your system and prescribe fixes.

8. When the troubleshooting process is complete, tap the “Close” button to close the panel.


Close Min


This will apply the fix in the Windows Update process and fix the problem for you.

Now, you should restart your computer once.


Fix 3 – Run an SFC tool scan

Running the SFC tool and restarting the machine should kick in the Windows Update process.

1. You have open the CMD terminal. So, press the Windows key and write “cmd“.

2. Then, right-click on the “Command Prompt” and then tap on “Run as administrator” to access the terminal with administrative rights.


Cmd New Min


3. Then, write down this command and hit Enter to run the SFC tool.

sfc /scannow


Sfc Scannow Min


This file verification process will take some minutes. You can check the verification status directly from the terminal page.

Once the verification is complete, you may close the Command Prompt.

Now, just restart your system. This should automatically start the Windows Update process as your system restarts.

This should have fixed your problem.