5 Methods to Repair the Home windows Replace Error 0x8007371b in Home windows 10

Usually, updating Windows is a straightforward process and has no issues. However, sometimes errors like the 0x8007371b error with the "ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE" message can appear. This mainly occurs when a Windows Update file is missing or damaged.

While this may seem daunting, the problem can be easily resolved by referring to the fixes listed below.

1. Run the Windows Update troubleshooter

The first step that you should take in troubleshooting update errors is to use Windows Update Troubleshooter. It's very effective and automatically fixes most update issues including a stuck Windows Update wizard. Just follow these steps to start the Windows Update troubleshooter:

  1. Click the Start button and then click settings.

  2. In the Settings Dashboard, click Update & security.

  3. Click in the navigation bar on the left Troubleshooting.

  4. Under Troubleshooting, click Additional bug fixes.

  5. Now click on Windows Update > Run the troubleshooter

  6. The troubleshooter automatically detects and fixes problems.

The troubleshooting process can take some time, so don't panic if it's stuck. Additionally, sometimes the troubleshooter cannot fix the error for itself. Regardless, it suggests a few additional steps that you can take. So be sure to follow them.

If the problem persists, continue with the next few steps.


2. Use the DISM and SFC commands

Deployment Image Servicing and Management (DISM) and System File Checker (SFC) are both useful built-in Windows utilities. DISM repairs the Windows system image, while SFC scans the computer for missing or damaged system files. Both utilities can be run from the command prompt.

Related: What's the Difference Between CHKDSK, SFC, and DISM in Windows 10?

Remember to run the DISM command first and then the SFC command. This is because the DISM command repairs the Windows system image, which in turn is used by SFC as a reference point to look for any damaged system files.

How to run DISM from command prompt

  1. Enter in the search bar of the Start menu cmd. Right-click in the search results Command Prompt> Run as administrator. Make sure you have the credentials for the administrator account or are logged in as one.

  2. At the command prompt console, enter Dism / online / cleanup-image / ScanHealth and press Enter.

  3. After the command completes, type Dism / online / cleanup-image / CheckHealth and press Enter.

  4. Now the last command; Type Dism online / cleanup-image / RestoreHealth and press Enter again.

Again, the repair and maintenance process can take a while. Patience is the key. After the process is complete, it is time to move on to the SFC utility.

How to run SFC from the command prompt

  1. Similar to the section above, start Command Prompt as an administrator.

  2. Enter in the console sfc / scannow and press Enter.

  3. Wait for the scan to finish. It can take a while.

  4. After the scan is complete, restart your computer.

After running these two utilities, try again to update Windows. Most likely, it will fix the 0x8007371b error. If not, try the other fixes listed below.

3. Clear the Windows update cache

Windows Update's cache folder stores some old temporary files that could interfere with your update. Therefore, it is recommended to delete the contents of the folder. This can potentially solve the Windows Update problem and free up space that can be better used.

  1. Press Profit + r to start the Run application.

  2. Type services.msc in the text box and press Enter.

  3. Look for Windows Update in the Services menu.

  4. Right click Windows Update and click Stop.

  5. Minimize the Services window.

  6. Now press Profit + E to open File Explorer.

  7. Enter in the address bar C: Windows Software Distribution Download and press Enter.

  8. Delete the entire contents of this folder.

  9. Now switch back to the Services window.

  10. Right click on Windows Update Service and select begin.

  11. Close the Services window.

Restart your computer after clearing the Windows Update cache. Although you may have to download some partially downloaded updates again, this fix has a high rate of success in resolving the Windows Update error ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE.

4. Reset the Windows Update Agent

Resetting the Windows Update Agent and its components is another potential solution to Windows Update-related errors. Since error 0x8007371b is likely the result of a missing or damaged Windows Update file, resetting the components will force Windows to download all files again.

Related: Ways to Clean Up Your PC After a Failed Windows Update

There are many ways to reset Windows Update Agent, but the most effective method is to simply use the elevated Command Prompt.

  1. Enter in the search bar of the Start menu cmd. Right-click in the search results Command Prompt> Run as administrator.

  2. Enter in the CMD console Network stop wuauserv and press Enter. This command stops the Windows Update service.

  3. Then enter rd / s / q% systemroot% SoftwareDistribution in the console and press Enter.

  4. Finally, to restart the Windows Update service, enter Network start wuauserv in the console. Press enter.

  5. Close command prompt.

After following these steps, restart your computer and see if the error still appears.

5. Remove any third-party antivirus software

Third-party antivirus programs are known to interfere with many Windows functions. Hence, the Windows Update process is no exception. If none of the above steps have resolved the problem, it is recommended that you uninstall any third-party antivirus software installed on your PC. You can do this from the Programs and Features menu in Control Panel.

  1. Enter in the search bar of the Start menu Switchboard and open it from the search results.

  2. search for Programs and functions Section and click on it.

  3. In the new window, right click on the antivirus and select Uninstall.

  4. Follow the steps of the uninstallation wizard.

  5. Restart your computer.

Fixed Windows update error 0x8007371b

Any of the fixes listed below will surely fix the Windows Update error you are facing. Usually, the reasons behind Windows updates failing can be many. However, there are still a few common reasons that can lead to cluttered Windows updates. It is a good idea to be aware of them and to avoid them in the future.

5 common reasons Windows updates fail

If you've ever come across a Windows update that failed, these are the reasons behind it.

Continue reading

About the author

Manuviraj Godara
(138 articles published)

Manuviraj is a feature writer at MakeUseOf and has been writing about video games and technology for over two years. He is an avid gamer who also spends his free time browsing and reading his favorite music albums.

By Manuviraj Godara

Subscribe to our newsletter

Subscribe to our newsletter for tech tips, reviews, free e-books, and exclusive offers!

Click here to subscribe

Leave a Reply

Your email address will not be published. Required fields are marked *