Windows Server 2019 Standard - Won't Update

blackhat840

Member
Joined
May 28, 2024
Posts
7
I've been attempting to get our Windows Server 2019 Standard to update for a few weeks now, it looks like the prior admin never updated it after setting the server up. However, this server will not update and SFC /scannow does not work, it fails at 75% every single time. I've tried everything I know to do and even tried following tons of guides about DISM but nothing seems to work. Any help is greatly appreciated and I will get any logs needed.
 
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 System File Checker and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

@Maxstar Followed the guide, SFC is now able to complete without failure. SFCFix.txt is attached.

Cumulative Updates fail with error 0x80240034 for KB5039705 for your reference.
 

Attachments

Hi,

Please attach 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 commands in an elevated prompt and post the result.
Code:
net stop wuauserv
net stop cryptSvc
net stop bits
ren %SystemRoot%\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start cryptSvc
net start bits
 
Below is the results of the commands I ran. Ran the update after and failed to install. I've also attached the latest CBS and Windows Update log after this failure.

Code:
C:\Users\amccall.a>net stop wuauserv
The Windows Update service is stopping.
The Windows Update service was stopped successfully.


C:\Users\amccall.a>net stop cryptSvc
The Cryptographic Services service is stopping..
The Cryptographic Services service was stopped successfully.


C:\Users\amccall.a>net stop bits
The Background Intelligent Transfer Service service is stopping..
The Background Intelligent Transfer Service service was stopped successfully.


C:\Users\amccall.a>ren %SystemRoot%\SoftwareDistribution SoftwareDistribution.old

C:\Users\amccall.a>net start wuauserv
The Windows Update service is starting.
The Windows Update service was started successfully.


C:\Users\amccall.a>net start cryptSvc
The Cryptographic Services service is starting.
The Cryptographic Services service was started successfully.


C:\Users\amccall.a>net start bits
The Background Intelligent Transfer Service service is starting.
The Background Intelligent Transfer Service service was started successfully.
 

Attachments

Please run the following DISM command first and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 
Provide also a copy of the Components Based Servicing hive.

Export CBS (Component Based Servicing) hive
  • Click on the Start button and type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).

    622dbef75cd3a-Export-CBS-hive.png

  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send > Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Unfortunately, Components Based Servicing hive is badly damaged, several subkeys are missing or completely empty. Do you have (recent) backups of this server and in particular the SOFTWARE hive.
 
We have backups but this has apparently been an issue with this VM for over a year, maybe more. Would a repair from a server 2019 ISO fix this issue?
 
You can try to perform a repair install with the ISO to see what happens.
 

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

Back
Top