none
WSUS 3.0 sp1 - How do you get clients to reinstall selfupdate? RRS feed

  • Question

  •  

    Since updating to WSUS 3.0 sp1 we have about 5% of our clients that are having issues connecting to the server.

     

    What is the command to to have the clients selfupdate from a command prompt?

     

    Here is an example of the connection errors:

     

    Code Snippet

    2008-05-08 00:27:34:981 1264 2b4 AU ###########  AU: Initializing Automatic Updates  ###########
    2008-05-08 00:27:34:981 1264 2b4 AU AU setting next detection timeout to 2008-05-08 04:27:34
    2008-05-08 00:27:35:887 1264 2b4 Agent WARNING: GetServiceList failed with error 0x80004002.
    2008-05-08 00:27:35:887 1264 2b4 AU WARNING: QueryRegisteredProvider failed with error 0x80004002
    2008-05-08 00:27:35:887 1264 2b4 AU   # WSUS server: http://WSUS-Servername
    2008-05-08 00:27:35:887 1264 2b4 AU  '>http://WSUS-Servername">http://WSUS-Servername
    2008-05-08 00:27:35:887 1264 2b4 AU  ; # Detection frequency: 4
    2008-05-08 00:27:35:887 1264 2b4 AU   # Approval type: Scheduled (Policy)
    2008-05-08 00:27:35:887 1264 2b4 AU   # Scheduled install day/time: Every day at 12:00
    2008-05-08 00:27:35:887 1264 2b4 AU   # Auto-install minor updates: Yes (User preference)
    2008-05-08 00:27:36:574 1264 2b4 AU FATAL: Failed to get session from datastore, error = 0x80004002
    2008-05-08 00:27:36:574 1264 2b4 AU FATAL: Failed to Unserialize from data store, error = 0x80004002
    2008-05-08 00:27:36:574 1264 2b4 AU   # WARNING: Exit code = 0x80004002
    2008-05-08 00:27:36:574 1264 2b4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 00:27:36:574 1264 2b4 AU WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
    2008-05-08 00:27:36:574 1264 2b4 AU AU Restart required....
    2008-05-08 00:57:36:597 1264 2b4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 00:57:36:597 1264 2b4 AU ###########  AU: Initializing Automatic Updates  ###########
    2008-05-08 00:57:36:597 1264 2b4 AU AU setting next detection timeout to 2008-05-08 04:57:36
    2008-05-08 00:57:37:285 1264 2b4 Agent WARNING: GetServiceList failed with error 0x80004002.
    2008-05-08 00:57:37:285 1264 2b4 AU WARNING: QueryRegisteredProvider failed with error 0x80004002
    2008-05-08 00:57:37:285 1264 2b4 AU   # WSUS server: http://WSUS-Servername
    2008-05-08 00:57:37:285 1264 2b4 AU  '>http://WSUS-Servername">http://WSUS-Servername
    2008-05-08 00:57:37:285 1264 2b4 AU  ; # Detection frequency: 4
    2008-05-08 00:57:37:285 1264 2b4 AU   # Approval type: Scheduled (Policy)
    2008-05-08 00:57:37:285 1264 2b4 AU   # Scheduled install day/time: Every day at 12:00
    2008-05-08 00:57:37:285 1264 2b4 AU   # Auto-install minor updates: Yes (User preference)
    2008-05-08 00:57:38:004 1264 2b4 AU FATAL: Failed to get session from datastore, error = 0x80004002
    2008-05-08 00:57:38:004 1264 2b4 AU FATAL: Failed to Unserialize from data store, error = 0x80004002
    2008-05-08 00:57:38:004 1264 2b4 AU   # WARNING: Exit code = 0x80004002
    2008-05-08 00:57:38:004 1264 2b4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 00:57:38:004 1264 2b4 AU WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
    2008-05-08 00:57:38:004 1264 2b4 AU AU Restart required....
    2008-05-08 01:27:38:027 1264 2b4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 01:27:38:027 1264 2b4 AU ###########  AU: Initializing Automatic Updates  ###########
    2008-05-08 01:27:38:027 1264 2b4 AU AU setting next detection timeout to 2008-05-08 05:27:38
    2008-05-08 01:27:38:730 1264 2b4 Agent WARNING: GetServiceList failed with error 0x80004002.
    2008-05-08 01:27:38:730 1264 2b4 AU WARNING: QueryRegisteredProvider failed with error 0x80004002
    2008-05-08 01:27:38:730 1264 2b4 AU   # WSUS server: http://WSUS-Servername
    2008-05-08 01:27:38:730 1264 2b4 AU  '>http://WSUS-Servername">http://WSUS-Servername
    2008-05-08 01:27:38:730 1264 2b4 AU  ; # Detection frequency: 4
    2008-05-08 01:27:38:730 1264 2b4 AU   # Approval type: Scheduled (Policy)
    2008-05-08 01:27:38:730 1264 2b4 AU   # Scheduled install day/time: Every day at 12:00
    2008-05-08 01:27:38:730 1264 2b4 AU   # Auto-install minor updates: Yes (User preference)
    2008-05-08 01:27:39:449 1264 2b4 AU FATAL: Failed to get session from datastore, error = 0x80004002
    2008-05-08 01:27:39:449 1264 2b4 AU FATAL: Failed to Unserialize from data store, error = 0x80004002
    2008-05-08 01:27:39:449 1264 2b4 AU   # WARNING: Exit code = 0x80004002
    2008-05-08 01:27:39:449 1264 2b4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 01:27:39:449 1264 2b4 AU WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
    2008-05-08 01:27:39:449 1264 2b4 AU AU Restart required....
    2008-05-08 01:57:39:472 1264 2b4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 01:57:39:472 1264 2b4 AU ###########  AU: Initializing Automatic Updates  ###########
    2008-05-08 01:57:39:472 1264 2b4 AU AU setting next detection timeout to 2008-05-08 05:57:39
    2008-05-08 01:57:40:940 1264 2b4 Agent WARNING: GetServiceList failed with error 0x80004002.
    2008-05-08 01:57:40:940 1264 2b4 AU WARNING: QueryRegisteredProvider failed with error 0x80004002
    2008-05-08 01:57:40:940 1264 2b4 AU   # WSUS server: http://WSUS-Servername
    2008-05-08 01:57:40:940 1264 2b4 AU  '>http://WSUS-Servername">http://WSUS-Servername
    2008-05-08 01:57:40:940 1264 2b4 AU  ; # Detection frequency: 4
    2008-05-08 01:57:40:940 1264 2b4 AU   # Approval type: Scheduled (Policy)
    2008-05-08 01:57:40:940 1264 2b4 AU   # Scheduled install day/time: Every day at 12:00
    2008-05-08 01:57:40:940 1264 2b4 AU   # Auto-install minor updates: Yes (User preference)
    2008-05-08 01:57:41:659 1264 2b4 AU FATAL: Failed to get session from datastore, error = 0x80004002
    2008-05-08 01:57:41:659 1264 2b4 AU FATAL: Failed to Unserialize from data store, error = 0x80004002
    2008-05-08 01:57:41:659 1264 2b4 AU   # WARNING: Exit code = 0x80004002
    2008-05-08 01:57:41:659 1264 2b4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 01:57:41:659 1264 2b4 AU WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
    2008-05-08 01:57:41:659 1264 2b4 AU AU Restart required....
    2008-05-08 06:54:18:921 1296 210 Misc ===========  Logging initialized (build: 7.1.6001.65, tz: -0400)  ===========
    2008-05-08 06:54:18:937 1296 210 Misc   = Process: C:\WINNT\System32\svchost.exe
    2008-05-08 06:54:18:937 1296 210 Misc   = Module: C:\WINNT\system32\wuaueng.dll
    2008-05-08 06:54:18:921 1296 210 Service *************
    2008-05-08 06:54:18:937 1296 210 Service ** START **  Service: Service startup
    2008-05-08 06:54:18:937 1296 210 Service *********
    2008-05-08 06:54:18:953 1296 210 Agent   * WU client version 7.1.6001.65
    2008-05-08 06:54:18:953 1296 210 Agent   * Base directory: C:\WINNT\SoftwareDistribution
    2008-05-08 06:54:18:953 1296 210 Agent   * Access type: No proxy
    2008-05-08 06:54:18:953 1296 210 Agent   * Network state: Connected
    2008-05-08 06:55:05:742 1296 210 Agent ***********  Agent: Initializing Windows Update Agent  ***********
    2008-05-08 06:55:05:742 1296 210 Agent ***********  Agent: Initializing global settings cache  ***********
    2008-05-08 06:55:05:742 1296 210 Agent   * WSUS server: http://WSUS-Servername
    2008-05-08 06:55:05:742 1296 210 Agent  '>http://WSUS-Servername">http://WSUS-Servername
    2008-05-08 06:55:05:742 1296 210 Agent  ; * WSUS status server: http://WSUS-Servername
    2008-05-08 06:55:05:742 1296 210 Agent  '>http://WSUS-Servername">http://WSUS-Servername
    2008-05-08 06:55:05:742 1296 210 Agent  ; * Target group: (Unassigned Computers)
    2008-05-08 06:55:05:742 1296 210 Agent   * Windows Update access disabled: No
    2008-05-08 06:55:06:767 1296 210 DnldMgr Download manager restoring 0 downloads
    2008-05-08 06:55:06:784 1296 210 Agent   * Failed to load persisted download calls, error = 0x80004002
    2008-05-08 06:55:07:760 1296 210 Agent WARNING: DeleteVolatileServices::GetServiceList failed with 0x80004002.
    2008-05-08 06:55:08:554 1296 210 DnldMgr FATAL: DM:CAgentDownloadManager::RestoreDownloadJobs: GetSession failed with 0x80004002.
    2008-05-08 06:55:08:571 1296 210 DnldMgr FATAL: DM:CAgentDownloadManager::DelayedInit: RestoreDownloadJobs failed with 0x00000000.
    2008-05-08 06:55:08:604 1296 210 AU ###########  AU: Initializing Automatic Updates  ###########
    2008-05-08 06:55:08:604 1296 210 AU AU setting next detection timeout to 2008-05-08 10:55:08
    2008-05-08 06:55:09:464 1296 210 Agent WARNING: GetServiceList failed with error 0x80004002.
    2008-05-08 06:55:09:464 1296 210 AU WARNING: QueryRegisteredProvider failed with error 0x80004002
    2008-05-08 06:55:09:481 1296 210 AU   # WSUS server: http://WSUS-Servername
    2008-05-08 06:55:09:481 1296 210 AU  '>http://WSUS-Servername">http://WSUS-Servername
    2008-05-08 06:55:09:481 1296 210 AU  ; # Detection frequency: 4
    2008-05-08 06:55:09:481 1296 210 AU   # Approval type: Scheduled (Policy)
    2008-05-08 06:55:09:481 1296 210 AU   # Scheduled install day/time: Every day at 12:00
    2008-05-08 06:55:09:481 1296 210 AU   # Auto-install minor updates: Yes (User preference)
    2008-05-08 06:55:10:341 1296 210 AU FATAL: Failed to get session from datastore, error = 0x80004002
    2008-05-08 06:55:10:358 1296 210 AU FATAL: Failed to Unserialize from data store, error = 0x80004002
    2008-05-08 06:55:10:358 1296 210 AU   # WARNING: Exit code = 0x80004002
    2008-05-08 06:55:10:358 1296 210 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-05-08 06:55:10:391 1296 210 AU WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
    2008-05-08 06:55:10:391 1296 210 AU AU Restart required....
    2008-05-08 06:55:10:838 1296 210 Report ***********  Report: Initializing static reporting data  ***********
    2008-05-08 06:55:10:838 1296 210 Report   * OS Version = 5.1.2600.2.0.65792
    2008-05-08 06:55:11:053 1296 210 Report   * Computer Brand = Hewlett-Packard
    2008-05-08 06:55:11:053 1296 210 Report   * Computer Model = HP Compaq dc7100 SFF(PR780UC)
    2008-05-08 06:55:11:053 1296 210 Report   * Bios Revision = 786C1 v01.05
    2008-05-08 06:55:11:053 1296 210 Report   * Bios Name = Default System BIOS
    2008-05-08 06:55:11:053 1296 210 Report   * Bios Release Date = 2004-06-16T00:00:00
    2008-05-08 06:55:11:053 1296 210 Report   * Locale ID = 1033
    2008-05-08 06:55:12:079 1296 9a4 DnldMgr FATAL: DM:CAgentDownloadManager::CheckAllCallDownloadStates: GetSession failed with 0x80004002.
    2008-05-08 06:55:12:856 1296 9a4 DnldMgr FATAL: DM:CAgentDownloadManager::PurgeExpiredFiles: GetSession failed with 0x80004002.
    2008-05-08 06:55:13:568 1296 9a4 DnldMgr FATAL: DM:CAgentDownloadManager::PurgeExpiredUpdates: GetSession failed with 0x80004002.

     

     

    Thursday, May 8, 2008 8:26 PM

