[SOLVED] Can't update Windows 2016 server, error 0x800705b4

Open an elevated command prompt.
Copy and paste following command into it, then press enter.
REG LOAD HKLM\COMPONENTS C:\Windows\System32\config\COMPONENTS
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.4650 (rs1_release.210908-1813)"
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.5001 (rs1_release.220209-1745)"
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.5121 (rs1_release.220414-1945)"

Provide a screenshot of the result.
 
Open an elevated command prompt.
Copy and paste following command into it, then press enter.
REG LOAD HKLM\COMPONENTS C:\Windows\System32\config\COMPONENTS
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.5121 (rs1_release.220414-1945)"
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.5242 (rs1_release.220615-1753)"
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.5285 (rs1_release.220720-1722)"

Provide a screenshot of the result.
 
Open an elevated command prompt.
Copy and paste following command into it, then press enter.
REG LOAD HKLM\COMPONENTS C:\Windows\System32\config\COMPONENTS
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.5351 (rs1_release.220810-1719)"
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.5771 (rs1_release.230213-1720)"
Wait for completion before you continue.

Copy and paste following command into it, then press enter.
REG DELETE "HKLM\COMPONENTS\DerivedData\VersionedIndex\10.0.14393.6250 (rs1_release.230807-1736)"

Provide a screenshot of the result.
 
Okay, great.
Shutdown and restart the machine.
Wait a few hours then open an elevated command prompt.
Copy and paste following command into it, then press enter.
dir C:\Windows\System32\Config\components
Provide a screenshot of the result.
 
Great, the file size has become much smaller.
We can cleanup more but do following first.

Run the command sfc /scannow in an elevated commandprompt and report the result.
If it fails, copy the file C:\Windows\Logs\CBS\cbs.log to your desktop.
Zip the copied file and attach the zipped cbs.log to your next reply.
 
Looking good.

Run the command Dism /Online /Cleanup-Image /RestoreHealth in an elevated commandprompt and report the result.
When completed, copy the file C:\Windows\Logs\CBS\cbs.log to your desktop.
Zip the copied file and attach the zipped cbs.log to your next reply.
 
C:\>Dism /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
 

Attachments

Great.
Check Windows Update again and report the result.
If it fails, copy the file C:\Windows\Logs\CBS\cbs.log to your desktop.
Zip the copied file and attach the zipped cbs.log to your next reply.
 
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

Search for for (A)ll updates or (R)ecommended updates only? A

Searching for all applicable updates...

List of applicable items on the machine:

1> 2024-12 Cumulative Update for Windows Server 2016 for x64-based Systems (KB5048671)
2> Windows Malicious Software Removal Tool x64 - v5.131 (KB890830)
3> 2025-01 Servicing Stack Update for Windows Server 2016 for x64-based Systems (KB5050109)
4> Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.421.1474.0) - Current Channel (Broad)

Select an option:
(A)ll updates, (N)o updates or (S)elect a single update?
 
Try to install KB5048671 only and report the result.
 
It finished and it needs a reboot. I will reboot it after 5PM Pacific today.
 
KB5048671 failed. When I used windows update instead of sconfig, it installed KB5048671, plus the January updates as shown in the attached screenshot.

C:\>dir C:\Windows\System32\Config\components
Volume in drive C is OS
Volume Serial Number is E032-2CF8

Directory of C:\Windows\System32\Config

01/22/2025 09:27 AM 1,304,690,688 COMPONENTS
1 File(s) 1,304,690,688 bytes
0 Dir(s) 79,713,980,416 bytes free
 

Attachments

  • update_history.webp
    update_history.webp
    64.7 KB · Views: 3
Great. The Windows Update issues are solved ?
 
I believe so.

I can run the commands from 41, 43, & 45 on my other server that's close to the 2GB max size of the components file, right?

And on this server, remove some of these that are left in the attached.
 

Attachments

  • COMPONENTS_.webp
    COMPONENTS_.webp
    31.6 KB · Views: 1

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

Back
Top