Windows Server 2016 , not able to install KB5016058 which constantly fails

Johan Valstar 11 Reputation points
2022-07-22T10:00:04.573+00:00

All,

The latest security patch

It's about the "Security Update for Windows (KB5015808)" which constantly fails. I cannot install, it keeps rolling back.

In updatelog following is seen:
2022-07-18 13:17:28.7148126 1296 33540 Agent Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154
2022-07-18 13:17:28.7148139 1296 33540 Agent Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154
2022-07-18 13:17:28.7151821 1296 33540 Misc Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: 7971f918-a847-4430-9279-4a52d1efe18d""
2022-07-18 13:17:28.8853421 1296 33540 Misc Got 7971F918-A847-4430-9279-4A52D1EFE18D redir Client/Server URL: https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx""
2022-07-18 13:17:28.8869601 1296 33540 WebServices Proxy Behavior set to 2 for service url https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
2022-07-18 13:17:28.8869608 1296 33540 ProtocolTalker Proxy Behavior set to 2 for service url https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
2022-07-18 13:20:02.0471639 28964 31260 AppAU * START *
2022-07-18 13:20:02.0472702 28964 31260 AppAU * START * Check for Failed Tasks to Retry
2022-07-18 13:20:02.3803900 28964 31260 AppAU * END * Check for Failed Tasks to Retry, exit code = 0x00000000
2022-07-18 13:20:02.3810287 28964 31260 AppAU * END *, exit code = 0x00000000

I already run the Windows update troubleshooter (saying Databse corruption).
I ran the following command and rebooted the server:

net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Del "%APPDATA%\Microsoft\Network\Downloader*.*"
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc

I also ran sfc /scannow but didn't show any error.

On the picture is seen that there is a pending update.

223639-capture.png

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,922 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Miguel G 21 Reputation points
    2022-08-04T08:06:47.103+00:00

    Hi!

    I´ve seen you posted the same issue here:

    https://learn.microsoft.com/en-us/answers/questions/938054/windows-server-2016-not-able-to-install-kb5016058.html

    And someone provided you a fix and you reported that It worked. Do you happen to know what exactly the issue was?

    Thanks in advance,

    Miguel

    0 comments No comments

  2. Johan Valstar 11 Reputation points
    2022-09-10T16:03:47.477+00:00

    For me it was a driver issue which failed. It was because of some permission after setting these correctly it passed.


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.