[SOLVED] Unable to do windows update on Windows server 2016 with error 0x80246002

Please attempt to update again and post the result. If it fails attach the latest CBS logs and a new copy of the Setupapi.dev.log.
 
Please reboot the server and the attempt to update, if it fails attach a new copy of the CBS logs and a copy of the Setupapi.dev.log file.
 
Hi,

Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.
  • Download the attachment SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
650ef5dbdfd06-62151e1bebac4-SFCFix-Txt-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.
 

Attachments

Let's perform another scan with FRST for this file.

Right-click on the file
577bf0efb8088-FRST.png
FRST64.exe and choose Run as administrator.
  • Copy and paste the following (code) into the Search box and click the Search Files button.
Code:
pci.inf
  • When the scan is complete, a message will display that 'Search.txt' is saved in the same folder FRST was started from. Notepad will open this file also.
  • Post the logfile Search.txt as attachment in your next reply.
 
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:
fsutil hardlink list %systemroot%\System32\DriverStore\FileRepository\pci.inf_amd64_43d48527014aa9a9\pci.inf > "%userprofile%\desktop\fslist.txt"
  • When finished, a logfile called fslist.txt is saved on your desktop.
  • Post the logfile as attachment in your next reply.
 
This looks good, what is the last error shown in the Windows Update screen under settings and/or the Windows Update History?
 
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.
 
It seems this is an WSUS issue (WU_E_DM_INCORRECTFILEHASH) - "A download manager operation could not be completed because the file digest was not recognized."

Rich (BB code):
2024-02-18 10:04:12.6674173 2192  10612 DownloadManager File failed postprocessing, error = 80246002
2024-02-18 10:04:12.6674180 2192  10612 DownloadManager Failed file: URL = 'http://localhost:8005/Content/5d1591451fe913e88519d60888fec42d692a54f7.cab', Local path = 'C:\Windows\SoftwareDistribution\Download\a1a0d5fd8e3e670bb153feb0406ebb6a\windows10.0-kb5034767-x64-express.cab'
2024-02-18 10:04:12.6675593 2192  10612 DownloadManager   Download job completion. Progress for update {C3F3C87B-8F0A-4DF2-8AAB-1A1F952A8D87} - total = 1703988054, transferred = 0 bytes. Transfer time=875, connect time=2296 (ms)
2024-02-18 10:04:12.6685963 2192  10612 DownloadManager Error 0x80246002 occurred while downloading update; notifying dependent calls.

My first suggestion would be to reset the local DataStore, just to rule out some corruptions.

Please run the following commands in an elevated prompt and attempt to update again.
Code:
net stop wuauserv
net stop bits
rename %systemroot%\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits
 
Same error after doing the above.
2024-02 Cumulative Update for Windows Server 2016 for x64-based Systems (KB5034767) - Error 0x80246002
 
Please try to install KB5034767 using DISM.

Follow these instructions to install an update with DISM.
  • Open the Start menu of Windows and type CMD.
  • When you see Command Prompt on the list, select the option Run as administrator.
  • Copy and paste the following command into it, and press enter. (Leave the CMD window open!)
Code:
MD C:\WUTemp
  • Now, download the following update (KB5034767) to: C:\WUTemp - Or copy this file from the download directory to C:\WUTemp. (Important!)
    Downloadlink: KB5034767
  • Copy and paste the following commands one at a time into the command prompt and press enter after each.
Code:
CD C:\WUTemp
EXPAND.exe windows10.0-kb5034767-x64_f9031d7e8a8d79d1b6c51ded2dd22527eebacdc2.msu -f:* C:\WUTemp
DISM.exe /Online /Add-Package /PackagePath:C:\WUtemp\Windows10.0-KB5034767-x64.cab
  • Let me know if it says it was successful or if there are any errors. Or take a screenshot of the command prompt window and paste it into your next reply.
 
Dism command added the package succesfully and asked to reboot. While rebooting it uninstalled the update.. Please see the screenshot attached.
 

Attachments

  • screen1.PNG
    screen1.PNG
    21.5 KB · Views: 0

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

Back
Top