Updating Windows Update Agent

Windows Update Agent (WUA) automatically updates itself when it is connected to a Windows Server Update Services (WSUS) server or to Windows Update. WUA can also be updated by using a signed installation package that is available from Microsoft. The installation package can be used to install the latest released versions of WUA or of the Muauth.cab file.

Follow these steps to obtain the installation package for the latest version of WUA.

Aa387285.wedge(en-us,VS.85).gifTo obtain the installation package for the latest version of WUA

  1. Download the Wuredist.cab signed cabinet file.

    Note  This file contains information about the installation package for the latest version of WUA. You can download this file from http://update.microsoft.com/redist/wuredist.cab.

  2. Verify that the Wuredist.cab file has a digital signature from Microsoft. If you update WUA manually, right-click Wuredist.cab, click Properties, and then click the Digital Signatures tab.

    Verify that Microsoft Corporation appears in the list of digital signatures. Applications should verify the digital signature by using the API that is described in the security section of the Microsoft Windows Software Development Kit (SDK).

  3. Extract the XML file from the Wuredist.cab file. The Microsoft Cabinet SDK contains information and tools that you can use to extract files from a cabinet.

    The XML file contains a StandaloneRedist element, as shown in the following example. This information identifies the most recent WUA version and gives the URLs for the locations of the installation package downloads.

    <?xml version="1.0" ?> 
    <WURedist>
      <StandaloneRedist Version="32">
        <architecture name="x86" clientVersion="7.2.6001.788" downloadUrl="http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.2.6001.788/WindowsUpdateAgent30-x86.exe" /> 
        <architecture name="x64" clientVersion="7.2.6001.788" downloadUrl="http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.2.6001.788/WindowsUpdateAgent30-x64.exe" /> 
        <architecture name="ia64" clientVersion="7.2.6001.788" downloadUrl="http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.2.6001.788/WindowsUpdateAgent30-ia64.exe" /> 
        <MUAuthCab RevisionId="7" DownloadURL="http://update.microsoft.com/v8/microsoftupdate/redir/MUAuth.cab" /> 
      </StandaloneRedist>
    </WURedist>
    

    The fields in the StandaloneRedist element have the following meanings:

    • The Version attribute is the major version of the WUA installation package.

      Currently, the only available version is version 32.

    • The architecture attribute specifies whether the installation package is for computers that are running a 32-bit version of Windows or a 64-bit version of Windows.

      Users need to identify and download the correct installation package for their computers. The possible values for this attribute are x86, x64, or ia64.

    • The clientVersion attribute specifies the full version of WUA that is installed by the installation package.

      Compare this to the version that is returned by the IWindowsUpdateAgentInfo::GetInfo method to determine whether the package installs a later version of WUA. For example, version 7.2.6001.788 is later than version 7.2.6001.700.

    • The downloadUrl attribute specifies the URL for the download and the installation of the Windows Update package.
    • The MUAuthCabRevisionId attribute specifies the revision number of the Muauth.cab file that the package downloads and installs.
  4. Compare the version of WUA that is currently running on the client computer to the version that is available in the installation package. For more information about how to determine the version of WUA that is running on the client computer, see Determining the Current Version of WUA.

    Use the IWindowsUpdateAgentInfo::GetInfo method or check the version of Wuaueng.dll that is currently running in the \System32 subdirectory of the current Windows installation.

  5. Update the WUA API header files. For more information, see Updating Windows Update Agent Header Files.

Consider the following example. A user or application that is running on a 32-bit Windows-based computer may determine that the current version of WUA on the computer is 7.2.6001.700. After downloading Wuredist.cab and extracting the XML file, the user or application finds that the file contains the following XML:

<architecture name="x86" clientVersion="7.2.6001.788" downloadUrl="http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.2.6001.788/WindowsUpdateAgent30-x86.exe"/>

Because version 7.2.6001.788 is a later version than version 7.2.6001.700, a later version of WUA for x86-based computers is available in the installation package. In this example, a later version of WUA can be downloaded to and installed on the computer from the URL that is specified by the value of downloadUrl

If the version of WUA in the package is earlier than the version that is currently running on the computer, installing the package does not replace the later version.

Send comments about this topic to Microsoft

Build date: 10/23/2009

Tags :


Community Content

eliane eliane eva grippa
WUredist.cab updated!

WUredist.cab was updated on May 1st 2007 to provide links to the WSUS 3.0 WUA client (7.0.6000.374).

WUredist.cab updated, version is now 7.0.6000.381

Tags : wsus

Thomas Lee
WSUS 3.0 SP1 - v 7.1.6001.65

WSUS 3.0 SP1 is now providing 7.1.6001.65 - when will this be available on as a redistributable installer as described in this article?

BTicoCR
WUA 7.1.6001.65 standalone redistributable installer now available
The WUA 7.1.6001.65 standalone redistributable installer is now available in the following locations:

http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.1.6001.65/WindowsUpdateAgent30-x86.exe

http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.1.6001.65/WindowsUpdateAgent30-x64.exe

NB WURedist.cab still points to version 7.0.6000.381 at time of writing (17/6/2008)


tomthumb99
WUA 7.2.6001.784 Standalone Redistributable

Once again MS has its head up its ***, I am here Sat night tryng to install office07, I have been playing with signverf and CATROOT, now running update on the installer. does guys who own Mac got throught this troiuble?


Thomas Lee
anyone help me plz

i download new Msn Live Messenger when i login it show download new update version. i download ist again then i run it show download Windows Update Agent 5 or later..

so please help in this matter



[tfl - 06 05 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&


jlosboy
Microsoft not clear on latest version of WUA?
When I check http://go.microsoft.com/FWLink/?LinkId=84399. I find the latest versions to be as follows:

<architecture name="x86" clientVersion="7.0.6000.381"
<architecture name="x64" clientVersion="7.0.6000.381"
<architecture name="ia64" clientVersion="7.0.6000.381"

When I check the corresponding KB article http://support.microsoft.com/kb/946928 it says the latest version is 7.2.6001.784

Which one is wrong?



arevalo federico
Where's the new docs 7.4.7600.226 is out
This KB is out of date:
http://support.microsoft.com/kb/949104

The wuredist.xml inside http://update.microsoft.com/redist/wuredist.cab is also out of date (reports 7.2.6001.788)

So we're left to hackery to figure out what the latest version is....

WSUS here is distributing 7.4.7600.226 since the last few days
Anyway, the three current links are:
x86:
http://download.windowsupdate.com/windowsupdate/redist/standalone/7.4.7600.226/windowsupdateagent30-x86.exe
x64:
http://download.windowsupdate.com/windowsupdate/redist/standalone/7.4.7600.226/windowsupdateagent30-x64.exe
Itanium:
http://download.windowsupdate.com/windowsupdate/redist/standalone/7.4.7600.226/windowsupdateagent30-ia64.exe



Riccoricco
Redistribution Rights Language for the WU Agent
Can anyone tell me where I can find legal language in the EULA or EULA Supplement that allows for the redistribution of the WU Agent?
Tags :

Page view tracker