Windows server 2012 windows update HRESULT = 0x80004005

wcpr 1 Reputation point
2021-01-05T09:29:26.953+00:00

I cant install any updates starting 2020 year, that was not an issue until i needed dot net 4.8 on the server,

windows 2012 server standard 6.2.9200

updates always pending : kb450905, kb4580325, kb4586084, kb4592468, kb4486081

after kb4592468 server always does a rollback

tried resetting the update services with multiple fixes, disabled working WSUS, tried sfc tool and dism scan and restorehealth - successful, still cant install updates, attaching cutout from cbs.log

2021-01-05 09:19:08, Info CBS TiWorker starts successfully.
2021-01-05 09:19:08, Info CBS Universal Time is: 2021-01-05 08:19:08.484
2021-01-05 09:19:08, Info CBS Loaded Servicing Stack v6.2.9200.22882 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.22882_none_62b07eec6a2e4555\cbscore.dll
2021-01-05 09:19:08, Info CSI 00000001@2021/1/5:08:19:08.488 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fe6af563c9 @0x7fe764098ba @0x7fe763c4dd4 @0x7f7ed6ad1df @0x7f7ed6ad95c @0x7fe9f211bc5)
2021-01-05 09:19:08, Info CBS Could not load SrClient DLL from path: SrClient.dll. Continuing without system restore points.
2021-01-05 09:19:08, Info CSI 00000002@2021/1/5:08:19:08.489 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fe6af563c9 @0x7fe76466244 @0x7fe76427719 @0x7fe763c4f47 @0x7f7ed6ad1df @0x7f7ed6ad95c)
2021-01-05 09:19:08, Info CBS SQM: Initializing online with Windows opt-in: False
2021-01-05 09:19:08, Info CBS SQM: Cleaning up report files older than 10 days.
2021-01-05 09:19:08, Info CBS SQM: Requesting upload of all unsent reports.
2021-01-05 09:19:08, Info CBS SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
2021-01-05 09:19:08, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2021-01-05 09:19:08, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm*_all.sqm, flags: 0x6
2021-01-05 09:19:08, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2021-01-05 09:19:08, Info CBS NonStart: Set pending store consistency check.
2021-01-05 09:19:08, Info CBS Session: 30859881_1459805651 initialized by client WindowsUpdateAgent.
2021-01-05 09:19:08, Info CBS Session: 30860082_92222320 initialized by client WindowsUpdateAgent.
2021-01-05 09:19:08, Info CBS Session: 30860085_4260852867 initialized by client WindowsUpdateAgent.
2021-01-05 09:19:18, Info CBS Read out cached applicability from TiLight for package: Package_for_KB3043812~31bf3856ad364e35~amd64~~6.2.1.1, ApplicableState: 80, CurrentState:0

--------------windows update log----------------------
2021-01-05 09:36:18:031 1016 2ae0 Agent WARNING: WU client fails CClientCallRecorder::RemoveService with error 0x80248014
2021-01-05 09:36:19:105 1016 454 Misc Validating signature for C:\Windows\SoftwareDistribution\ScanFile\3cb0fc44-684a-4651-91c9-abfc7f9ff12b\Source.cab with dwProvFlags 0x00000080:
2021-01-05 09:36:19:111 1016 454 Misc Microsoft signed: Yes
2021-01-05 09:36:19:115 1016 454 DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77}

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

2 answers

Sort by: Most helpful
  1. Dave Patrick 426.3K Reputation points MVP
    2021-01-05T16:01:12.013+00:00

    You can also try a repair install by running setup.exe from the root of the install media, but time may be better spent standing up a new one, patch fully, migrate roles over and move on.

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

    0 comments No comments

  2. Joy Qiao 4,896 Reputation points Microsoft Employee
    2021-01-06T06:29:00.127+00:00

    Hi,
    How did you install those update package? Through update agent or install manually?
    Are there any error codes recorded in the Event Viewer(Windows Logs\Applications, Setup, System)?

    As kb4592468 is the latest calculate update package, we just need to install it and no need to install other previous released update.
    We could uninstall kb4592468 with the following steps:

    • Create folder C:\temp\cab
    • Download the update kb4592468 from http://catalog.update.microsoft.com to C:\temp
    • Expand the .msu file to extract the .cab file by running below command in CMD:
    • expand -F:* C:\temp{.msu file name with extension} C:\temp\cab
    • You will get a .cab file from last step. Use the following DISM command to remove package:
    • Dism /online /remove-package /packagepath:c:\temp\cab{.cab file with extension}

    And then install it again by the following steps:

    • Download update package from http://catalog.update.microsoft.com to C:\temp
    • Run command line below to exact .msu file for getting .cab file.
    • expand -F:* C:\temp{.msu file name with extension} C:\temp\cab
    • Run DISM command line below to add .cab file. (below is different from upper uninstall part)
    • Dism /online /add-package /packagepath:c:\temp\cab{.cab file with extension}

    After that, try to install kb4486081 for .net framework through DISM command line as upper steps.

    As log debug is out of forum support scope, if you want log debug support, please create a ticket with the link below.

    https://support.microsoft.com/en-us/supportforbusiness/productselection

    Bests,

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments