Windows Update failing with Code 80070422. Solved!

Fresh install of Windows Vista cannot get updates through Windows Update 

Quick answer:

The Windows Management Instrumentation  and Windows Modules Installer

services were Disabled.

 

 

Fix:

  1. Click Start (or press Windows Key or press Control-Escape)
  2. In the Start Search command line, enter SERVICES.MSC and press Enter
  3. In the Services control panel go to Windows Management Instrumention,
    1. right-click and select Properties.
    2. Change "startup type:" to Automatic and Press Apply
    3. If "Service status:" is "Stopped", press Start and then Press OK. Note that the "Service status:" should now be "Started".
  4. In the Services control panel go to Windows Modules Installer
    1. right-click and select Properties.
    2. Change "startup type:" to Manual and Press Apply
    3. If "Service status:" is "Stopped", press Start and then Press OK. Note that the "Service status:" should now be "Started". Also note that Automatic might work here too.
  5. Reboot windows and see if the services settings are retained. (It seems the Windows Module Installer  is okay if Stopped and Manual, but not Stopped and Disabled.) Then try Windows Update again.

Diagnosis:

The Windows Security Center (Firewall) wasn't running either :-)

After a fresh install of Windows Vista and TouchTone® telephone activation, we type Control-Escape
(or click start, or press the Windows Key),
then enter update
in the "Start Search" dialog Snapshot of Start Search dialog

and try to update we get an screen like this:

A lovely message of

Windows could not search for new updates

Error(s) found:

Code 80074022

Rather annoying eh?

After checking through get help, which links to:

In my case the Serivces setting for Windows Update Service was Startup Type: Automatic (Delayed Start) , but the service status was already started!



So onto more in depth hunting leads to:

http://windowshelp.microsoft.com/communities/newsgroups/en-us/default.mspx?dg=microsoft.public.windowsupdate&tid=539161b5-2c69-45e1-a7eb-c7629a3c6781&cat=&lang=en&cr=US&sloc=en-us&m=1&p=1



The suggests:


[...]
Hi,
It seems that "Windows modules installer" service is disabled on the
machine.

Please try the following steps

You must be logged on as an administrator to perform these steps.

1. Open Administrative Tools by clicking the Start button , clicking
Control Panel, clicking System and Maintenance, and then clicking
Administrative Tools.
2. Double-click Services. If you are prompted for an administrator
password or confirmation, type the password or provide confirmation.
3. Right-click the "Windows Modules Installer" service, and then click
Properties.
4. On the General tab, next to Startup type, make sure that Manual is
selected.
[...]


After doing this, and running "Windows Update" again, we see it is now time to Restart.

Always a good sign with Windows :-)


And... We reboot, and try again...


And from Start->cmd->netstat -an

We see that there is a connection in progress to ports 80 and 443 so something is coming along...

Yeah! 42 updates... looking good...




It also brings up this nice dialog too...

And... We reboot, wait through "Configuring System Updates" the machine reboots on its own and

we find that only 3 of the updates (one an optional hardware one) have worked. Darn! Now after midnight and not much progress...


Here are the ones that worked on the bottom (the older ones were through Windows Defender):




Going to the Event Viewer through Start->eventvwr.msc

we see the first real failure is:



Log Name: System
Source: Microsoft-Windows-Servicing
Date: 1/9/2008 10:17:28 PM
Event ID: 4385
Task Category: None
Level: Error
Keywords: Classic
User: SYSTEM
Computer: T41
Description:
Windows Servicing failed to complete the process of changing update 939159-1_RTM_neutral_GDR from package KB939159(Update) into Staging(Staging) state


And a bunch more 4385 errors followed by:


Log Name: System
Source: Microsoft-Windows-Servicing
Date: 1/9/2008 10:18:49 PM
Event ID: 4374
Task Category: None
Level: Warning
Keywords: Classic
User: SYSTEM
Computer: T41
Description:
Windows Servicing identified that package KB942763_1(Update) is not applicable for this system

So was it really "not applicable" ? If so, why was it downloaded in the first place?

These event continue from the _1 update above to _35 update below...


Log Name: System
Source: Microsoft-Windows-Servicing
Date: 1/9/2008 10:18:52 PM
Event ID: 4374
Task Category: None
Level: Warning
Keywords: Classic
User: SYSTEM
Computer: T41
Description:
Windows Servicing identified that package KB942763_35(Update) is not applicable for this system

But wait, there is more! Now some nice 4385 errors... (this goes from "-110" to "-145")


Log Name: System
Source: Microsoft-Windows-Servicing
Date: 1/9/2008 10:19:03 PM
Event ID: 4385
Task Category: None
Level: Error
Keywords: Classic
User: SYSTEM
Computer: T41
Description:
Windows Servicing failed to complete the process of changing update 942763-110_RTM_neutral_PACKAGE from package KB942763(Update) into Staging(Staging) state

To...


Log Name: System
Source: Microsoft-Windows-Servicing
Date: 1/9/2008 10:19:03 PM
Event ID: 4385
Task Category: None
Level: Error
Keywords: Classic
User: SYSTEM
Computer: T41
Description:
Windows Servicing failed to complete the process of changing update 942763-145_RTM_neutral_PACKAGE from package KB942763(Update) into Staging(Staging) state



And now it is almost 1AM... I guess more work needs to be done to get Vista to update....


Chris Lent 20080110T1257 

Irritation on Shutdown and Boot:

 

At this point, Windows was taking longer during Shutdown to "Configure Updates" and at Boot to "Configure Updates".  At least I think those were the messages.  And during that time, you really couldn't do anything except perhaps Hibernate the machine.  Irritating....



Problem Solved!

The problem seems to have been that also that the Windows Management Instrumentation and Windows Module Installer services both were Disabled! Fixing this as in the "Quick Fix" at the beginning of this page made everything fine.



Yeah!

Chris Lent 2008-11-14T0728