Windows Update Error Code 8007051A

When using Windows Update, I keep getting the erroe code - 8007051A. What do I need to do to fix this error? Please Help!! Thanks!!!


Hi Randy,



1.    What is the version of Windows installed on the computer?

2.    Which update are you trying to install?

3.    Have you made any recent changes on the computer?



Try the below step and check if it works


a)   Locate “C:\Windows\winsxs\pending.xml“

b)   Then take ownership of the file by right clicking and click on properties, then add everyone and give full permission

c)    Rename the file to something like “pending.xml.old“

d)   Reboot and run Windows Update



If the above step fails then I would suggest that you reset Windows update components to default and check if you can install updates on the computer.

How do I reset Windows Update components?


Hope this helps!

Halima S   - Microsoft Support.

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

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 July 14, 2020 Views 6,096 Applies to: