Updating the windows update agent

In July 2015, we started seeing issues with the Windows Update Agent using very high memory utilization during update scans.The scans would eventually time out with error: WARNING: ISus Internal:: Get Update Metadata2 failed, hr=8007000E There are two parts to this issue as shown below (More detailed info in this blog post): I ran some tests during a MDT build and capture task sequence for Windows 7 SP1 (x86 and x64). In all these tests, the Windows Update Agent was version 7.6.7600.320 this is what’s baked into Windows 7 with SP1.2013-08-03 :217 1268 e00 Report CWERReporter:: Handle Events - WER report upload completed with status 0x8 2013-08-03 :217 1268 e00 Report WER Report sent: 7.5.7601.17514 0x80070643 E2FF4526-97D7-4926-8E75-295DBA39C6BF Install 101 Unmanaged 2013-08-03 :217 1268 e00 Report CWERReporter finishing event handling.Windows Update Agent (WUA) automatically updates itself when it is connected to a Windows Server Update Services (WSUS) server or to Windows Update.Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2 The Windows Update Agent version 3.0 must be installed on Configuration Manager 2007 client computers before a scan for software updates compliance can successfully complete.When the site server is initially installed, the latest version of the Windows Update Agent is downloaded, and when the client computers are installed, the agent is upgraded automatically to version 3.0, if required.

The following procedures provide the steps to download the installation file, create a query for computers that do not have at least Windows Update Agent version 3.0, create a collection based on the query, and create a software distribution that targets the new collection.

(00000000) 2013-08-03 :255 1268 930 Setup Service shutting down while setup is in progress.

Attempting to unload core client binaries 2013-08-03 :255 1268 930 Setup Attempting to close open Windows Update explorer windows 2013-08-03 :300 1268 930 Setup Attempting to unload unused libraries from svchost 2013-08-03 :262 1268 930 Setup Attempting to unload binaries from event log service 2013-08-03 :262 1268 930 Service ********* 2013-08-03 :262 1268 930 Service ** END ** Service: Service exit [Exit code = 0x240001] 2013-08-03 :262 1268 930 Service ************* 2013-08-03 :261 6092 17e0 Setup Installing setup package "WUClient-Self Update-Core-Top Level~31bf3856ad364e35~x86~~7.6.7600.256" 2013-08-03 :882 6092 17e0 Setup WARNING: CBS installation failed, error = 0x80070643 2013-08-03 :882 6092 17e0 Setup WARNING: Install of setup package "WUClient-Self Update-Core-Top Level~31bf3856ad364e35~x86~~7.6.7600.256" failed, error = 0x80070643 2013-08-03 :882 6092 17e0 Setup FATAL: Failed to install package, error = 0x80070643 2013-08-03 :882 6092 17e0 Setup WARNING: Installing applicable setup packages failed, error = 0x80070643 2013-08-03 :913 1268 10c4 Misc =========== Logging initialized (build: 7.5.7601.17514, tz: 0100) =========== 2013-08-03 :913 1268 10c4 Misc = Process: C:\Windows\system3213-08-03 :913 1268 10c4 Misc = Module: c:\windows\system3213-08-03 :913 1268 10c4 Service ************* 2013-08-03 :913 1268 10c4 Service ** START ** Service: Service startup 2013-08-03 :913 1268 10c4 Service ********* 2013-08-03 :913 1268 10c4 Agent * WU client version 7.5.7601.17514 2013-08-03 :913 1268 10c4 Agent * Base directory: C:\Windows\Software Distribution 2013-08-03 :913 1268 10c4 Agent * Access type: No proxy 2013-08-03 :913 1268 10c4 Agent * Network state: Connected 2013-08-03 :944 1268 10c4 Setup Service restarting after Self Update 2013-08-03 :944 1268 10c4 Setup Client version: Core: 7.5.7601.17514 Aux: 7.5.7601.17514 2013-08-03 :944 1268 10c4 Setup WARNING: Self Update package "WUClient-Self Update-Core-Top Level~31bf3856ad364e35~x86~~7.6.7600.256" install failed, hr = 80070643 2013-08-03 :944 1268 10c4 Report CWERReporter:: Init succeeded 2013-08-03 :178 1268 10c4 Report *********** Report: Initializing static reporting data *********** 2013-08-03 :178 1268 10c4 Report * OS Version = 6.1.7601.1.0.65792 2013-08-03 :178 1268 10c4 Report * OS Product Type = 0x00000030 2013-08-03 :194 1268 10c4 Report * Computer Brand = Dell Inc.

Additionally, if Windows Update on the computer is in such a state that automatic self-updates are failing, you can't use the WUA API to recover from that state.

When necessary, to ensure that users have the latest WUA, prompt them to install KB949104 or the latest WUA.