[SOLVED] Server 2022 not installing or finding updates

jordan2718

Member
Joined
Aug 1, 2024
Posts
9
We have a server that has not been receiving updates for a while and when we check for updates it shows it is up to date even though the last update was in March. Configuration manager is in use on the site but most of our servers still get updates and use the same policies etc. As a test I changed the update source to the windows update servers instead of the local server and still get the same issues. I ran sfc /scannow and that shows errors that it couldn't repair. I also ran DISM /online /cleanup-image /restorehealth and that also finds and fails to repair the issues. I also tried DISM with the source pointing to the wim file on the server ISO. I have attached the requested files. ComponentScanner didn't find any issues. OS version is Server 2022 Standard (Desktop Experience) Build number 20348.2402
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
6530fbb0f4101-56f31e53c97da-SFCFix.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.
650c22f99662d-6190d993a26f3-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.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Thanks for the reply. The file successfully ran and the DISM restorehealth now runs without errors however the system still is unable to find any new updates even when set to bypass the WSUS server and check directly with Microsoft. I have attached an updated CBS log and SFCFix.txt file. It appears the only updates that do install successfully are the Windows defender definition updates, all others just do not show up and the server reports it is up to date even though the last quality update was in March.
 

Attachments

Hi,

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.
 
I have attached the log file, I tried searching for updates with the server pointing at our MECM server and tried directly with Microsoft Update so hopefully can see both in the logs. Thanks for taking the time to help out so far
 

Attachments

Hi,

Please run the following command in an elevated prompt and attach services.txt to your next post.
Code:
WMIC SERVICE GET caption, name, startmode, state > "%userprofile%\desktop\services.txt"
 
Hi,

  • Click the Start button and in the search box, type Command Prompt
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • Copy and paste the following command line and press Enter.
Code:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /s > "%userprofile%\desktop\RegExp.txt"
  • When finished, a logfile called RegExp.txt is saved on your desktop.
  • Post the logfile as attachment in your next reply.
 
Hi,

Please open an elevated prompt, run the following commands and copy paste the result in your next post.
Code:
sc start wlidsvc
sc query wlidsvc
sc qc wlidsvc
 
C:\Windows\system32>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 : 2220
FLAGS :

C:\Windows\system32>sc query 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 : 0x5dc

C:\Windows\system32>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
 
Please run the following command again to see if this service is running now!
Code:
sc query wlidsvc
 
C:\Windows\system32>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 attempt to update again using Windows Update instead of the WSUS server and let me know the result.
 
It has updated to the latest cumulative update now. Thank you so much for your time and assistance. Site donation sent
 
Hi,

You're welcome. Glad to hear the issue has been resolved and thanks for your donation to Sysnative.. (y)
 

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

Back
Top