none
Windows Update Hangs while searching for updates - Windows Server 2008 R2 Standard 64 bit

    Question

  • In need of Critical updates on my Web Server. All the problems started when one of the updates just hung and ran for several days until I killed it.

    Have followed other posts where you stop the update services, rename the directory softwaredistribution - restarted the services - it found the updates

    then just hung after I started to apply the updates. So I am back to square one - need some help here - please!

    Thanks for your time. 

    • Edited by Tekkens Tuesday, January 25, 2011 12:08 AM
    Sunday, January 23, 2011 5:25 PM

All replies

  • Ignore the log dump - that was from my PC not the remote Windows Server - Sorry: Here is a dump from the Server in question.

     

    2011-01-14 18:17:42:615 4024 bc4 WUApp WARNING: Couldn't handle 'Check for Updates' click -- operation in progress

    2011-01-14 18:17:55:257 788 ddc AU ###########  AU: Setting new AU options  ###########

    2011-01-14 18:17:55:257 788 ddc AU Setting AU Approval Type to 2

    2011-01-14 18:17:55:258 788 ddc AU Successfully wrote event for AU health state:0

    2011-01-14 18:17:55:258 788 ddc AU  # Policy changed, AU refresh required = No

    2011-01-14 18:17:55:258 788 ddc AU  # Approval type: Pre-download notify (User preference)

    2011-01-14 18:17:55:258 788 ddc AU  # Will interact with non-admins (Non-admins are elevated (User preference))

    2011-01-14 18:17:55:258 788 ddc AU AU settings changed through User Preference.

    2011-01-14 18:17:55:274 788 ddc AU Successfully wrote event for AU health state:0

    2011-01-14 18:20:37:414 3772 ad8 Misc ===========  Logging initialized (build: 7.3.7600.16385, tz: -0500)  ===========

    2011-01-14 18:20:37:414 3772 ad8 Misc  = Process: C:\Program Files (x86)\Internet Explorer\iexplore.exe

    2011-01-14 18:20:37:415 3772 ad8 Misc  = Module: C:\Windows\system32\wuwebv.dll

    2011-01-14 18:20:37:414 3772 ad8 Misc Validating signature for C:\Users\ADMINI~1\AppData\Local\Temp\Low\WindowsUpdate\OptIn\Redir\9482F4B4-E343-43B6-B170-9A65BC822C77\muv4wuredir.cab:

    2011-01-14 18:20:37:544 3772 ad8 Misc Microsoft signed: Yes

    2011-01-14 18:20:37:780 1140 f30 Misc ===========  Logging initialized (build: 7.3.7600.16385, tz: -0500)  ===========

    2011-01-14 18:20:37:780 1140 f30 Misc  = Process: C:\Windows\SysWOW64\DllHost.exe

    2011-01-14 18:20:37:780 1140 f30 Misc  = Module: C:\Windows\SysWOW64\wuapi.dll

    2011-01-14 18:20:37:778 1140 f30 COMAPI -----------  COMAPI: IUpdateServiceManager::AddService  -----------

    2011-01-14 18:20:37:780 1140 f30 COMAPI  - ServiceId = {7971f918-a847-4430-9279-4a52d1efe18d}

    2011-01-14 18:20:37:780 1140 f30 COMAPI  - AuthorizationCabPath = C:\Users\Administrator\AppData\Local\WindowsUpdate\OptIn\AuthCab\tempauthcab.cab

    2011-01-14 18:20:37:839 788 ddc Misc Validating signature for C:\Windows\SoftwareDistribution\AuthCabs\Downloaded\7971f918-a847-4430-9279-4a52d1efe18d.auth.cab.temp\tempauthcab.cab:

    2011-01-14 18:20:37:885 788 ddc Misc Microsoft signed: Yes

    2011-01-14 18:20:38:159 788 ddc DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77}

    2011-01-14 18:20:38:174 1140 f30 COMAPI  - Added service, URL = http://www.update.microsoft.com/microsoftupdate/

    2011-01-14 18:20:38:174 1140 f30 COMAPI -----------  COMAPI: IUpdateServiceManager::RegisterServiceWithAU  -----------

    2011-01-14 18:20:38:174 1140 f30 COMAPI  - ServiceId = {7971f918-a847-4430-9279-4a52d1efe18d}

    2011-01-14 18:20:38:178 788 9d0 DtaStor Update service properties: service registered with AU is {7971F918-A847-4430-9279-4A52D1EFE18D}

    2011-01-14 18:20:38:181 788 cc0 AU Service Provider info changed

    2011-01-14 18:20:38:181 788 cc0 AU AU Refresh required....

    2011-01-14 18:20:38:184 788 cc0 AU AU setting next detection timeout to 2011-01-14 23:30:38

    2011-01-14 18:20:38:187 788 cc0 AU AU setting next featured software notification timeout to 2011-01-14 23:20:38

    2011-01-14 18:20:38:209 788 cc0 AU Successfully wrote event for AU health state:0

    2011-01-14 18:20:38:214 788 9d0 AU ###########  AU: Setting new AU options  ###########

    2011-01-14 18:20:38:216 788 9d0 AU Successfully wrote event for AU health state:0

    2011-01-14 18:20:38:216 788 9d0 AU  # Policy changed, AU refresh required = No

    2011-01-14 18:20:38:217 788 9d0 AU  # Approval type: Pre-download notify (User preference)

    2011-01-14 18:20:38:217 788 9d0 AU  # Will interact with non-admins (Non-admins are elevated (User preference))

    2011-01-14 18:20:38:217 788 9d0 AU AU settings changed through User Preference.

    2011-01-14 18:20:38:218 788 9d0 AU Successfully wrote event for AU health state:0

    2011-01-15 13:07:44:996 788 cc0 AU AU setting next sqm report timeout to 2011-01-16 18:07:44

    2011-01-16 13:07:44:996 788 cc0 AU AU setting next sqm report timeout to 2011-01-17 18:07:44

    2011-01-17 13:07:44:996 788 cc0 AU AU setting next sqm report timeout to 2011-01-18 18:07:44

    2011-01-18 13:07:44:996 788 cc0 AU AU setting next sqm report timeout to 2011-01-19 18:07:44

    2011-01-19 13:07:44:996 788 cc0 AU AU setting next sqm report timeout to 2011-01-20 18:07:44

    2011-01-20 13:07:44:995 788 cc0 AU AU setting next sqm report timeout to 2011-01-21 18:07:44

    2011-01-21 13:07:44:995 788 cc0 AU AU setting next sqm report timeout to 2011-01-22 18:07:44

    2011-01-22 13:07:44:995 788 cc0 AU AU setting next sqm report timeout to 2011-01-23 18:07:44

    2011-01-22 14:18:37:215 4024 da4 Misc ===========  Logging initialized (build: 7.3.7600.16385, tz: -0500)  ===========

    2011-01-22 14:18:37:215 4024 da4 Misc  = Process: C:\Windows\Explorer.EXE

    2011-01-22 14:18:37:215 4024 da4 Misc  = Module: C:\Windows\system32\wucltux.dll

    2011-01-22 14:18:37:215 4024 da4 WUApp WARNING: Couldn't handle 'Check for Updates' click -- operation in progress

    Sunday, January 23, 2011 5:27 PM
  • Have you tried to do custom updates and select only one?

    Sunday, January 23, 2011 6:55 PM
  • You can try the below:

    start registry editor

    Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

    Delete subkey named NoWindowsUpdate if it exists

    Additionally you can try below KB article

    http://support.microsoft.com/kb/971058

     


    With kind regards
    Krystian Zieja
    http://www.projectnenvision.com
    Follow me on twitter
    My Blog
    Monday, January 24, 2011 3:25 AM
  • Have tried doing individual updates of the outstanding window updates  - with no success.

    If this is what you mean? Same problem where it just sits there and runs forever.

    Monday, January 24, 2011 11:34 PM
  • That key does not exist in the registry. I did find a batch of commands that is the same as the 'Fix' program in the KB article you sent me.

    The fix program will not run on the Windows 7 Server(64 bit) - stating it is not meant for this version of Windows.

    I need to do it off hours, as this is a live server(the only one..) Will let you know how it goes.

     

    Thanks

    Steve

    Monday, January 24, 2011 11:36 PM
  • ok - we made some progress - but still have serious problems.

    By running this batch. 

    net stop wuauserv 

    rmdir %windir%\softwaredistribution /s /q 

    rmdir %windir%\system32\softwaredistribution /s /q 

    regsvr32 /s wuaueng.dll 

    regsvr32 /s wuaueng1.dll 

    regsvr32 /s atl.dll 

    regsvr32 /s wups.dll 

    regsvr32 /s wups2.dll 

    regsvr32 /s wuweb.dll 

    regsvr32 /s wucltui.dll 

    net start wuauserv

    Then this batch:

    net stop bits

    net stop wuauserv

    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

    sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU) (A;;CCLCSWRPWPDTLOCRRC;;;PU)

    sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU) (A;;CCLCSWRPWPDTLOCRRC;;;PU)

    cd /d %windir%\system32

    regsvr32.exe /s atl.dll

    regsvr32.exe /s urlmon.dll

    regsvr32.exe /s mshtml.dll

    regsvr32.exe /s shdocvw.dll

    regsvr32.exe /s browseui.dll

    regsvr32.exe /s jscript.dll

    regsvr32.exe /s vbscript.dll

    regsvr32.exe /s scrrun.dll

    regsvr32.exe /s msxml.dll

    regsvr32.exe /s msxml3.dll

    regsvr32.exe /s msxml6.dll

    regsvr32.exe /s actxprxy.dll

    regsvr32.exe /s softpub.dll

    regsvr32.exe /s wintrust.dll

    regsvr32.exe /s dssenh.dll

    regsvr32.exe /s rsaenh.dll

    regsvr32.exe /s gpkcsp.dll

    regsvr32.exe /s sccbase.dll

    regsvr32.exe /s slbcsp.dll

    regsvr32.exe /s cryptdlg.dll

    regsvr32.exe /s oleaut32.dll

    regsvr32.exe /s ole32.dll

    regsvr32.exe /s shell32.dll

    regsvr32.exe /s initpki.dll

    regsvr32.exe /s wuapi.dll

    regsvr32.exe /s wuaueng.dll

    regsvr32.exe /s wuaueng1.dll

    regsvr32.exe /s wucltui.dll

    regsvr32.exe /s wups.dll

    regsvr32.exe /s wups2.dll

    regsvr32.exe /s wuweb.dll

    regsvr32.exe /s qmgr.dll

    regsvr32.exe /s qmgrprxy.dll

    regsvr32.exe /s wucltux.dll

    regsvr32.exe /s muweb.dll

    regsvr32.exe /s wuwebv.dll

    netsh winsock reset

    net start bits

    net start wuauserv

     

    Now It does not hang on checking for updates. It found 14 critical updates to install! I was psyched until I

    attempted to then install them. I took baby steps and only checked off one of them to install. It started to download

    5% then just hung. I stopped the download which it would let me do. Then selected a smaller one - just hung 0%

    so I stopped it. Selected and even smaller one, it downloaded to 99% then just hung.

     

    Here is a portion of my update log - please help if you can.

    Thanks very much for your time.

     

    2011-01-25 01:16:22:717 792 328 AU Changing existing AU client directive from 'Install Complete Ux' to 'Download Approval', session id = 0x2

    2011-01-25 01:16:22:721 792 328 AU Successfully wrote event for AU health state:0

    2011-01-25 01:16:22:721 792 7f0 AU WARNING: Download callback received for call not in AU's list. Ignore the call result.

    2011-01-25 01:16:22:721 792 7f0 AU WARNING: Download callback received for call not in AU's list. Ignore the call result.

    2011-01-25 01:16:22:722 792 b40 AU #############

    2011-01-25 01:16:22:722 792 b40 AU ## START ##  AU: Search for updates

    2011-01-25 01:16:22:722 792 b40 AU #########

    2011-01-25 01:16:22:722 2748 384 CltUI AU client got new directive = 'Download Approval', serviceId = {7971F918-A847-4430-9279-4A52D1EFE18D}, return = 0

    2011-01-25 01:16:22:734 792 b40 AU <<## SUBMITTED ## AU: Search for updates [CallId = {E670BCDD-2352-4A0A-B188-6C89CC9ED965}]

    2011-01-25 01:16:22:734 792 b9c Agent *************

    2011-01-25 01:16:22:734 792 b9c Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdates]

    2011-01-25 01:16:22:734 792 b9c Agent *********

    2011-01-25 01:16:22:734 792 b9c Agent  * Online = No; Ignore download priority = No

    2011-01-25 01:16:22:734 792 b9c Agent  * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"

    2011-01-25 01:16:22:734 792 b9c Agent  * ServiceID = {7971F918-A847-4430-9279-4A52D1EFE18D} Third party service

    2011-01-25 01:16:22:734 792 b9c Agent  * Search Scope = {Machine}

    2011-01-25 01:16:23:062 792 328 AU WARNING: Returning due to error from GetDownloadProgressUx, error = 0x8024000C

    2011-01-25 01:16:23:062 792 328 AU WARNING: GetInteractiveInstallProgress failed, error = 0x8024000C

    2011-01-25 01:16:23:063 2852 9e8 WUApp WARNING: Call to GetInteractiveInstallProgress failed, hr=8024000C

    2011-01-25 01:16:23:565 792 b9c Driver Matched driver to device PCI\VEN_10EC&DEV_8168&SUBSYS_75491462&REV_02

    2011-01-25 01:16:23:565 792 b9c Driver Status: 0x180200a, ProblemNumber: 00000000

    2011-01-25 01:16:28:528 792 b9c Handler FATAL: UH: 0x800706be: EvaluateApplicability failed in CCbs::EvaluateApplicability

    2011-01-25 01:16:28:528 792 b9c Agent WARNING: Failed to evaluate Installed rule, updateId = {710EBC70-0D61-4DE3-B782-65EDF3BB9291}.100, hr = 800706BE

    2011-01-25 01:16:29:679 792 b9c Handler FATAL: UH: 0x800706be: EvaluateApplicability failed in CCbs::EvaluateApplicability

    2011-01-25 01:16:29:680 792 b9c Agent WARNING: Failed to evaluate Installable rule, updateId = {710EBC70-0D61-4DE3-B782-65EDF3BB9291}.100, hr = 800706BE

    2011-01-25 01:16:58:586 792 9bc AU Getting featured update notifications.  fIncludeDismissed = true

    2011-01-25 01:16:58:586 792 9bc AU No featured updates available.

    2011-01-25 01:17:03:611 792 b9c Handler FATAL: UH: 0x800706be: EvaluateApplicability failed in CCbs::EvaluateApplicability

    2011-01-25 01:17:03:612 792 b9c Agent WARNING: Failed to evaluate Installed rule, updateId = {47C0F508-4956-4554-A0CC-534D3B348F2A}.100, hr = 800706BE

    2011-01-25 01:17:04:080 792 9bc AU WARNING: Returning due to error from GetDownloadProgressUx, error = 0x8024000C

    2011-01-25 01:17:04:080 792 9bc AU WARNING: GetInteractiveInstallProgress failed, error = 0x8024000C

    2011-01-25 01:17:04:081 2852 9e8 WUApp WARNING: Call to GetInteractiveInstallProgress failed, hr=8024000C

     

     

     

     

    • Proposed as answer by cls452 Saturday, April 21, 2012 6:29 PM
    Tuesday, January 25, 2011 6:18 AM
  • Hi,

     

    Please refer to the following suggestions for troubleshooting first:

     

    1: Write down one failed update ID, download the update from Microsoft Download Center, and refer to:

     

    Microsoft Download Center

    http://www.microsoft.com/downloads/en/default.aspx   

     

    2: Boot into Clean Boot environment to install this update manually

    -----------------------------------

    1. Click "Start", click “Run” and type "msconfig" to start the System Configuration Utility.

    2. Click the "Services" tab, check the "Hide All Microsoft Services" box and click Disable All (if it is not gray).

    3. Click the "Startup" tab, click "Disable All" and click "OK".

    4. Restart your computer. If the "System Configuration Utility" window appears, please check the box and click "OK".

    5. Double click to install this update manually.

     

    If any error is showed, please let us know. Also, please help gather the Windowsupdate.log for further research. Go to %windir%\Windowsupdate.log

     

    You can upload the file to the following link. (Please choose "Send Files to Microsoft")

     

    Workspace URL: (https://sftus.one.microsoft.com/choosetransfer.aspx?key=ec6e0d7f-68b9-4467-8396-edeadbb9ef45 )                     

    Password: A2AXdkR$+2Xc

     

    Note: Due to differences in text formatting with various email clients, the workspace link above may appear to be broken. Please be sure to include all text between '(' and ')' when typing or copying the workspace link into your browser. Meanwhile, please note that files uploaded for more than 72 hours will be deleted automatically. Please ensure to notify me timely after you have uploaded the files. Thank you for your understanding.

     

    Thanks.

    Nina


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Wednesday, January 26, 2011 2:25 PM
  • Hi Nina,

     

    The server is remote. Can I do what you suggested and still get to the box via Remote Desktop?

     

    Please advise and thanks!

     

    Steve

    Wednesday, January 26, 2011 4:42 PM
  • Hi Steve,

    Sure, the suggestion can be done on a remote server if you have proper privileges, such as install the update manually and restart the server. If the "System Configuration Utility" is not showed after reconnecting to the server, please just ignore it and move on for troubleshooting. If it is inconvenient to boot into Clean Boot, please try disabling antivirus and firewall instead.

    Thanks.

    Nina


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, January 27, 2011 10:27 AM
  • I'm a little tentative on doing the clena boot remotely. So I followed your advice on turning off the firewall and antivirus.

     

    When manually installing KB2305420-x64 got this error message:

     

    Installer encountered and error: 0x80240009

     

    Never recevied an error message before it would just hang. I will also post a copy of the windowsupdatelog in the location you gave me.

     

    Thanks

    Steve

    Thursday, January 27, 2011 6:51 PM
  • I've been searching for 2 hours and running these batches is the only thing that has worked for me.
    Saturday, April 21, 2012 6:30 PM