[SOLVED] Not able to install KB5015808 on Windows Server 2016

jjvalstar

Member
Joined
Jul 18, 2022
Posts
9
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 the windowsupdate.log I see also:
2022-07-18 11:05:35.9205610 1292 19184 Agent Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154
2022-07-18 11:05:35.9205627 1292 19184 Agent Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154


2022-07-18 12:30:19.1828566 1292 39740 Handler Selecting self-contained because update does not have express payload.
2022-07-18 12:30:19.1828569 1292 39740 Handler Selected payload type is SelfContainedNoExpressPayload
2022-07-18 12:30:19.1829218 1292 39740 Handler Detected download state is dsHavePackage

1601-01-01 01:00:00.0000000 43632 43284 Unknown( 10): GUID=eb73583d-5481-33b4-202d-9bb270eddffa (No Format Information found).
1601-01-01 01:00:00.0000000 43632 43284 Unknown( 11): GUID=eb73583d-5481-33b4-202d-9bb270eddffa (No Format Information found).


1601-01-01 01:00:00.0000000 43632 43284 Unknown( 12): GUID=eb73583d-5481-33b4-202d-9bb270eddffa (No Format Information found).

2022-07-18 12:35:35.9285167 1292 40432 Agent RegisterService is set
2022-07-18 12:35:35.9295123 1292 40432 Misc Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: 117cab2d-82b1-4b5a-a08c-4d62dbee7782""
2022-07-18 12:35:35.9306979 1292 40432 SLS CoCreateInstance Failed: hr = 0x80040154
2022-07-18 12:35:35.9306999 1292 40432 Agent Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154
2022-07-18 12:35:35.9307072 1292 40432 Agent Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154

2022-07-18 12:35:39.7883978 1292 40432 Driver DrvUtil: {USBPRINT\Hewlett-PackardHP_Co0e71}
2022-07-18 12:35:44.2980682 1292 40432 EEHandler DeterminePatchSequence succeeded but status indicated an error 0x00000000


2022-07-18 12:45:52.2831077 30520 36272 Handler CBS called Terminate
2022-07-18 12:47:09.0177082 30520 38916 Handler Requesting post-reboot reporting for package Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.5246.1.6.
2022-07-18 12:47:09.0185816 30520 38916 Handler Completed install of CBS update with type=3, requiresReboot=1, installerError=0, hr=0x0
2022-07-18 12:47:14.7627842 30520 38916 Handler * END * CBS Install
2022-07-18 12:47:15.2519385 1292 34936 Handler Loaded state: cCompleteIterations: 1, pt: SelfContainedNoExpressPayload, nNextRequestID: 1.
2022-07-18 12:47:15.2866569 1292 34936 Agent LogHistory called. idUpdate={99B794B2-6BA3-4D47-89B1-2181016EAA39}.501, resultMapped=80242014, resultUnMapped=0
2022-07-18 12:47:15.2946431 1292 34936 Agent Installing updates CallerId = wusa
1601-01-01 01:00:00.0000000 34184 4268 Unknown( 20): GUID=541c0c40-f377-3c24-70e2-41759550266d (No Format Information found).
1601-01-01 01:00:00.0000000 34184 4268 Unknown( 22): GUID=541c0c40-f377-3c24-70e2-41759550266d (No Format Information found).
1601-01-01 01:00:00.0000000 34184 4268 Unknown( 24): GUID=541c0c40-f377-3c24-70e2-41759550266d (No Format Information found).
1601-01-01 01:00:00.0000000 34184 4268 Unknown( 26): GUID=541c0c40-f377-3c24-70e2-41759550266d (No Format Information found).

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


Under 'C:\Windows\SoftwareDistribution' a file called ReportingEvents.log is saying:

