How to Troubleshoot Windows Update Errors

windows update iconWindows Update (a.k.a. Microsoft Update) is normally pretty reliable in terms of keeping your computer up to date and secure. Unfortunately, there are times when an update crashes your PC (usually due to a conflicting OEM driver) or the update process just stops working. Since Windows Vista, Microsoft moved away from using the website and now has a dedicated app in the Control Panel. However, the underlying technologies are still the same. Even if you have the Windows Software Update Services (WSUS) server, controlling 100s or 1000s of computers in a corporate network, you are still going to come across the same kind of problems. You would hope that WSUS had some easy troubleshooting/rollback tools built in but unfortunately that is not the case.

I thought it would be a good idea to gather all the various methods and tools I use when troubleshooting Windows/Microsoft Update to help both Home and Enterprise users alike

Microsoft Fix It

This is the place to go if Windows Update will no longer run or complete a check for new updates. Download the special “Fix It” programme and let it run. This will reinstall all the necessary components for Windows Update to operate properly. The tool can be downloaded from this link » How do I reset Windows Update components

Uninstall most recent updates

old-update-historyIf your PC or Server has started to have problems out of the blue chances are that it could be caused by a recent update. You can see all of your recent updates in 1 of 2 places. If you have Windows XP, Server 2003 R2 or older you need to go to the Windows Update website and click the link to “Review your update history” (see image). Once you have identified the recent updates you can uninstall them from the Add/Remove Programs app in the Control Panel.

new-update-historyIf you are using Windows Vista or newer things are a bit easier for you. Just open the Control Panel and search “updates” to find the “Installed Updates” app. From here you can uninstall them directly.

Check for Errors

All versions of Windows keep logs of any errors to do with software. The place to look for these is in the Event Viewer (Found in Control Panel > Administrative Tools). Look out for events from Windows Update Agent in the System log but also look for errors in the System and Application logs around the same time that updates were applied. If you have a newer version of Windows you can also look at the dedicated WindowsUpdateClient events by expanding the Event Viewer tree to Application and Service Logs > Microsoft > Windows > WindowsUpdateClient > Operational.

reliability-monitorAnother great place to look is the little-known Reliability Monitor. This is included in Windows Vista and newer and can be found in the Control Panel and Action Center (just searching for Reliability is easiest!). This gives you a very useful timeline that flags up any critical errors on your PC. You can then check with Microsoft if a solution is available or check yourself for a software update or simply uninstall the offending item

Examine the Windows Update Log

All of the information relating to updates gets archived in the Windows Update log. This is a text file that can be found in C:\Windows\WindowsUpdate.log. This will show extensive information about every tiny detail regarding the update services, in fact it is rather bewildering. The Microsoft Support site has an article explaining the layout and what all of the abbreviations mean, How to read the Windowsupdate.log file, but even that seems over-complicated.

A quick way to find any errors from the log is to parse it using PowerShell. The following single-line command (found via The Scripting Guys) will found any fatal events reported in the log

select-string -path $env:SystemRoot\WindowsUpdate.log FATAL

firegen-example-reportAn even nicer solution is a small free app called FireGen Windows Update Log Analyzer by Altair Technologies. It was released way back in 2007 and is still at version 0.001 but don’t let that scare you off! This will quickly generate a HTML report from the WindowsUpdate.log file and format it in a much more readable way, including highlighting fatal errors and warnings

Restore your Computer

Sometimes, it isn’t worth the hassle of searching through all the logs or fiddling with advanced settings. In fact, this could even make things worse! I often tell home users to always use the built-in Windows System Restore app to revert the computer back to a date when you new everything was working. This has the benefit of keeping any files or photos safe even though you are rolling the computer back.

System Restore isn’t available in Windows Server. This is by design because you should have your own backup strategy in place for them. If you’ve never restored a server from a backup then you are running the risk of getting really stuck if a disaster ever strikes. Do yourself a favour and try it on a non-critical server to check it works OK.

Other Resources

If you a getting a specific error code, it is always worth searching for that code online, especially on the Microsoft Support website. There may be someone out there who has solved the problem already.

If you know the KB number of the offending update (as shown on the “Installed Updates” app or log file) you can read all about it at the Microsoft Security Bulletins site. After reading the information you should be able to make a judgement on how you need to deal with it.

Microsoft give FREE support to any problems caused by security updates. This can take some time depending on the issue but you are more or less guaranteed to get you a solution. In the U.S. or Canada you can call 1-866-PCSAFETY to get support. International customers need to dig through their local subsidiary which can be found via the International Support page

I hope that has given you a few pointers on how to deal with Windows Update problems. I’d be keen to hear about any tools or tricks you use that I have missed. Please let me know in the comments section.


2 thoughts on “How to Troubleshoot Windows Update Errors

    1. I recall using this method quite a lot when all I had was win2000 & XP machines. Haven’t had to use it a lot more recently so thanks for the reminder 🙂

      I also used to re-register all the relevant Windows Update dll files using the following commands as part of the same process. I imagine this is partly what the FixIt app does.
      regsvr32 /s wuapi.dll
      regsvr32 /s wuaueng1.dll
      regsvr32 /s wuaueng.dll
      regsvr32 /s wucltui.dll
      regsvr32 /s wups2.dll
      regsvr32 /s wups.dll
      regsvr32 /s wuweb.dll

What do you think?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s