Error on installing updates - Server 2022

Spence

Member
Joined
Jul 12, 2022
Posts
79
Hi!

I have a Windows Server 2022 that I haven't been able to install cumulative updates on for a while now and it's about time I ask for help.

I tried installing the patch KB5055526 through windows update. Then ran sfc, dism and componentscanner. Then tried installing again through the msu from update catalog.

Rebooted server and ran componentscanner again and got a different result. Tried the msu again, with failure.

Here are the logs from both CS runs and CBS attached.

Best regards!
 

Attachments

Hi @Spence,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hi and welcome to Sysnative,

Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Hi,

Download
67139f7e69a58-SFCFix-ico.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
67139f52b3c1e-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.

Afterwards attempt to update. If it fails attach a new copy of the CBS logs.
 

Attachments

Ran the fix, txt is attached.

Update still failed, tried both manual install and through windows update.
 

Attachments

Please reboot the server and try to update again using Windows Update only.
 
Rebooted the server and ran windows update. Error again. Here is the new CBS log.
 

Attachments

Which security software is installed on this server because there's still an access denied error 0x80070005.
 
Nothing special really, it has Defender and is Arc:ed and that is just as all the other servers are setup as well.

To clarify its only the "Cumulative Update for Microsoft server operating system version 21H2" that fails, all the Azure Machine Agent, Cumulative .NET Framework and SQL patches works.

Latest Cumulative patch installed should be 2024-08.

1747038396287.webp
 
Yes, the latest update is KB5041160 (August 13, 2024), and I've seen similar cases with error 0x80070005, so please try to update again to see if it now shows error 0x800f0986.
 
I cant get it to show error 0x800f0986.
Its always error 0x80070005 unless i run the KB manually outside of Windows Update where it then errors with 0x8024200B instead.
 
Okay, please provide the latest CBS logs as well as the Windows Update log.

Export the Windows Update log
  • Right-click on the Start button and click Windows PowerShell (Admin).
  • Copy and paste the following command into it, press enter afterwards
Code:
Get-WindowsUpdateLog
  • Wait for the message "WindowsUpdate.log written to C:\Users\<username>\Desktop\WindowsUpdate.log".
  • Attach the logfile WindowsUpdate.log to your next reply.
 
Please run the following command in an elevated prompt and attach service.txt in your next post.
Code:
WMIC SERVICE GET caption, name, startmode, state > "%userprofile%\desktop\services.txt"
 
Please run the following commands and copy paste the result in your next post.
Code:
sc start wlidsvc
sc qc wlidsvc
sc query wlidsvc
 
C:\Users\Administrator>sc start wlidsvc

SERVICE_NAME: wlidsvc
TYPE : 30 WIN32
STATE : 2 START_PENDING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x7d0
PID : 5824
FLAGS :

C:\Users\Administrator>sc qc wlidsvc
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: wlidsvc
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Windows\system32\svchost.exe -k netsvcs -p
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Microsoft Account Sign-in Assistant
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem

C:\Users\Administrator>sc query wlidsvc

SERVICE_NAME: wlidsvc
TYPE : 30 WIN32
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
 
Great, please check this service is still running. If so try to update again and post the restult.
 
Service turns off exactly 3 minutes after it gets started. Running an installation through Windows Update still errors even if service is on (and having to start the service again after 3 mins during the installation).
"The Microsoft Account Sign-in Assistant service entered the stopped state."
 

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

Back
Top