Answers

  •  

    You can try a few things.  You can download the wua client manually to a problem machine and run setup from a command line.  The command would be:

     

    "WindowsUpdateAgent30-x86.exe /wuforce"

     

    The download locations are:

    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

     

    Or you could use a batch file to re-register all the wua related dll's.  Here's a sample I use:

     

    @echo Off

    echo Registering atl.dll
    regsvr32 /s %systemroot%\system32\atl.dll >> progress.log
    echo Registering bitsprx2.dll
    regsvr32 /s %systemroot%\system32\bitsprx2.dll >> progress.log
    echo Registering bitsprx3.dll
    regsvr32 /s %systemroot%\system32\bitsprx3.dll >> progress.log
    REM echo Registering cdm.dll
    REM regsvr32 /s %systemroot%\system32\cdm.dll >> progress.log
    echo Registering cryptdlg.dll
    regsvr32 /s %systemroot%\system32\cryptdlg.dll >> progress.log
    echo Registering dssenh.dll
    regsvr32 /s %systemroot%\system32\dssenh.dll >> progress.log
    echo Registering gpkcsp.dll
    regsvr32 /s %systemroot%\system32\gpkcsp.dll >> progress.log
    REM echo Registering iuengine.dll
    REM regsvr32 /s %systemroot%\system32\iuengine.dll >> progress.log
    echo Registering jscript.dll
    regsvr32 /s %systemroot%\system32\jscript.dll >> progress.log
    echo Registering mssip32.dll
    regsvr32 /s %systemroot%\system32\mssip32.dll >> progress.log
    echo Registering msxml.dll
    regsvr32 /s %systemroot%\system32\msxml.dll >> progress.log
    echo Registering msxml2.dll
    regsvr32 /s %systemroot%\system32\msxml2.dll >> progress.log
    echo Registering msxml3.dll
    regsvr32 /s %systemroot%\system32\msxml3.dll >> progress.log
    echo Registering msxml4.dll
    regsvr32 /s %systemroot%\system32\msxml4.dll >> progress.log
    REM echo Registering mucltui.dll
    REM regsvr32 /s %systemroot%\system32\mucltui.dll >> progress.log
    REM echo Registering muweb.dll
    REM regsvr32 /s %systemroot%\system32\muweb.dll >> progress.log
    echo Registering qmgr.dll
    regsvr32 /s %systemroot%\system32\qmgr.dll >> progress.log
    echo Registering qmgrprxy.dll
    regsvr32 /s %systemroot%\system32\qmgrprxy.dll >> progress.log
    echo Registering rsaenh.dll
    regsvr32 /s %systemroot%\system32\rsaenh.dll >> progress.log
    echo Registering sccbase.dll
    regsvr32 /s %systemroot%\system32\sccbase.dll >> progress.log
    echo Registering slbcsp.dll
    regsvr32 /s %systemroot%\system32\slbcsp.dll >> progress.log
    echo Registering softpub.dll
    regsvr32 /s %systemroot%\system32\softpub.dll >> progress.log
    echo Registering urlmon.dll
    regsvr32 /s %systemroot%\system32\urlmon.dll >> progress.log
    echo Registering wintrust.dll
    regsvr32 /s %systemroot%\system32\wintrust.dll >> progress.log
    echo Registering wuapi.dll
    regsvr32 /s %systemroot%\system32\wuapi.dll >> progress.log
    echo Registering wuaueng.dll
    regsvr32 /s %systemroot%\system32\wuaueng.dll >> progress.log
    echo Registering wuaueng1.dll
    regsvr32 /s %systemroot%\system32\wuaueng1.dll >> progress.log
    REM echo Registering wuauserv.dll
    REM regsvr32 /s %systemroot%\system32\wuauserv.dll >> progress.log
    echo Registering wucltui.dll
    regsvr32 /s %systemroot%\system32\wucltui.dll >> progress.log
    echo Registering wups.dll
    regsvr32 /s %systemroot%\system32\wups.dll >> progress.log
    echo Registering wups2.dll
    regsvr32 /s %systemroot%\system32\wups2.dll >> progress.log
    echo Registering wuweb.dll
    regsvr32 /s %systemroot%\system32\wuweb.dll >> progress.log
    echo Registering initpki.dll - This one can take a few minutes.
    regsvr32 /s %systemroot%\system32\initpki.dll >> progress.log

     

     

     

    Friday, May 9, 2008 2:40 PM
    Moderator