{DD8BDF82-9E6D-4D71-B447-8FFC8BFFA1F6} 2022-07-18 13:15:29:229+0200 1 182 [AGENT_INSTALLING_FAILED] 101 {99B794B2-6BA3-4D47-89B1-2181016EAA39} 501 8007000d wusa Failure Content Install Installation Failure: Windows failed to install the following update with error 0x8007000d: Security Update for Windows (KB5015808).
{9DA5A9B9-E7A4-4B92-B511-427E89BDD7F7} 2022-07-18 13:21:05:258+0200 1 147 [AGENT_DETECTION_FINISHED] 101 {00000000-0000-0000-0000-000000000000} 0 0 UpdateOrchestrator Success Software Synchronization Windows Update Client successfully detected 2 updates.
{D8FB65A8-E5E0-4861-916B-7923576E0F17} 2022-07-18 13:22:56:633+0200 1 147 [AGENT_DETECTION_FINISHED] 101 {00000000-0000-0000-0000-000000000000} 0 0 <<PROCESS>>: DllHost.exe Success Software Synchronization Windows Update Client successfully detected 2 updates.
{C335B230-DD3C-4CEE-BBE3-E8BE2E95AEED} 2022-07-18 13:53:06:522+0200 1 147 [AGENT_DETECTION_FINISHED] 101 {00000000-0000-0000-0000-000000000000} 0 0 <<PROCESS>>: DllHost.exe Success Software Synchronization Windows Update Client successfully detected 2 updates.
{9E7259A6-2299-4770-A455-9F02D2AFFC7E} 2022-07-18 14:00:41:593+0200 1 147 [AGENT_DETECTION_FINISHED] 101 {00000000-0000-0000-0000-000000000000} 0 0 Device Driver Retrieval Client Success Software Synchronization Windows Update Client successfully detected 1 updates.


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.


Capture.PNG

Who can help me further?
 

Attachments

Last edited:
Could you please provide your setupapi.dev.log? It should be available in the following file path:

Rich (BB code):
%systemroot%\inf\setupapi.dev.log
 
See attach file

The file contains the following information:

[Device Install Log]
OS Version = 10.0.14393
Service Pack = 0.0
Suite = 0x0010
ProductType = 2
Architecture = amd64

[BeginLog]
! cpy: Failed to open DRP database.
! cpy: Error 19: The media is write protected.

The question now more and less is which database and which media and what kind of permissions are needed?
 

Attachments

Rich (BB code):
     sto: {Reflect Driver Package: C:\Windows\System32\DriverStore\FileRepository\usbxhci.inf_amd64_6be82e781003e0ac\usbxhci.inf}
     inf:      Class GUID     = {36fc9e60-c465-11cf-8056-444553540000}
     inf:      Class Options  = Configurable BootCritical
     idb:      Driver packages:
     idb:           usbxhci.inf_amd64_6be82e781003e0ac (active)
     idb:           usbxhci.inf_amd64_4228991e6ac27877
     idb:           usbxhci.inf_amd64_caa9ca389b914b1c
     inf:      {Configure Driver: USB xHCI Compliant Host Controller}
     inf:           Section Name = Generic.Install.NT
     inf:           {Add Service: USBXHCI}
     inf:                Start Type    = 3
     inf:                Service Type  = 1
     inf:                Error Control = 1
     inf:                Image Path    = \SystemRoot\System32\drivers\USBXHCI.SYS
     inf:                Display Name  = USB xHCI Compliant Host Controller
     inf:                Dependencies  = Ucx01000
!!!  inf:                Failed to query service configuration. Error = 0x0000000D
     inf:           {Add Service: exit(0x0000000d)}
     inf:      {Configure Driver: exit(0x0000000d)}
!!!  sto:      Failed to reflect driver package. Error = 0x0000000D
     sto: {Reflect Driver Package: exit(0x0000000d)}
!!!  sto: Failed to reflect all driver updates. Error = 0x0000000D
<<<  Section end 2022/07/22 17:22:36.479
<<<  [Exit status: FAILURE(0x0000000d)]

