Server updates failing on server 2012 R2

cdam112 21 Reputation points
2020-09-18T01:44:30.857+00:00

Hello i have been failing windows updates on my 2012 R2 server for a while now.. Its connected to WSUS and tells me what updates i need but it fails to install them.. Also when i run the updates directly from Microsoft it installs a few but the update roll-ups fails..

Here is the logs that i found..

2020-09-17 20:34:27:136 828 1a08 Agent START Queueing Finding updates [CallerId = AutomaticUpdates Id = 1]
2020-09-17 20:34:27:136 828 1a08 AU <<## SUBMITTED ## AU: Search for updates [CallId = {98BB2D04-ED9E-4C33-B01A-ACC2D9D6DDFC} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
2020-09-17 20:34:27:136 828 164c Agent END Queueing Finding updates [CallerId = AutomaticUpdates Id = 1]
2020-09-17 20:34:27:136 828 164c Agent *************
2020-09-17 20:34:27:136 828 164c Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates Id = 1]
2020-09-17 20:34:27:136 828 164c Agent *********
2020-09-17 20:34:27:136 828 164c Agent * Online = Yes; Ignore download priority = No
2020-09-17 20:34:27:136 828 164c 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"
2020-09-17 20:34:27:136 828 164c Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2020-09-17 20:34:27:136 828 164c Agent * Search Scope = {Machine & All Users}
2020-09-17 20:34:27:136 828 164c Agent * Caller SID for Applicability: S-1-5-18
2020-09-17 20:34:27:136 828 164c Agent * RegisterService is set
2020-09-17 20:34:27:136 828 164c SLS Retrieving SLS response from server using ETAG "16IMgThQPatW3gLvl1IedEpqN3G7onUum7nRv4bGmwI=_1440"...
2020-09-17 20:34:27:136 828 164c SLS Making request with URL HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=406&L=en-US&P=&PT=0x7&WUA=7.9.9600.18756
2020-09-17 20:34:27:199 828 164c Agent WARNING: failed to access the auth cab, fatal error 0x80070003
2020-09-17 20:34:27:199 828 164c Agent WARNING: Invalid service in the backup data store; cleaning up
2020-09-17 20:34:27:199 828 164c Agent WARNING: Failed to add and register service 117cab2d-82b1-4b5a-a08c-4d62dbee7782 to the data store 0x80240031
2020-09-17 20:34:27:199 828 164c Agent WARNING: Service Recovery: Attempting to add pending registration for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782 to the data store
2020-09-17 20:34:27:199 828 164c Agent WARNING: could not get the auth file name 0x80070002
2020-09-17 20:34:27:199 828 164c Agent WARNING: Service Recovery: Attempting to add pending registration for service 7971f918-a847-4430-9279-4a52d1efe18d to the data store
2020-09-17 20:34:27:199 828 164c Agent WARNING: could not get the auth file name 0x80070002
2020-09-17 20:34:27:199 828 164c Agent WARNING: Service Recovery: Attempting to add pending registration for service 7971f918-a847-4430-9279-4a52d1efe18d to the data store
2020-09-17 20:34:27:199 828 164c SLS Retrieving SLS response from server using ETAG "16IMgThQPatW3gLvl1IedEpqN3G7onUum7nRv4bGmwI=_1440"...
2020-09-17 20:34:27:199 828 164c SLS Making request with URL HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=406&L=en-US&P=&PT=0x7&WUA=7.9.9600.18756
2020-09-17 20:34:27:261 828 164c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: "117cab2d-82b1-4b5a-a08c-4d62dbee7782"
2020-09-17 20:34:27:261 828 164c SLS FATAL: SLS:CSLSRequest::RetrieveAdditionalAttributesIfRequired: CoCreateInstance failed with 0x80040154.
2020-09-17 20:34:27:261 828 164c Agent WARNING: Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154
2020-09-17 20:34:27:261 828 164c Agent FATAL: Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154
2020-09-17 20:34:27:261 828 164c SLS Retrieving SLS response from server using ETAG "16IMgThQPatW3gLvl1IedEpqN3G7onUum7nRv4bGmwI=_1440"...
2020-09-17 20:34:27:261 828 164c SLS Making request with URL HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=406&L=en-US&P=&PT=0x7&WUA=7.9.9600.18756
2020-09-17 20:34:27:324 828 164c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: "7971f918-a847-4430-9279-4a52d1efe18d"
2020-09-17 20:34:27:324 828 164c EP Got WSUS Client/Server URL: "http://mydomain:8530/ClientWebService/client.asmx"
2020-09-17 20:34:27:324 828 164c Setup Checking for agent SelfUpdate
2020-09-17 20:34:27:324 828 164c Setup Client version: Core: 7.9.9600.18756 Aux: 7.9.9600.18756
2020-09-17 20:34:27:324 828 164c EP Got WSUS SelfUpdate URL: "http://mydomain:8530/selfupdate"
2020-09-17 20:34:27:324 828 164c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
2020-09-17 20:34:27:324 828 164c Misc Microsoft signed: NA
2020-09-17 20:34:27:324 828 164c Misc Infrastructure signed: Yes
2020-09-17 20:34:27:340 828 164c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\TMP6DDA.tmp with dwProvFlags 0x00000080:
2020-09-17 20:34:27:340 828 164c Misc Microsoft signed: NA
2020-09-17 20:34:27:340 828 164c Misc Infrastructure signed: Yes
2020-09-17 20:34:27:340 828 164c Setup FATAL: GetClientUpdateUrl failed, err = 0x8024D009
2020-09-17 20:34:27:340 828 164c Setup Skipping SelfUpdate check based on the /SKIP directive in wuident
2020-09-17 20:34:27:340 828 164c Setup SelfUpdate check completed. SelfUpdate is NOT required.
2020-09-17 20:34:27:933 828 164c PT +++++++++++ PT: Synchronizing server updates +++++++++++
2020-09-17 20:34:27:933 828 164c PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mydomain:8530/ClientWebService/client.asmx
2020-09-17 20:34:27:933 828 164c Agent Reading cached app categories using lifetime 604800 seconds
2020-09-17 20:34:27:933 828 164c Agent Read 0 cached app categories
2020-09-17 20:34:27:933 828 164c Agent SyncUpdates adding 0 visited app categories
2020-09-17 20:34:28:636 828 164c IdleTmr WU operation (CAgentProtocolTalker::SyncUpdates_WithRecover) started; operation # 18; does use network; is at background priority
2020-09-17 20:34:28:636 828 164c IdleTmr WU operation (CAgentProtocolTalker::SyncUpdates_WithRecover, operation # 18) stopped; does use network; is at background priority
2020-09-17 20:34:28:636 828 164c Agent Reading cached app categories using lifetime 604800 seconds
2020-09-17 20:34:28:636 828 164c Agent Read 0 cached app categories
2020-09-17 20:34:28:636 828 164c Agent SyncUpdates adding 0 visited app categories
2020-09-17 20:34:28:652 828 164c IdleTmr WU operation (CAgentProtocolTalker::SyncUpdates_WithRecover) started; operation # 19; does use network; is at background priority
2020-09-17 20:34:28:668 828 164c IdleTmr WU operation (CAgentProtocolTalker::SyncUpdates_WithRecover, operation # 19) stopped; does use network; is at background priority
2020-09-17 20:34:28:668 828 164c PT + SyncUpdates round trips: 2
2020-09-17 20:34:31:090 828 164c Agent WARNING: Failed to evaluate Installed rule, updateId = {{A14053C6-954D-4E31-A9EC-A233360A48AE}.200}, hr = 80041010
2020-09-17 20:34:31:105 828 164c Agent WARNING: Failed to evaluate Installable rule, updateId = {{A14053C6-954D-4E31-A9EC-A233360A48AE}.200}, hr = 80041010
2020-09-17 20:34:31:262 828 164c Agent WARNING: Failed to evaluate Installed rule, updateId = {{916F3D06-6B38-4B5D-A776-88F48A7609BE}.201}, hr = 80041010
2020-09-17 20:34:31:262 828 164c Agent WARNING: Failed to evaluate Installable rule, updateId = {{916F3D06-6B38-4B5D-A776-88F48A7609BE}.201}, hr = 80041010
2020-09-17 20:34:31:308 828 164c Agent WARNING: Failed to evaluate Installed rule, updateId = {{68079C3F-2EA8-4B62-B0E8-0688D60F8EB2}.202}, hr = 80041010
2020-09-17 20:34:31:308 828 164c Agent WARNING: Failed to evaluate Installable rule, updateId = {{68079C3F-2EA8-4B62-B0E8-0688D60F8EB2}.202}, hr = 80041010
2020-09-17 20:34:31:324 828 164c Agent WARNING: Failed to evaluate Installed rule, updateId = {{940C733D-7502-4A8D-8965-979D14F073F1}.200}, hr = 80041010
2020-09-17 20:34:31:324 828 164c Agent WARNING: Failed to evaluate Installable rule, updateId = {{940C733D-7502-4A8D-8965-979D14F073F1}.200}, hr = 80041010
2020-09-17 20:34:31:574 828 164c Agent WARNING: Failed to evaluate Installed rule, updateId = {{13336AA6-0956-4F0D-A6C2-52E84CFB596A}.200}, hr = 80041010
2020-09-17 20:34:31:574 828 164c Agent WARNING: Failed to evaluate Installable rule, updateId = {{13336AA6-0956-4F0D-A6C2-52E84CFB596A}.200}, hr = 80041010
2020-09-17 20:34:31:605 828 164c Agent WARNING: Failed to evaluate Installed rule, updateId = {{40FFC1EF-FAA5-447F-A21B-B0E675114265}.200}, hr = 80041010
2020-09-17 20:34:31:605 828 164c Agent WARNING: Failed to evaluate Installable rule, updateId = {{40FFC1EF-FAA5-447F-A21B-B0E675114265}.200}, hr = 80041010
2020-09-17 20:34:31:605 828 164c Agent WARNING: Failed to evaluate Installed rule, updateId = {{49130C58-976C-48F3-A057-40FE9FF19315}.200}, hr = 80041010
2020-09-17 20:34:31:621 828 164c Agent WARNING: Failed to evaluate Installable rule, updateId = {{49130C58-976C-48F3-A057-40FE9FF19315}.200}, hr = 80041010
2020-09-17 20:34:31:699 828 164c Agent * Found 0 updates and 92 categories in search; evaluated appl. rules of 789 out of 1370 deployed entities
2020-09-17 20:34:31:699 828 164c Agent Reporting status event with 51 installable, 50 installed, 0 installed pending, 0 failed and 0 downloaded updates
2020-09-17 20:34:31:699 828 164c Agent *********
2020-09-17 20:34:31:699 828 164c Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates Id = 1]
2020-09-17 20:34:31:699 828 164c Agent *************
2020-09-17 20:34:31:699 828 164c IdleTmr WU operation (CSearchCall::Init ID 1, operation # 17) stopped; does use network; is at background priority
2020-09-17 20:34:31:699 828 185c AU >>## RESUMED ## AU: Search for updates [CallId = {98BB2D04-ED9E-4C33-B01A-ACC2D9D6DDFC} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
2020-09-17 20:34:31:699 828 185c AU # 0 updates detected
2020-09-17 20:34:31:699 828 185c AU #########
2020-09-17 20:34:31:699 828 185c AU ## END ## AU: Search for updates [CallId = {98BB2D04-ED9E-4C33-B01A-ACC2D9D6DDFC} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
2020-09-17 20:34:31:699 828 185c AU #############
2020-09-17 20:34:31:699 828 185c AU All AU searches complete.
2020-09-17 20:34:31:699 828 185c AU AU setting next detection timeout to 2020-09-18 01:27:52
2020-09-17 20:34:31:699 828 185c AU Adding timer:
2020-09-17 20:34:31:699 828 185c AU Timer: 31DA7559-FE27-4810-8FF6-987195B1FD98, Expires 2020-09-18 01:27:52, not idle-only, not network-only
2020-09-17 20:34:31:699 828 185c AU Currently AUX is enabled - so not show any WU Upgrade notifications.
2020-09-17 20:34:31:699 828 185c AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
2020-09-17 20:34:31:699 828 185c AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037

Can anyone please guide me in the right direction as to which route i need to take to get windows patching working on this server.. Its a virtual machine running server 2012 r2. The server is connect to a WSUS server and i tried to do updated from the server directly going to the microsoft but getting errors.

25695-image.png

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,588 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2020-09-18T02:11:46.263+00:00

    I'd try manual download and install the latest SSU
    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4566425

    followed by the latest cumulative update.
    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4577066

    --please don't forget to Accept as answer if the reply is helpful--


6 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-09-18T01:53:37.227+00:00

    What is the result of;
    (Get-HotFix | Sort-Object -Property InstalledOn)


  2. cdam112 21 Reputation points
    2020-09-18T13:13:46.977+00:00

    2020-09-18 08:40:40:819 828 20a8 Agent ** START ** Agent: Installing updates [CallerId = wusa]
    2020-09-18 08:40:40:819 828 20a8 Agent *********
    2020-09-18 08:40:40:819 828 20a8 Agent * Updates to install = 1
    2020-09-18 08:40:40:819 10124 15ac COMAPI - Updates to install = 1
    2020-09-18 08:40:40:819 10124 15ac COMAPI <<-- SUBMITTED -- COMAPI: Install [ClientId = wusa]
    2020-09-18 08:40:40:819 828 20a8 Agent * Title = Security Update for Windows (KB4577066)
    2020-09-18 08:40:40:819 828 20a8 Agent * UpdateId = {B01F144B-07D4-4A80-B5E4-428F338D0E64}.501
    2020-09-18 08:40:40:819 828 20a8 Agent * Bundles 1 updates:
    2020-09-18 08:40:40:819 828 20a8 Agent * {B5E000ED-A03C-45A4-9F29-89BA1314572B}.501
    2020-09-18 08:40:40:898 828 20a8 Handler Attempting to create remote handler process as HCAC1\sysaccount in session 4
    2020-09-18 08:40:40:914 828 20a8 DnldMgr Preparing update for install, updateId = {B5E000ED-A03C-45A4-9F29-89BA1314572B}.501.
    2020-09-18 08:40:40:929 5868 2650 Misc =========== Logging initialized (build: 7.9.9600.18756, tz: -0400) ===========
    2020-09-18 08:40:40:929 5868 2650 Misc = Process: C:\Windows\system32\wuauclt.exe
    2020-09-18 08:40:40:929 5868 2650 Misc = Module: C:\Windows\SYSTEM32\wuaueng.dll
    2020-09-18 08:40:40:929 5868 2650 Handler :::::::::::::
    2020-09-18 08:40:40:929 5868 2650 Handler :: START :: Handler: CBS Install
    2020-09-18 08:40:40:929 5868 2650 Handler :::::::::
    2020-09-18 08:40:40:944 5868 2650 Handler Starting install of CBS update B5E000ED-A03C-45A4-9F29-89BA1314572B
    2020-09-18 08:40:40:944 5868 2650 Handler CBS session identity: 30838200_3941941890
    2020-09-18 08:40:40:991 5868 2650 Handler CBS package identity: Package_for_RollupFix~31bf3856ad364e35~amd64~~9600.19817.1.11
    2020-09-18 08:40:40:991 5868 2650 Handler Installing self-contained with source=C:\Windows\SoftwareDistribution\Download\17555a267e0b503737ead68bf9423de1\Windows8.1-KB4577066-x64.cab, workingdir=C:\Windows\SoftwareDistribution\Download\17555a267e0b503737ead68bf9423de1\inst
    2020-09-18 08:40:45:898 828 248c Report REPORT EVENT: {4A13160B-4750-4F12-B5CA-B542578FDFAD} 2020-09-18 08:40:40:898-0400 1 181 [AGENT_INSTALLING_STARTED] 101 {B01F144B-07D4-4A80-B5E4-428F338D0E64} 501 0 wusa Success Content Install Installation Started: Windows has started installing the following update: Security Update for Windows (KB4577066)
    2020-09-18 08:40:45:898 828 248c Report CWERReporter finished handling 2 events. (00000000)
    2020-09-18 08:41:54:493 828 1df4 IdleTmr Incremented idle timer priority operation counter to 3
    2020-09-18 08:42:10:712 828 184 IdleTmr Decremented idle timer priority operation counter to 2
    2020-09-18 08:44:42:965 828 13a4 Misc WARNING: IsSessionRemote: WinStationQueryInformationW(WTSIsRemoteSession) failed for session 4, GetLastError=2250
    2020-09-18 08:44:43:028 828 13a4 Misc WARNING: IsSessionRemote: WinStationQueryInformationW(WTSIsRemoteSession) failed for session 4, GetLastError=2250
    2020-09-18 08:44:43:168 828 13a4 AU Currently AUX is enabled - so not show any WU Upgrade notifications.
    2020-09-18 08:44:43:168 828 13a4 AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
    2020-09-18 08:44:43:168 828 13a4 AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
    2020-09-18 08:47:20:625 828 248c EP Got WSUS Client/Server URL: "http://mydomain:8530/ClientWebService/client.asmx"
    2020-09-18 08:47:20:625 828 248c EP Got WSUS Reporting URL: "http://mydomain:8530/ReportingWebService/ReportingWebService.asmx"
    2020-09-18 08:47:20:625 828 248c Report OpenReportingWebServiceConnection, reporting URL = http://mydomain:8530/ReportingWebService/ReportingWebService.asmx
    2020-09-18 08:47:20:625 828 248c IdleTmr WU operation (CLegacyEventUploader::HandleEvents) started; operation # 87; does use network; is at background priority
    2020-09-18 08:47:20:625 828 248c Report Uploading 2 events using cached cookie.
    2020-09-18 08:47:20:640 828 248c Report Reporter successfully uploaded 2 events.
    2020-09-18 08:47:20:640 828 248c IdleTmr WU operation (CLegacyEventUploader::HandleEvents, operation # 87) stopped; does use network; is at background priority
    2020-09-18 09:07:11:556 5868 2404 Handler FATAL: CBS called Error with 0x8000ffff,
    2020-09-18 09:07:23:041 5868 2650 Handler FATAL: Completed install of CBS update with type=0, requiresReboot=0, installerError=1, hr=0x8000ffff
    2020-09-18 09:07:25:306 5868 2650 Handler :::::::::
    2020-09-18 09:07:25:306 5868 2650 Handler :: END :: Handler: CBS Install
    2020-09-18 09:07:25:306 5868 2650 Handler :::::::::::::
    2020-09-18 09:07:25:338 828 20a8 Agent LogHistory called. idUpdate={B01F144B-07D4-4A80-B5E4-428F338D0E64}.501, resultMapped=8000FFFF, resultUnMapped=8000FFFF
    2020-09-18 09:07:25:385 828 20a8 Agent *********
    2020-09-18 09:07:25:385 828 20a8 Agent ** END ** Agent: Installing updates [CallerId = wusa]
    2020-09-18 09:07:25:385 828 20a8 Agent *************
    2020-09-18 09:07:25:385 10124 d54 COMAPI >>-- RESUMED -- COMAPI: Install [ClientId = wusa]
    2020-09-18 09:07:25:385 10124 d54 COMAPI - Install call complete (succeeded = 0, succeeded with errors = 0, failed = 1, unaccounted = 0)
    2020-09-18 09:07:25:385 10124 d54 COMAPI - Reboot required = No
    2020-09-18 09:07:25:385 10124 d54 COMAPI - WARNING: Exit code = 0x00000000; Call error code = 0x80240022
    2020-09-18 09:07:25:385 10124 d54 COMAPI ---------
    2020-09-18 09:07:25:385 10124 d54 COMAPI -- END -- COMAPI: Install [ClientId = wusa]
    2020-09-18 09:07:25:385 10124 d54 COMAPI -------------
    2020-09-18 09:07:25:400 828 20a8 IdleTmr WU operation (CInstallCall::Init ID 5, operation # 75) stopped; does not use network; is not at background priority
    2020-09-18 09:07:25:400 828 20a8 IdleTmr Decremented idle timer priority operation counter to 1
    2020-09-18 09:07:33:729 10124 15ac COMAPI ----------- COMAPI: IUpdateServiceManager::RemoveService -----------
    2020-09-18 09:07:33:729 10124 15ac COMAPI - ServiceId = {d5e20767-ee89-44ec-94a4-b7972dab6eb5}
    2020-09-18 09:07:33:760 10124 15ac COMAPI IUpdateService removing volatile scan package service, serviceID = {D5E20767-EE89-44EC-94A4-B7972DAB6EB5}
    2020-09-18 09:07:33:775 10124 15ac COMAPI WARNING: ISusInternal::RemoveService failed, hr=80248014

    0 comments No comments

  3. Anonymous
    2020-09-18T13:21:13.113+00:00

    Some things to try;

    • sfc /scannow
    • dism /online /cleanup-image /restorehealth
    • https://support.microsoft.com/en-au/help/4027322/windows-update-troubleshooter
    • or possibly removing the most recent successful cumulative update. and try installing latest update again.
    • repair install by running setup.exe from the root of install media
    • or also by pouring over the \dism.log, \windowsupdate.log, \cbs.log looking for and replacing the missing files from another server,
      More than likely the quicker thing to do is standup a new one, patch it fully, migrate roles over and move on.

    --please don't forget to Accept as answer if the reply is helpful--


  4. Anonymous
    2020-09-18T13:46:27.747+00:00

    The most recent cumulative update. (don't worry about the SSU)
    https://support.microsoft.com/en-us/help/4009470/windows-8-1-windows-server-2012-r2-update-history

    --please don't forget to Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.