[SOLVED] Server 2019 kb5023702 Error

achinado

Member
Joined
Feb 28, 2023
Posts
12
Hi.
I've got one server failing to install the update with the same error 0x800f0985.


It fails when using the .msu with no visible error in the GUI

Windows Update console fails with Error: 0x800f0985

I've deleted the software distribution folder and ran the inbuilt trouble shooter.

sfc /scannow passes
Dism /Online /Cleanup-Image /RestoreHealth Fails with Error: 0x800f0954


2023-03-28 09:46:45, Info CBS =================================
2023-03-28 09:46:45, Info CBS Checking System Update Readiness.
2023-03-28 09:46:45, Info CBS
2023-03-28 09:46:45, Info CBS (p) CSI Payload Corrupt (n) x86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_10.0.17763.3113_none_a7b9b31fca1ef378\r\gpprefbr.dll
2023-03-28 09:46:45, Info CBS Repair failed: Missing replacement payload.
2023-03-28 09:46:45, Info CBS
2023-03-28 09:46:45, Info CBS Summary:
2023-03-28 09:46:45, Info CBS Operation: Detect and Repair
2023-03-28 09:46:45, Info CBS Operation result: 0x80240438
2023-03-28 09:46:45, Info CBS Last Successful Step: Entire operation completes.
2023-03-28 09:46:45, Info CBS Total Detected Corruption: 1
2023-03-28 09:46:45, Info CBS CBS Manifest Corruption: 0
2023-03-28 09:46:45, Info CBS CBS Metadata Corruption: 0
2023-03-28 09:46:45, Info CBS CSI Manifest Corruption: 0
2023-03-28 09:46:45, Info CBS CSI Metadata Corruption: 0
2023-03-28 09:46:45, Info CBS CSI Payload Corruption: 1
2023-03-28 09:46:45, Info CBS Total Repaired Corruption: 0
2023-03-28 09:46:45, Info CBS CBS Manifest Repaired: 0
2023-03-28 09:46:45, Info CBS CSI Manifest Repaired: 0
2023-03-28 09:46:45, Info CBS CSI Payload Repaired: 0
2023-03-28 09:46:45, Info CBS CSI Store Metadata refreshed: True
 
Hi and welcome to Sysnative,

Step 1. Download
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.
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

I was able to run the dism command successfully.


But I cant install the update .
It fails when using the .msu with no visible error in the GUI

Windows Update console fails with Error: 0x800f0985


C:\Windows\system32>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.17763.1697

Image Version: 10.0.17763.2928

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

C:\Windows\system32>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.
 

Attachments

Have you added additional files to the SFCFix.zip file, this because the logfile shows other files which are not a part of my fix?
 
Yes, I had problem with
wow64_microsoft-windows-ie-htmlrendering_31bf3856ad364e35_11.0.17763.379_none_d5fbef2805bd7962\edgehtml.dll
wow64_microsoft-windows-ieframe_31bf3856ad364e35_11.0.17763.379_none_275b492b91b3078f\ieframe.dll
wow64_microsoft-windows-twinui_31bf3856ad364e35_10.0.17763.168_none_f2b20c1f73796069\twinui.dll
wow64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_10.0.17763.348_none_af0e3fcf7fb02fb0\mstscax.dll
wow64_microsoft-windows-twinapi-appcore_31bf3856ad364e35_10.0.17763.1697_none_0b659d42c422f858\r\twinapi.appcore.dll
x86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_10.0.17763.3113_none_a7b9b31fca1ef378\r\gpprefbr.dll