Could you please open an command prompt window and then enter the following command:

Rich (BB code):
reg query HKLM\SYSTEM\CurrentControlSet\Services\USBXHCI /s

Afterwards, please post the output of the command in your next post.
 
Here the output:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Windows\system32>reg query HKLM\SYSTEM\CurrentControlSet\Services\USBXHCI /s

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI
ImagePath REG_EXPAND_SZ System32\drivers\USBXHCI.SYS
Type REG_DWORD 0x1
Start REG_DWORD 0x3
ErrorControl REG_DWORD 0x1
DependOnService REG_MULTI_SZ Ucx01000
DisplayName REG_SZ USB xHCI Compliant Host Controller
Owners REG_MULTI_SZ usbxhci.inf
BootFlags REG_DWORD 0x10

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI\Parameters
WppRecorder_TraceGuid REG_SZ {9f7711dd-29ad-c1ee-1b1b-b52a0118a54c}

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI\Parameters\Wdf
WdfMajorVersion REG_DWORD 0x1
WdfMinorVersion REG_DWORD 0xf
TimeOfLastTelemetryLog REG_QWORD 0x1d89db2388ddc77

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI\Enum
0 REG_SZ PCI\VEN_8086&DEV_8C31&SUBSYS_330D103C&REV_04\3&33fd14ca&0&A0
Count REG_DWORD 0x1
NextInstance REG_DWORD 0x1
 
Thanks, your subkey looks to be okay apart from your DisplayName being slightly different to what it should be. Let's ensure that it's correct by using the following script.

SFCFixScript.txt
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.[/list]
 

Attachments

Hi,
Thanks for your help, see below the output of SFCFix.txt:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-07-25 22:29:37.493
Microsoft Windows Server 10 Build 14393 (Updates Deferred) - amd64
Using .txt script file at C:\Users\Administrator\Desktop\SFCFixScript.txt [1]




RegistryScript::
Failed to set registry key ownership for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI with error code 0x51B.

Successfully imported registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI.

Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI.
RegistryScript:: directive failed to complete successfully.




Failed to process all directives successfully.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2022-07-25 22:29:37.543
Script hash: WPmli1KsuB5Y/N4+k84Qb9WVzOhqbB5TaQrIGvQ1Drw=
----------------------EOF-----------------------
 
Thanks, could you please open a command prompt window and then enter the following command:

Rich (BB code):
reg query HKLM\SYSTEM\CurrentControlSet\Services\USBXHCI
 
See below the output:
C:\Windows\system32>reg query HKLM\SYSTEM\CurrentControlSet\Services\USBXHCI /s

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI
ImagePath REG_EXPAND_SZ \SystemRoot\System32\drivers\USBXHCI.SYS
Type REG_DWORD 0x1
Start REG_DWORD 0x3
ErrorControl REG_DWORD 0x1
DependOnService REG_MULTI_SZ Ucx01000
DisplayName REG_SZ @usbxhci.inf,%PCI\CC_0C0330.DeviceDesc%;USB xHCI Compliant Host Controller
Owners REG_MULTI_SZ usbxhci.inf
BootFlags REG_DWORD 0x10

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI\Parameters
WppRecorder_TraceGuid REG_SZ {9f7711dd-29ad-c1ee-1b1b-b52a0118a54c}

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI\Parameters\Wdf
WdfMajorVersion REG_DWORD 0x1
WdfMinorVersion REG_DWORD 0xf
TimeOfLastTelemetryLog REG_QWORD 0x1d89db2388ddc77

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBXHCI\Enum
0 REG_SZ PCI\VEN_8086&DEV_8C31&SUBSYS_330D103C&REV_04\3&33fd14ca&0&A0
Count REG_DWORD 0x1
NextInstance REG_DWORD 0x1
 
Thanks, looks like it has updated the value successfully. Could you please attempt to install the update again? If it fails, then please provide both the CBS log and the setupapi.dev.log.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top