Monday, February 11, 2008

When Windows Update Takes A Dive...

Danger Danger!!!

Windows Update is not perfect and can become unable to install updates!

What??? You are not surprised? No revelations here to you?

OK. This is not news. If anything, it is a reason to start drinking.

Maybe I can save you from the unrelenting desire to find a fifth of Jack Daniels. That is if your error in the Windows Update log is "FATAL: Error: 0x80004002".

First things first. Lets cover some steps for locating and correcting the 0x80004002 error.

  1. Identify the symptoms.
    In the case of the 0x80004002 error that I ran into, the updates would download, but fail as soon as you attempted to install them. This was the same behavior whether you started the Windows Update process from Internet Explorer or approved the updates that Windows had downloaded by itself. If Windows Update 3.1 or Geniue Advantage was attempting to install, they would also fail.

  2. Look in the Windows Update Log.
    This log is in the Windows directory and is named "windowsupdate.txt". The latest entries are at the bottom of the log. Look there for "FATAL: Error: 0x80004002" error. If you find it, then perhaps the solution that follows will correct your issue.

  3. Reregister the Windows Update dlls.
    I located these commandline entries on this Microsoft Forum link. Make a batch file from these entries and run the batch file. At least in my case, I was able to install the updates without further incident.

    net stop wuauserv
    regsvr32 wuweb.dll
    regsvr32 wups2.dll
    regsvr32 wups.dll
    regsvr32 wucltui.dll
    regsvr32 wuaueng1.dll
    regsvr32 wuaueng.dll
    regsvr32 wuapi.dll
    regsvr32 wups.dll
    regsvr32 wuaueng.dll
    regsvr32 wucltui.dll
    regsvr32 wuweb.dll
    regsvr32 msxml.dll
    regsvr32 msxml2.dll
    regsvr32 msxml3.dll
    regsvr32 urlmon.dll
    regsvr32 softpub.dll
    regsvr32 initpki.dll
    regsvr32 mssip32.dll
    regsvr32 wintrust.dll
    regsvr32 dssenh.dll
    regsvr32 rsaenh.dll
    regsvr32 gpkcsp.dll
    regsvr32 sccbase.dll
    regsvr32 slbcsp.dll
    regsvr32 cryptdlg.dll
    regsvr32 jscript.dll
    net start wuauserv

You don't have to become a drunk over Windows Update issues.