These DLL I could find them on another server with the same O.S.
wow64_microsoft-windows-ie-htmlrendering_31bf3856ad364e35_11.0.17763.379_none_d5fbef2805bd7962\edgehtml.dll
wow64_microsoft-windows-ieframe_31bf3856ad364e35_11.0.17763.379_none_275b492b91b3078f\ieframe.dll
wow64_microsoft-windows-twinui_31bf3856ad364e35_10.0.17763.168_none_f2b20c1f73796069\twinui.dll
wow64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_10.0.17763.348_none_af0e3fcf7fb02fb0\mstscax.dll
wow64_microsoft-windows-twinapi-appcore_31bf3856ad364e35_10.0.17763.1697_none_0b659d42c422f858\r\twinapi.appcore.dll

But this DLL could not find it:
x86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_10.0.17763.3113_none_a7b9b31fca1ef378\r\gpprefbr.dll

Now, the command Dism /online /cleanup-image /restorehealth completed successfully.
But I still can't install the kb5023702 update.
 
I noticed the other corruptions as well in the CBS log.
Rich (BB code):
2023-03-28 14:59:06, Error                 CSI    00000027 (F) Hydration failed for component Microsoft-Windows-MFCore, version 10.0.17763.4131, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} on file mfps.dll with NTSTATUS -2146498171[gle=0x80004005]
2023-03-28 14:59:06, Error                 CSI    00000028@2023/3/28:12:59:06.471 (F) Attempting to mark store corrupt with category [l:18 ml:19]'CorruptPayloadFile'[gle=0x80004005]
2023-03-28 14:59:06, Info                  CSI    00000029 Hashes for file member [l:8]'mfps.dll' do not match.
 Expected: {l:32 ml:4096 b:61a4d85501e64263fc6cae73482c8649aebe9014318caefc3e7a2d8292273935}.
 Actual: {l:32 b:67f50bc2a777be353d85b251542b6e3610279c247df1777798c49bcbcc420f94}.

Please post a copy of the COMPONENTS hive.

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.
 
Could you please provide a copy of the following directory C:\Windows\WinSxS\amd64_microsoft-windows-mfcore_31bf3856ad364e35_10.0.17763.4131_none_3e7e396228ee9d52
 
The directory does not exist


But exist:
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-mfcore_31bf3856ad364e35_10.0.17763.4131_none_3e7e396228ee9d52.manifest
 
Here's the next fix.

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.
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.

Afterwards, reboot the server and attempt to update. If it fails attach a new copy of the CBS log(s).
 

Attachments

Hello,

I have followed the steps but still can't install the update.
It fails when using the .msu with no visible error in the GUI
Windows Update console fails with Error: 0x800f0985



Attached:
  • SFCFix.txt
  • CBS.zip (after trying to install the update manually)
 

Attachments

Hi,

Export SBS (SideBySide) 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\SideBySide
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).

    622dbdc454cdb-Export-SBS-hive.png

  • Name this file SideBySide (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.
 
Here's the next fix.

Step 1.
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 SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
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.


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

C:\Windows\system32>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files and successfully repaired them.
For online repairs, details are included in the CBS log file located at
windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.

The system file repair changes will take effect after the next reboot.
=======================================================

when the command SFC has finished I restarted the server

After reboot, I can install update but the server stuck with the message:" Working on updates. 100% complete. Don´t turn off you computer"


All these tests are being done on a cloned machine of the affected server.
When it is fixed, I will perform the same steps on the original server.

Attached:
  • SFCFix.txt
  • CBS_AfterSFC.zip (after reboot server)
 

Attachments

After reboot, I can install update but the server stuck with the message:" Working on updates. 100% complete. Don´t turn off you computer"
Sometimes it may take some time to finish the update process, I assume this is a (cloned) VM? Last weekend, I've prepared a Server 2019 VM for another problem and it takes almost 3 hours after the first reboot to complete. While this is normally done in fifteen to twenty minutes....
 
Hello,

I confirm that I have been able to install the update.

I hope that in future installations I will not have problems with this server again.

Thanks you so much!!!!
 
Hi,

You're welcome. Glad to hear the update installed without any issues this time.. (y)
I'll mark this thread as solved.
 

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

Back
Top