Windows Updates not getting installed on Windows Server 2012 R2

  • Thread starter Bruno Ramos de Matos
  • Start date
B

Bruno Ramos de Matos

Hi,


I am looking for some help from the community on a particular issue with a few Servers running Windows Server 2012 R2 in the organization I work for right now.

This was recently escalated to me and these Windows Server 2012 R2 servers have not been able to take updates in a little while. They seem to be refusing to install them. I will try to describe it as best as I can. Please, see workflow below:

1- On Windows Server 2012 R2 I run "Check for Updates". Then, Windows Update Agent checks with Microsoft Online Update Services for any new or available updates. (No WSUS).

2. Windows Update Agent retrieves a list of updates available for the Server and I select the ones to be Downloaded and Installed.

3. After hitting "Install Updates", it almost seems like it starts to install and 2 seconds after it goes back to the same screen for selecting the updates to install.

4. When I check under update install history after step 3, I can see a lot of failed or cancelled updates. See screenshot, below



The same happens if I download the package directly from Windows Update Catalog and try to install it.


The above keeps repeating itself again and again. I have already tried a lot of things such as clearing all Windows Update Cache, resetting Windows Updates Agent completely with the PowerShell script published by MS. I have also run DISM to scan and repair corrupt components and also sfc /scan now, but nothing seems to make the issue go away. I have also ruled out that any policies could be interfering and also disabled the antivirus completely as well, but no success. I am hoping anyone has come across this issue before and can point me in the right direction. I have the Windows Updates' log entries, below:


