locked
Stuck Checking for Updates -- Server 2012 Never completes the operation RRS feed

  • Question

  • I was asked by the moderator to start a separate thread for this issue.

    We have a Server 2012 Domain Controller that can no longer get updates through Windows Update. Like several other threads in this forum state, the process gets stuck "Checking for Updates" for hours, and never completes. The CPU is stuck at 50%, because svchost.exe is chewing up CPU.

    I will include the WindowsUpdate.log portion from the time when "Check for Updates" is selected, to when the process appears to hang which is the end of the log. When the update process gets hung up, we used Process Monitor and found that the following Registry key attempts to be read every 30 seconds approximately 5 times in a row, followed by a blob of other operations related to Group Policy, and then the process repeats.

    HKLM\SOFTWARE\Microsoft\WBEM\CIMOM\RepositoryRestoreInProgress

    This key does not exist in the Registry. It may not be related to the issue, but the process repeats endlessly. 

    Looking at the WindowsUpdate.log, it does appear that the update process does complete. However, the User Interface never seems to understand that, and says endless that it is "Checking for Updates".

    We've tried all of the standard techniques to fix Windows Updates. This seems like it's slightly different than all of the examples of Windows Updates not working that I found as I researched this issue.

    Thanks for any insight anybody has.

    Here's the WindowsUpdate.log....

    2017-04-14 14:11:14:617 1008 1a94 AU Triggering AU detection through DetectNow API
    2017-04-14 14:11:14:617 1008 1a94 AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Pre-install notify} added to AU services list
    2017-04-14 14:11:14:617 1008 1a94 AU Triggering Online detection (interactive)
    2017-04-14 14:11:17:617 1008 8f4 AU #############
    2017-04-14 14:11:17:617 1008 8f4 AU ## START ##  AU: Search for updates
    2017-04-14 14:11:17:617 1008 8f4 AU #########
    2017-04-14 14:11:17:619 1008 8f4 AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Pre-install notify} added to AU services list
    2017-04-14 14:11:17:817 1008 8f4 Report ***********  Report: Initializing static reporting data  ***********
    2017-04-14 14:11:17:818 1008 8f4 Report  * OS Version = 6.2.9200.0.0.131344
    2017-04-14 14:11:17:818 1008 8f4 Report  * OS Product Type = 0x00000007
    2017-04-14 14:11:17:860 1008 8f4 Report  * Computer Brand = VMware, Inc.
    2017-04-14 14:11:17:860 1008 8f4 Report  * Computer Model = VMware Virtual Platform
    2017-04-14 14:11:17:860 1008 8f4 Report  * Platform Role = 1
    2017-04-14 14:11:17:860 1008 8f4 Report  * AlwaysOn/AlwaysConnected (AOAC) = 0
    2017-04-14 14:11:17:866 1008 8f4 Report  * Bios Revision = 6.00
    2017-04-14 14:11:17:866 1008 8f4 Report  * Bios Name = PhoenixBIOS 4.0 Release 6.0     
    2017-04-14 14:11:17:866 1008 8f4 Report  * Bios Release Date = 2013-07-30T00:00:00
    2017-04-14 14:11:17:866 1008 8f4 Report  * Bios Sku Number unavailable.
    2017-04-14 14:11:17:876 1008 8f4 Report  * Bios Vendor = Phoenix Technologies LTD
    2017-04-14 14:11:17:876 1008 8f4 Report  * Bios Family unavailable.
    2017-04-14 14:11:17:876 1008 8f4 Report  * Bios Major Release = 4
    2017-04-14 14:11:17:876 1008 8f4 Report  * Bios Minor Release = 6
    2017-04-14 14:11:17:877 1008 8f4 Report  * Locale ID = 1033
    2017-04-14 14:11:17:916 1008 8f4 AU <<## SUBMITTED ## AU: Search for updates  [CallId = {063FD414-A1AF-482A-9C68-00D28251C02C} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
    2017-04-14 14:11:17:929 1008 988 Agent *************
    2017-04-14 14:11:17:929 1008 988 Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdatesWuApp]
    2017-04-14 14:11:17:929 1008 988 Agent *********
    2017-04-14 14:11:17:929 1008 988 Agent  * Online = Yes; Ignore download priority = No
    2017-04-14 14:11:17:929 1008 988 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"
    2017-04-14 14:11:17:929 1008 988 Agent  * ServiceID = {9482F4B4-E343-43B6-B170-9A65BC822C77} Windows Update
    2017-04-14 14:11:17:929 1008 988 Agent  * Search Scope = {Machine & All Users}
    2017-04-14 14:11:17:929 1008 988 Agent  * Caller SID for Applicability: S-1-5-21-2162671982-1212960963-348907849-1301
    2017-04-14 14:11:17:968 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:149 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:150 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:176 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:235 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:235 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:257 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\TMPBBCF.tmp with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:318 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:318 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:440 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\v6-wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:499 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:499 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:511 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\v6-wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:570 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:571 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:592 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\TMPBD27.tmp with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:673 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:673 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:703 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:761 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:761 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:779 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:837 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:838 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:858 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\TMPBE32.tmp with dwProvFlags 0x00000080:
    2017-04-14 14:11:18:925 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:18:926 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:18:927 1008 988 EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir Client/Server URL: "https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx"
    2017-04-14 14:11:18:945 1008 988 Setup Checking for agent SelfUpdate
    2017-04-14 14:11:18:947 1008 988 Setup Client version: Core: 7.8.9200.17185  Aux: 7.8.9200.17185
    2017-04-14 14:11:19:001 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\v6-wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:19:061 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:19:062 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:19:073 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\v6-wuredir.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:19:132 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:19:132 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:19:155 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\TMPBF5B.tmp with dwProvFlags 0x00000080:
    2017-04-14 14:11:19:188 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:19:188 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:19:202 1008 988 EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SelfUpdate URL: "https://fe2.update.microsoft.com/v11/3/win8/windowsupdate/selfupdate"
    2017-04-14 14:11:19:659 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:19:696 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:19:696 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:19:708 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\TMPC18E.tmp with dwProvFlags 0x00000080:
    2017-04-14 14:11:19:743 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:19:743 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:19:823 1008 988 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab with dwProvFlags 0x00000080:
    2017-04-14 14:11:19:870 1008 988 Misc Microsoft signed: NA
    2017-04-14 14:11:19:870 1008 988 Misc Infrastructure signed: Yes
    2017-04-14 14:11:20:123 1008 988 Setup Determining whether a new setup handler needs to be downloaded
    2017-04-14 14:11:20:124 1008 988 Setup SelfUpdate handler is not found.  It will be downloaded
    2017-04-14 14:11:20:126 1008 988 Setup Evaluating applicability of setup package "Package_for_KB2887537~31bf3856ad364e35~amd64~~6.2.1.6"
    2017-04-14 14:11:20:300 1008 988 Setup Setup package "Package_for_KB2887537~31bf3856ad364e35~amd64~~6.2.1.6" is not applicable
    2017-04-14 14:11:20:300 1008 988 Setup Evaluating applicability of setup package "Package_for_KB2887536~31bf3856ad364e35~amd64~~6.2.1.6"
    2017-04-14 14:11:20:343 1008 988 Setup Setup package "Package_for_KB2887536~31bf3856ad364e35~amd64~~6.2.1.6" is not applicable
    2017-04-14 14:11:20:344 1008 988 Setup Evaluating applicability of setup package "Package_for_KB2887535~31bf3856ad364e35~amd64~~6.2.1.10"
    2017-04-14 14:11:20:371 1008 988 Setup Setup package "Package_for_KB2887535~31bf3856ad364e35~amd64~~6.2.1.10" is not applicable
    2017-04-14 14:11:20:372 1008 988 Setup SelfUpdate check completed.  SelfUpdate is NOT required.
    2017-04-14 14:11:20:736 1008 988 PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    2017-04-14 14:11:20:736 1008 988 PT  + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
    2017-04-14 14:11:20:902 1008 988 PT WARNING: Cached cookie has expired or new PID is available
    2017-04-14 14:11:20:902 1008 988 PT WARNING: PTWarn: Anonymous plug-in skipped for WU
    2017-04-14 14:11:20:983 1008 988 Agent Reading cached app categories using lifetime 604800 seconds
    2017-04-14 14:11:20:984 1008 988 Agent Read 0 cached app categories
    2017-04-14 14:14:36:169 1008 8f4 AU #############
    2017-04-14 14:14:36:209 1008 8f4 AU ## START ##  AU: Install updates
    2017-04-14 14:14:36:209 1008 8f4 AU #########
    2017-04-14 14:14:36:210 1008 8f4 AU  # Initiating scheduled install
    2017-04-14 14:14:36:239 1008 8f4 AU WARNING: There are no approved updates to install
    2017-04-14 14:14:36:239 1008 8f4 AU  # Exit code = 0x8024000C
    2017-04-14 14:14:36:250 1008 8f4 AU #########
    2017-04-14 14:14:36:250 1008 8f4 AU ##  END  ##  AU: Install updates
    2017-04-14 14:14:36:250 1008 8f4 AU #############

    Friday, April 14, 2017 7:42 PM