2020-07-25 23:57:07:300 388 165c Misc =========== Logging initialized (build: 7.9.9600.17729, tz: +0100) ===========
2020-07-25 23:57:07:300 388 165c Misc = Process: C:\Windows\system32\wusa.exe
2020-07-25 23:57:07:300 388 165c Misc = Module: C:\Windows\System32\wuapi.dll
2020-07-25 23:57:07:300 388 165c COMAPI ----------- COMAPI: IUpdateServiceManager::AddScanPackageService -----------
2020-07-25 23:57:07:300 388 165c COMAPI - ServiceName = Windows Update Standalone Installer
2020-07-25 23:57:07:300 388 165c COMAPI - ScanFileLocation = C:\32ae8153ebbb51830af322\wsusscan.cab
2020-07-25 23:57:07:300 4184 ac8 Misc =========== Logging initialized (build: 7.9.9600.19670, tz: +0100) ===========
2020-07-25 23:57:07:300 4184 ac8 Misc = Process: C:\Windows\system32\svchost.exe
2020-07-25 23:57:07:300 4184 ac8 Misc = Module: c:\windows\system32\wuaueng.dll
2020-07-25 23:57:07:300 4184 ac8 Service *************
2020-07-25 23:57:07:300 4184 ac8 Service ** START ** Service: Service startup
2020-07-25 23:57:07:300 4184 ac8 Service *********
2020-07-25 23:57:07:316 4184 ac8 IdleTmr Non-AoAc machine. Aoac operations will be ignored.
2020-07-25 23:57:07:316 4184 ac8 Agent * WU client version 7.9.9600.19670
2020-07-25 23:57:07:316 4184 ac8 Agent WARNING: SleepStudyTracker: Machine is non-AOAC. Sleep study tracker disabled.
2020-07-25 23:57:07:316 4184 ac8 Agent * Base directory: C:\Windows\SoftwareDistribution
2020-07-25 23:57:07:316 4184 ac8 Agent * Access type: No proxy
2020-07-25 23:57:07:316 4184 ac8 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 0.
2020-07-25 23:57:07:316 4184 ac8 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2020-07-25 23:57:07:316 4184 ac8 Agent * Network state: Connected
2020-07-25 23:57:07:316 4184 ac8 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 0.
2020-07-25 23:57:07:316 4184 ac8 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2020-07-25 23:57:07:381 4184 3c0 Agent *********** Agent: Initializing global settings cache ***********
2020-07-25 23:57:07:381 4184 ac8 Misc WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
2020-07-25 23:57:07:381 4184 3c0 Agent * Endpoint Provider: 00000000-0000-0000-0000-000000000000
2020-07-25 23:57:07:381 4184 3c0 Agent * WSUS server: <NULL>
2020-07-25 23:57:07:381 4184 3c0 Agent * WSUS status server: <NULL>
2020-07-25 23:57:07:381 4184 3c0 Agent * Target group: (Unassigned Computers)
2020-07-25 23:57:07:381 4184 3c0 Agent * Windows Update access disabled: No
2020-07-25 23:57:07:409 4184 ac8 WuTask WuTaskManager delay initialize completed successfully..
2020-07-25 23:57:07:409 4184 ac8 AU Timer: 31DA7559-FE27-4810-8FF6-987195B1FD98, Expires 2020-07-26 09:10:11, not idle-only, not network-only
2020-07-25 23:57:07:409 4184 ac8 AU Timer: CF1ABEC6-7887-4964-BB93-B2E21B31CEC1, Expires 2020-07-26 14:07:58, not idle-only, not network-only
2020-07-25 23:57:07:409 4184 ac8 AU Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-07-26 14:07:58, not idle-only, not network-only
2020-07-25 23:57:07:424 4184 ac8 Report CWERReporter::Init succeeded
2020-07-25 23:57:07:424 4184 ac8 Agent *********** Agent: Initializing Windows Update Agent ***********
2020-07-25 23:57:07:424 4184 ac8 DnldMgr Download manager restoring 0 downloads
2020-07-25 23:57:07:424 4184 ac8 AU ########### AU: Initializing Automatic Updates ###########
2020-07-25 23:57:07:424 4184 ac8 AU AIR Mode is disabled
2020-07-25 23:57:07:424 4184 ac8 AU # AU disabled through Policy
2020-07-25 23:57:07:424 4184 ac8 AU # Will interact with non-admins (Non-admins are elevated (User preference))
2020-07-25 23:57:07:424 4184 3c0 Misc Validating signature for C:\Windows\SoftwareDistribution\ScanFile\0f4531f6-8cab-468b-ae70-a2e6904153aa\Source.cab with dwProvFlags 0x00000080:
2020-07-25 23:57:07:424 4184 ac8 AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
2020-07-25 23:57:07:440 4184 3c0 Misc Microsoft signed: Yes
2020-07-25 23:57:07:440 4184 ac8 AU AU finished delayed initialization
2020-07-25 23:57:07:440 4184 990 DnldMgr Asking handlers to reconcile their sandboxes
2020-07-25 23:57:07:518 4184 3c0 DtaStor Default service for AU is {7971F918-A847-4430-9279-4A52D1EFE18D}
2020-07-25 23:57:07:580 4184 3c0 IdleTmr Incremented idle timer priority operation counter to 1
2020-07-25 23:57:07:580 388 165c COMAPI - Added scan package service, ServiceID = {0F4531F6-8CAB-468B-AE70-A2E6904153AA} Third party service
2020-07-25 23:57:07:580 388 165c COMAPI -------------
2020-07-25 23:57:07:580 388 165c COMAPI -- START -- COMAPI: Init Search [ClientId = wusa]
2020-07-25 23:57:07:580 388 165c COMAPI ---------
2020-07-25 23:57:07:580 388 165c COMAPI -------------
2020-07-25 23:57:07:580 388 165c COMAPI -- START -- COMAPI: Search [ClientId = wusa]
2020-07-25 23:57:07:580 388 165c COMAPI ---------
2020-07-25 23:57:07:596 4184 3c0 IdleTmr WU operation (CSearchCall::Init ID 1) started; operation # 8; does use network; is not at background priority
2020-07-25 23:57:07:596 4184 3c0 IdleTmr Incremented idle timer priority operation counter to 2
2020-07-25 23:57:07:658 4184 3c0 Report *********** Report: Initializing static reporting data ***********
2020-07-25 23:57:07:658 4184 3c0 Report * OS Version = 6.3.9600.0.0.196880
2020-07-25 23:57:07:658 4184 3c0 Report * OS Product Type = 0x00000007
2020-07-25 23:57:07:689 4184 3c0 Report * Computer Brand = VMware, Inc.
2020-07-25 23:57:07:689 4184 3c0 Report * Computer Model = VMware Virtual Platform
2020-07-25 23:57:07:689 4184 3c0 Report * Platform Role = 1
2020-07-25 23:57:07:689 4184 3c0 Report * AlwaysOn/AlwaysConnected (AOAC) = 0
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Revision = 6.00
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Name = PhoenixBIOS 4.0 Release 6.0
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Release Date = 2018-12-12T00:00:00
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Sku Number unavailable.
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Vendor = Phoenix Technologies LTD
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Family unavailable.
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Major Release = 4
2020-07-25 23:57:07:689 4184 3c0 Report * Bios Minor Release = 6
2020-07-25 23:57:07:689 4184 3c0 Report * Locale ID = 6153
2020-07-25 23:57:07:689 4184 3c0 Handler Calculating current update level for this session
2020-07-25 23:57:10:183 4184 3c0 Handler UH: Current cumulative update level calculated: package identity Package_for_KB3000850~31bf3856ad364e35~amd64~~6.3.1.8, display name KB3000850, support URL Microsoft Support, timestamp 01d09867b1b69032
2020-07-25 23:57:10:183 4184 3c0 Handler Done calculating current update level for this session
2020-07-25 23:57:10:588 4184 3c0 Agent *** START *** Queueing Finding updates [CallerId = wusa Id = 1]
2020-07-25 23:57:10:588 388 165c COMAPI <<-- SUBMITTED -- COMAPI: Search [ClientId = wusa]
2020-07-25 23:57:10:588 4184 1778 Agent *** END *** Queueing Finding updates [CallerId = wusa Id = 1]
2020-07-25 23:57:10:588 4184 1778 Agent *************
2020-07-25 23:57:10:588 4184 1778 Agent ** START ** Agent: Finding updates [CallerId = wusa Id = 1]
2020-07-25 23:57:10:588 4184 1778 Agent *********
2020-07-25 23:57:10:588 4184 1778 Agent * Online = Yes; Ignore download priority = No
2020-07-25 23:57:10:588 4184 1778 Agent * Criteria = "DeploymentAction='Installation'"
2020-07-25 23:57:10:588 4184 1778 Agent * ServiceID = {0F4531F6-8CAB-468B-AE70-A2E6904153AA} Third party service
2020-07-25 23:57:10:588 4184 1778 Agent * Search Scope = {Machine}
2020-07-25 23:57:10:588 4184 1778 Agent * Caller SID for Applicability: S-1-5-21-2113512372-3260006425-3759568895-500
2020-07-25 23:57:10:588 4184 1778 Agent * RegisterService is set
2020-07-25 23:57:10:791 4184 1778 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2020-07-25 23:57:10:791 4184 1778 PT + Offline serviceId = {0F4531F6-8CAB-468B-AE70-A2E6904153AA}
2020-07-25 23:57:10:791 4184 1778 PT WARNING: Cached cookie has expired or new PID is available
2020-07-25 23:57:10:807 4184 1778 Agent Reading cached app categories using lifetime 604800 seconds
2020-07-25 23:57:10:807 4184 1778 Agent Read 0 cached app categories
2020-07-25 23:57:10:807 4184 1778 Agent SyncUpdates adding 0 visited app categories
2020-07-25 23:57:10:916 4184 1778 Agent Reading cached app categories using lifetime 604800 seconds
2020-07-25 23:57:10:916 4184 1778 Agent Read 0 cached app categories
2020-07-25 23:57:10:916 4184 1778 Agent SyncUpdates adding 0 visited app categories
2020-07-25 23:57:10:962 4184 1778 Agent Reading cached app categories using lifetime 604800 seconds
2020-07-25 23:57:10:962 4184 1778 Agent Read 0 cached app categories
2020-07-25 23:57:10:962 4184 1778 Agent SyncUpdates adding 0 visited app categories
2020-07-25 23:57:11:196 4184 1778 Agent Reading cached app categories using lifetime 604800 seconds
2020-07-25 23:57:11:196 4184 1778 Agent Read 0 cached app categories
2020-07-25 23:57:11:196 4184 1778 Agent SyncUpdates adding 0 visited app categories
2020-07-25 23:57:11:664 4184 1778 Agent Reading cached app categories using lifetime 604800 seconds
2020-07-25 23:57:11:664 4184 1778 Agent Read 0 cached app categories
2020-07-25 23:57:11:664 4184 1778 Agent SyncUpdates adding 0 visited app categories
2020-07-25 23:57:11:695 4184 1778 Agent Reading cached app categories using lifetime 604800 seconds
2020-07-25 23:57:11:695 4184 1778 Agent Read 0 cached app categories
2020-07-25 23:57:11:695 4184 1778 Agent SyncUpdates adding 0 visited app categories
2020-07-25 23:57:11:695 4184 1778 PT + SyncUpdates round trips: 5
2020-07-25 23:57:13:477 4184 1778 PT +++++++++++ PT: Synchronizing extended update info +++++++++++
2020-07-25 23:57:13:477 4184 1778 PT + Offline serviceId = {0F4531F6-8CAB-468B-AE70-A2E6904153AA}
2020-07-25 23:57:13:586 4184 1778 Agent * Added update {5EF274F1-22D6-4690-8E4A-D17C2ACE333E}.501 to search result
2020-07-25 23:57:13:586 4184 1778 Agent * Found 1 updates and 53 categories in search; evaluated appl. rules of 124 out of 237 deployed entities
2020-07-25 23:57:13:586 4184 1778 Agent *********
2020-07-25 23:57:13:586 4184 1778 Agent ** END ** Agent: Finding updates [CallerId = wusa Id = 1]
2020-07-25 23:57:13:586 4184 1778 Agent *************
2020-07-25 23:57:13:586 4184 1778 IdleTmr WU operation (CSearchCall::Init ID 1, operation # 8) stopped; does use network; is not at background priority
2020-07-25 23:57:13:586 4184 1778 IdleTmr Decremented idle timer priority operation counter to 1
2020-07-25 23:57:13:602 388 1050 COMAPI >>-- RESUMED -- COMAPI: Search [ClientId = wusa]
2020-07-25 23:57:13:602 388 1050 COMAPI - Updates found = 1
2020-07-25 23:57:13:602 388 1050 COMAPI ---------
2020-07-25 23:57:13:602 388 1050 COMAPI -- END -- COMAPI: Search [ClientId = wusa]
2020-07-25 23:57:13:602 388 1050 COMAPI -------------
2020-07-25 23:57:15:557 388 165c COMAPI -------------
2020-07-25 23:57:15:557 388 165c COMAPI -- START -- COMAPI: Install [ClientId = wusa]
2020-07-25 23:57:15:557 388 165c COMAPI ---------
2020-07-25 23:57:15:557 388 165c COMAPI - Allow source prompts: Yes; Forced: No; Force quiet: No; Attempt close apps if necessary: No
2020-07-25 23:57:15:557 388 165c COMAPI - Updates in request: 1
2020-07-25 23:57:15:557 388 165c COMAPI - ServiceID = {0F4531F6-8CAB-468B-AE70-A2E6904153AA} Third party service
2020-07-25 23:57:15:136 4184 172c DnldMgr *********** DnldMgr: Copy update to cache [UpdateId = {3FC4C76B-B0BE-4286-B816-EB6DC7078B69}.501] ***********
2020-07-25 23:57:15:136 4184 172c DnldMgr Asking handler to generate non-range requests.
2020-07-25 23:57:15:136 4184 172c Handler Generating request for CBS update 3FC4C76B-B0BE-4286-B816-EB6DC7078B69 in sandbox C:\Windows\SoftwareDistribution\Download\cb929ab4aa473d53befd907fe76053b8_ctc
2020-07-25 23:57:15:136 4184 172c Handler Selecting self-contained because update does not have express payload.
2020-07-25 23:57:15:136 4184 172c Handler Selected payload type is ptSelfContained
2020-07-25 23:57:15:136 4184 172c Handler Detected download state is dsStart
2020-07-25 23:57:15:136 4184 172c Handler Adding Windows8.1-KB4566425-x64.cab (entire file) to request list.
2020-07-25 23:57:15:136 4184 172c Handler Request generation for CBS update complete with hr=0x0 and pfResetSandbox=0
2020-07-25 23:57:15:309 4184 172c Misc Validating signature for C:\Windows\SoftwareDistribution\Download\cb929ab4aa473d53befd907fe76053b8_ctc\Windows8.1-KB4566425-x64.cab with dwProvFlags 0x00000080:
2020-07-25 23:57:15:417 4184 172c Misc Microsoft signed: Yes
2020-07-25 23:57:15:417 4184 172c DnldMgr Asking handler to generate non-range requests.
2020-07-25 23:57:15:417 4184 172c Handler Generating request for CBS update 3FC4C76B-B0BE-4286-B816-EB6DC7078B69 in sandbox C:\Windows\SoftwareDistribution\Download\cb929ab4aa473d53befd907fe76053b8_ctc
2020-07-25 23:57:15:417 4184 172c Handler Selecting self-contained because update does not have express payload.
2020-07-25 23:57:15:417 4184 172c Handler Selected payload type is ptSelfContained
2020-07-25 23:57:15:417 4184 172c Handler Detected download state is dsHavePackage
2020-07-25 23:57:15:510 4184 172c Handler Request generation for CBS update complete with hr=0x0 and pfResetSandbox=0
2020-07-25 23:57:15:557 4184 172c IdleTmr WU operation (CInstallCall::Init ID 2) started; operation # 22; does not use network; is not at background priority
2020-07-25 23:57:15:557 4184 172c IdleTmr Incremented idle timer priority operation counter to 2
2020-07-25 23:57:15:573 4184 172c Agent Beginning install of conventional work item
2020-07-25 23:57:15:573 388 165c COMAPI - Updates to install = 1
2020-07-25 23:57:15:573 4184 19a4 Agent *************
2020-07-25 23:57:15:573 388 165c COMAPI <<-- SUBMITTED -- COMAPI: Install [ClientId = wusa]
2020-07-25 23:57:15:573 4184 19a4 Agent ** START ** Agent: Installing updates [CallerId = wusa]
2020-07-25 23:57:15:573 4184 19a4 Agent *********
2020-07-25 23:57:15:573 4184 19a4 Agent * Updates to install = 1
2020-07-25 23:57:15:573 4184 19a4 Agent * Title = Security Update for Windows (KB4566425)
2020-07-25 23:57:15:573 4184 19a4 Agent * UpdateId = {5EF274F1-22D6-4690-8E4A-D17C2ACE333E}.501
2020-07-25 23:57:15:573 4184 19a4 Agent * Bundles 1 updates:
2020-07-25 23:57:15:573 4184 19a4 Agent * {3FC4C76B-B0BE-4286-B816-EB6DC7078B69}.501
2020-07-25 23:57:15:588 4184 19a4 Handler Attempting to create remote handler process as VOPSSRV162\Administrator in session 3
2020-07-25 23:57:15:651 4184 19a4 DnldMgr Preparing update for install, updateId = {3FC4C76B-B0BE-4286-B816-EB6DC7078B69}.501.
2020-07-25 23:57:15:651 3056 1b3c Misc =========== Logging initialized (build: 7.9.9600.19670, tz: +0100) ===========
2020-07-25 23:57:15:651 3056 1b3c Misc = Process: C:\Windows\system32\wuauclt.exe
2020-07-25 23:57:15:651 3056 1b3c Misc = Module: C:\Windows\SYSTEM32\wuaueng.dll
2020-07-25 23:57:15:651 3056 1b3c Handler :::::::::::::
2020-07-25 23:57:15:651 3056 1b3c Handler :: START :: Handler: CBS Install
2020-07-25 23:57:15:651 3056 1b3c Handler :::::::::
2020-07-25 23:57:15:651 3056 1b3c Handler Starting install of CBS update 3FC4C76B-B0BE-4286-B816-EB6DC7078B69
2020-07-25 23:57:15:651 3056 1b3c Handler CBS session identity: 30827222_4039979613
2020-07-25 23:57:15:651 3056 1b3c Handler CBS package identity: Package_for_KB4566425~31bf3856ad364e35~amd64~~6.3.1.1
2020-07-25 23:57:15:682 3056 1b3c Handler Installing self-contained with source=C:\Windows\SoftwareDistribution\Download\cb929ab4aa473d53befd907fe76053b8\Windows8.1-KB4566425-x64.cab, workingdir=C:\Windows\SoftwareDistribution\Download\cb929ab4aa473d53befd907fe76053b8\inst
2020-07-25 23:57:20:677 4184 990 Report REPORT EVENT: {CB573578-0DAF-4396-95C0-85122B3B5000} 2020-07-25 23:57:15:588+0100 1 181 [AGENT_INSTALLING_STARTED] 101 {5EF274F1-22D6-4690-8E4A-D17C2ACE333E} 501 0 wusa Success Content Install Installation Started: Windows has started installing the following update: Security Update for Windows (KB4566425)
2020-07-25 23:57:20:677 4184 990 Report CWERReporter finished handling 2 events. (00000000)
2020-07-25 23:57:22:446 388 165c COMAPI WARNING: Operation failed due to earlier error, hr=80240007
2020-07-25 23:57:22:446 3056 bb4 Handler CUHCbsHandler::Cancel called with fReleaseThreadNow=0
2020-07-25 23:57:24:098 3056 bb4 Handler FATAL: CBS called Error with 0x800f0821,
2020-07-25 23:57:24:207 4184 3c0 Agent LogHistory called. idUpdate={5EF274F1-22D6-4690-8E4A-D17C2ACE333E}.501, resultMapped=8024000B, resultUnMapped=8024000B
2020-07-25 23:57:24:207 3056 1b3c Handler FATAL: Completed install of CBS update with type=2, requiresReboot=0, installerError=0, hr=0x80242008
2020-07-25 23:57:24:223 3056 1b3c Handler :::::::::
2020-07-25 23:57:24:223 3056 1b3c Handler :: END :: Handler: CBS Install
2020-07-25 23:57:24:223 3056 1b3c Handler :::::::::::::
2020-07-25 23:57:24:223 4184 19a4 Agent * WARNING: Exit code = 0x8024000B
2020-07-25 23:57:24:223 4184 19a4 Agent *********
2020-07-25 23:57:24:223 4184 19a4 Agent ** END ** Agent: Installing updates [CallerId = wusa]
2020-07-25 23:57:24:223 4184 19a4 Agent *************
2020-07-25 23:57:24:223 4184 19a4 Agent WARNING: WU client failed installing updates with error 0x8024000b
2020-07-25 23:57:24:223 4184 19a4 IdleTmr WU operation (CInstallCall::Init ID 2, operation # 22) stopped; does not use network; is not at background priority
2020-07-25 23:57:24:223 4184 19a4 IdleTmr Decremented idle timer priority operation counter to 1
2020-07-25 23:57:29:206 4184 990 Report REPORT EVENT: {383401C4-968B-41AB-9C00-B56D8EBD79DA} 2020-07-25 23:57:24:207+0100 1 186 [AGENT_INSTALL_CANCEL] 101 {5EF274F1-22D6-4690-8E4A-D17C2ACE333E} 501 8024000b wusa Success Content Install User cancelled the installation.
2020-07-25 23:57:29:221 4184 990 Report CWERReporter::HandleEvents - WER report upload completed with WER status 0x8 (hr=0)
2020-07-25 23:57:29:221 4184 990 Report WER Report sent: 7.9.9600.19670 0x8024000b(0x8024000b) 5EF274F1-22D6-4690-8E4A-D17C2ACE333E Install 501 0 wusa {0F4531F6-8CAB-468B-AE70-A2E6904153AA} 0
2020-07-25 23:57:29:221 4184 990 Report CWERReporter finished handling 1 events. (00000000)


Many thanks in advance!

Continue reading...
 
Back
Top Bottom