Answers

  • This did solve the problem for me:

    Open an elevated command prompt.

    cd C:\Windows\System32\wbem\AutoRecover

    for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

    After that restart the Windows Update service.





    Tuesday, May 9, 2017 4:53 PM

All replies

  • A follow-up...

    As I was writing this, the WindowsUpdate.log also logged the following entries. I won't paste them all here, because they all look similar. There are hundreds of lines.

    2017-04-14 14:14:57:414 1008 988 PT +++++++++++  PT: Synchronizing extended update info  +++++++++++
    2017-04-14 14:14:57:424 1008 988 PT  + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
    2017-04-14 14:14:58:903 1008 988 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/common/2012/10/6077865_5ce1b77ed72a6dda1d2f987e8f27aa3df1337c09.cab for file XOG3ftcqbdodL5h+jyeqPfEzfAk= when file has not been previously added to the datastore
    2017-04-14 14:14:58:903 1008 988 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/common/2012/10/6077825_e4180e7cedb864c4877184b7ac91b28133ec61d7.cab for file 5BgOfO24ZMSHcYS3rJGygTPsYdc= when file has not been previously added to the datastore
    2017-04-14 14:14:58:904 1008 988 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/common/2012/10/6077714_8fe061971cfcdd538fe2c571ee347c8a617d33b4.cab for file j+Bhlxz83VOP4sVx7jR8imF9M7Q= when file has not been previously added to the datastore
    2017-04-14 14:14:58:904 1008 988 DtaStor WARNING: Attempted to add URL http://download.windowsupdate.com/msdownload/update/common/2012/10/6077712_67539bbaa7052f0026b6e124063192bc96ea9e1d.cab for file Z1ObuqcFLwAmtuEkBjGSvJbqnh0= when file has not been previously added to the datastore
    2017-04-14 14:14:58:904


    Friday, April 14, 2017 7:49 PM
  • Looks like there are no new updates approved on WSUS server.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Friday, April 14, 2017 7:50 PM
  • Yes, that's correct. It does seem like it finishes its processing, and doesn't find any updates. (All updates have been manually applied, as we're required to keep our servers patched.) However, it just never finishes in the user interface. This is what we see, endlessly!

    Some additional information...

    We are not using WSUS, and never have. We always got updates from Microsoft's servers. We do have another Server 2012 domain controller that does not have this issue. It happily gets its updates from Microsoft's servers. As far as we know, these two systems are configured identically.

    Friday, April 14, 2017 8:06 PM
  • One last piece of information that may be helpful...

    When we do finally kill of the process by stopping the Windows Update Service, we get the following entries in the WindowsUpdate.log file:

    2017-04-14 15:07:36:843 1008 8f4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2017-04-14 15:07:36:845 1008 988 Agent  * WARNING: Failed to filter search results, error = 0x8024000B
    2017-04-14 15:07:36:890 1008 988 Agent *********
    2017-04-14 15:07:36:891 1008 988 Agent **  END  **  Agent: Finding updates [CallerId = AutomaticUpdatesWuApp]
    2017-04-14 15:07:36:891 1008 988 Agent *************
    2017-04-14 15:07:37:048 1008 8f4 WuTask Uninit WU Task Manager
    2017-04-14 15:07:37:437 1008 8f4 Service *********
    2017-04-14 15:07:37:437 1008 8f4 Service **  END  **  Service: Service exit [Exit code = 0x240001]
    2017-04-14 15:07:37:437 1008 8f4 Service *************
    2017-04-14 15:07:38:438 1008 c28 Service *************
    2017-04-14 15:07:38:438 1008 c28 Service ** START **  Service: Service startup
    2017-04-14 15:07:38:438 1008 c28 Service *********
    2017-04-14 15:07:38:491 1008 c28 Agent  * WU client version 7.8.9200.17185
    2017-04-14 15:07:38:492 1008 c28 Agent  * Base directory: C:\Windows\SoftwareDistribution
    2017-04-14 15:07:38:492 1008 c28 Agent  * Access type: No proxy
    2017-04-14 15:07:38:492 1008 c28 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 0.
    2017-04-14 15:07:38:493 1008 c28 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2017-04-14 15:07:38:493 1008 c28 Agent  * Network state: Connected
    2017-04-14 15:07:38:503 1008 c28 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 0.
    2017-04-14 15:07:38:503 1008 c28 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2017-04-14 15:07:38:552 1008 aa8 Agent ***********  Agent: Initializing global settings cache  ***********
    2017-04-14 15:07:38:552 1008 aa8 Agent  * Endpoint Provider: 00000000-0000-0000-0000-000000000000
    2017-04-14 15:07:38:552 1008 aa8 Agent  * WSUS server: <NULL>
    2017-04-14 15:07:38:552 1008 aa8 Agent  * WSUS status server: <NULL>
    2017-04-14 15:07:38:552 1008 aa8 Agent  * Target group: (Unassigned Computers)
    2017-04-14 15:07:38:552 1008 aa8 Agent  * Windows Update access disabled: No
    2017-04-14 15:07:38:587 1008 aa8 Misc WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
    2017-04-14 15:07:38:604 1008 aa8 WuTask WuTaskManager delay initialize completed successfully..
    2017-04-14 15:07:38:613 1008 aa8 Report CWERReporter::Init succeeded
    2017-04-14 15:07:38:613 1008 aa8 Agent ***********  Agent: Initializing Windows Update Agent  ***********
    2017-04-14 15:07:38:613 1008 aa8 DnldMgr Download manager restoring 0 downloads
    2017-04-14 15:07:38:616 1008 aa8 AU ###########  AU: Initializing Automatic Updates  ###########
    2017-04-14 15:07:38:617 1008 aa8 AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Pre-install notify} added to AU services list
    2017-04-14 15:07:38:617 1008 aa8 AU AIR Mode is disabled
    2017-04-14 15:07:38:617 1008 aa8 AU  # Approval type: Disabled (User preference)
    2017-04-14 15:07:38:617 1008 aa8 AU  # Auto-install minor updates: No (User preference)
    2017-04-14 15:07:38:617 1008 aa8 AU  # ServiceTypeDefault: Service 117CAB2D-82B1-4B5A-A08C-4D62DBEE7782 Approval type: (Pre-install notify)
    2017-04-14 15:07:38:622 1008 aa8 AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
    2017-04-14 15:07:38:634 1008 aa8 AU AU finished delayed initialization
    2017-04-14 15:07:38:635 1008 aa8 AU WARNING: GetPostRebootResults failed, error = 0x80070005

    The dialog displays this error:


    Friday, April 14, 2017 8:18 PM
  • We are not using WSUS, and never have. We always got updates from Microsoft's servers. We do have another Server 2012 domain controller that does not have this issue.

    It seems like something is different between them. You might compare between the two

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate

    or policy. (I prefer the registry because setting back to "Not configured" may not reset the underlying policy)

     

     

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Friday, April 14, 2017 8:31 PM
  • The local group policy settings are identical on both machines.

    Checking the Registry, there are some differences. It looks like all but one of them relate to logging the results of the Windows Update operation. The working machine has entries for the Results group, while the non-working machine does not.

    The one entry that stands out is the "ResetClient" entry at the top-level location:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate

    It's set to 1 for the machine that doesn't work, and does not exist for the working machine.

    I'll remove that key and try running the update again.

    Friday, April 14, 2017 9:04 PM
  • Well, I'm not optimistic. :-(

    I removed that setting, and the WindowsUpdate.log indicates that the process got stuck again, this time trying to talk to the remote web service (apparently).

    Here's the end of the log...

    2017-04-14 16:00:41:067 1008 1c0c Setup Determining whether a new setup handler needs to be downloaded
    2017-04-14 16:00:41:068 1008 1c0c Setup SelfUpdate handler is not found.  It will be downloaded
    2017-04-14 16:00:41:068 1008 1c0c Setup Evaluating applicability of setup package "Package_for_KB2887537~31bf3856ad364e35~amd64~~6.2.1.6"
    2017-04-14 16:00:41:166 1008 1c0c Setup Setup package "Package_for_KB2887537~31bf3856ad364e35~amd64~~6.2.1.6" is not applicable
    2017-04-14 16:00:41:166 1008 1c0c Setup Evaluating applicability of setup package "Package_for_KB2887536~31bf3856ad364e35~amd64~~6.2.1.6"
    2017-04-14 16:00:41:243 1008 1c0c Setup Setup package "Package_for_KB2887536~31bf3856ad364e35~amd64~~6.2.1.6" is not applicable
    2017-04-14 16:00:41:246 1008 1c0c Setup Evaluating applicability of setup package "Package_for_KB2887535~31bf3856ad364e35~amd64~~6.2.1.10"
    2017-04-14 16:00:41:293 1008 1c0c Setup Setup package "Package_for_KB2887535~31bf3856ad364e35~amd64~~6.2.1.10" is not applicable
    2017-04-14 16:00:41:295 1008 1c0c Setup SelfUpdate check completed.  SelfUpdate is NOT required.
    2017-04-14 16:00:45:889 1008 1c0c PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    2017-04-14 16:00:45:889 1008 1c0c PT  + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
    2017-04-14 16:00:45:889 1008 1c0c Agent Reading cached app categories using lifetime 604800 seconds
    2017-04-14 16:00:45:889 1008 1c0c Agent Read 0 cached app categories

    Process Monitor indicates the machine appears to be stuck in the same endless loop.

    Friday, April 14, 2017 9:17 PM
  • You can fight the issue for many more hours or if it were me I'd stand up a new one, patch it fully, join existing domain, add active directory domain services, promote it, and decommission / demote old one.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Friday, April 14, 2017 9:28 PM
  • Hi Steve Kubis,

    Please check if you could access the following URL via explorer

    https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx

    If not, please check the network connection between the affected machine and the Microsoft Update, check the firewall blocks the traffic;

    If you could access the URL, while it still unable to check for update, the issue may related with the AU agent. Please reset windows update components again if you have already done it.

    Also run sfc /scannow to check if there are corrupted or missing system files.

    Please also check the registry keys in HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate, compare the registry keys with those on the working machine.

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, April 18, 2017 8:24 AM
  • Thank you for the suggestions to try. I did try them, and found everything appears to be working...except that the Windows Update interface never indicates that it finishes.

    I've even turned on the verbose logging for Windows Update. It logs lots of stuff...all of which seems correct. It matches what is logged on the server that properly completes its check for updates.

    Even more curious, the Windows Update service schedules a regular task to check for updates on its own (not through the user interface). This check does seem to work properly. It starts up the Windows Update service, does its check, shuts down the service, and logs the result in the Windows Update event log.

    The problem occurs only when the user interface is involved.

    I'm out of ideas for the moment, so we'll just continue with manual updates as they are released. Hopefully in the future I or somebody else will have some new insight into this unique issue.

    Thanks again for everybody's help.

    Wednesday, April 19, 2017 4:26 PM
  • Hi Steve Kubis,

    So, if the issue is that the Windows Update works well actually, while the GUI shows the wrong status of the Windows Update?

    If yes, what is the result if remote to the machine and check for windows update?

    Check if there are third-party software running which might affect it.

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, April 20, 2017 2:46 AM
  • Since a few weeks I've got the same problem with Windows Server 2012 with installed Exchange 2013CU16. It's a mess. Windows Update stuck at "Read 0 cached app categories" 
    Friday, April 21, 2017 7:56 PM
  • I have this issue as well.

    I do fresh install of Server 2012 Essentials using latest download from MS installed on freshly formatted drive. Then begin doing Windows Updates after installation and get "Windows Update needs to update itself".

    Once Windows Update "updates" itself, it no longer works. It just hangs while checking for updates and svchost.exe instance hosting windows update service pegs its cpu core indefinitely. 

    Problem is 100% repeatable for me doing fresh install on freshly formatted drive using latest installer from MS. So clearly this is broken and end user cannot fix this problem.

    FWIW, this is on a SuperMicro H8SCM-F with Opteron 4386.

    • Proposed as answer by skitron Saturday, April 22, 2017 3:13 PM
    Saturday, April 22, 2017 3:07 PM
  • This did solve the problem for me:

    Open an elevated command prompt.

    cd C:\Windows\System32\wbem\AutoRecover

    for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

    After that restart the Windows Update service.





    Tuesday, May 9, 2017 4:53 PM
  • Thanks so much for posting this! This was something that I had not tried before. I ran the command in the AutoRecover folder as indicated, and for the first time in months the Windows Update checked for updates successfully!

    Sometimes it pays to be patient, because the answer is out there somewhere. :-)

    Steve

    Tuesday, May 9, 2017 10:07 PM
  • No joy for me unfortunately...CP>WU just hangs, still see svchost.exe hosting wuausrv pegging its cpu core. If I disable Windows Update there is no cpu use to speak of at idle...

    Any ideas appreciated.

    • Edited by skitron Tuesday, May 9, 2017 10:15 PM improve
    Tuesday, May 9, 2017 10:12 PM
  • I also discovered that I cannot update using downloaded .msu unless Windows Update is working. I tried reinstalling but same issue once Windows Update updates iteself. Any and all ideas on how to fix this are appreciated.

    Tuesday, May 9, 2017 11:56 PM
  • I know this is a really old post but for anyone like me that has been struggling for an answer.

    I read on another post on the internet about removing the Desktop Experance Feature.

    At first I ignored it as I didn't think it would be that easy but after several days of trying everything else I relented.

    Guess what, 20 mins later was a list of updates!! woohoo.

    To remove this feature.

    Disable this feature:

    1. Launch Server Manager
    2. Under Manage menu, click on Remove Roles and Features
    3. Within the Remove Roles and Features Wizard, select Features from the left hand menu
    4. Within the Remove Roles and Features Wizard,  expand the option  User Interfaces and Infrastructure (Installed)
    5. Deselect Desktop Experience
    6. Click Remove(on the next dialog window)
    7. Click Close (When complete) 
      Note:
      A restart will be required to complete removal

    Friday, November 1, 2019 12:26 PM
  • I just want to thank you for this post. I've been struggling with this for months. I followed your instructions above and it worked for me. Weird that removing the Desktop Experience Feature would fix the Windows Update issue. Thanks again.
    Tuesday, November 5, 2019 6:26 PM
  • I was a bit dubious about removing the Desktop Experience feature but it worked like a charm!  I'd tried numerous other things to get it working to no avail.  Removed the feature, restarted and now have 160 odd updates pending install.

    Thank you Hawk_moth!

    Tuesday, November 12, 2019 9:34 AM
  • After doing an in place upgrade from 2008 r2 to 2012 r2 the updates failed.  I let 2 servers run for over a week (because I was gone), and still no updates.  Removing the desktop experience worked!  Thanks Hawk_moth!
    Thursday, November 21, 2019 3:57 PM
  • Thank you Hawk-moth!

    This worked perfect for me!


    Friday, December 6, 2019 1:49 AM