[SOLVED] Windows Server 2019 with Windows Update error 0x8007371c

Syngineer

Member
Joined
Mar 20, 2025
Posts
9
Since a few weeks one of our servers show Windows Update error 0x8007371c.
Updates can be installed but they are rolled back when rebooting the server. After reboot, the a fore mentioned error code is shown.
 
Thanks,

I've run sfc /scannow with the following results:

Windows Resource Protection found corrupt files but was unable to fix some of 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.
An excerpt of CBS.log is attached.



The command Dism /Online /Cleanup-Image /RestoreHealth runs with Error: 0x800f081f

ComponentsScanner.exe gave the attached ComponentsScanner.txt
 

Attachments

Rich (BB code):
2025-03-24 16:36:59, Info                  CSI    00000008 Warning: Unable to repair payload file ([l:10]'Web.config') for component ([l:91 ml:140]'amd64_updateservices-webservices-client_31bf3856ad364e35_10.0.17763.1_none_eea8168153c84ecd') from backups directory with disposition (2). A backup file may not exist or may be corrupt. Falling back to WU.
2025-03-24 16:37:01, Warning               CBS    Current tick count: 800 lower than last tick count: 1537. [HRESULT = 0x8007000d - ERROR_INVALID_DATA]

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

Step 1. Download
67139f7e69a58-SFCFix-ico.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.
67139f52b3c1e-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 Checkere and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

Here is SFCFix.txt.

I run sfc and this is the log from console:

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 but was unable to fix some of 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.

C:\WINDOWS\system32>


An excerpt from CBS.log is inluded in sfcdetails.txt which was created using this command: findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
 

Attachments

Please provide the CBS logs, an filtered log is not helpful at all.

Upload a copy of the CBS folder
  • Open Windows Explorer and browse to the C:\Windows\Logs folder.
  • Right-click on the CBS folder and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
653a64385d891-618e949e09fef-CBS-Folder.png

  • Attach the file CBS.zip to your next reply. If the file is too large to attach, upload the CBS.zip file to www.wetransfer.com and post the link in your next reply.
 
Please nun 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
 
Hi,

Upload the SCHEMA.DAT file
  • Navigate to C:\Windows\System32\SMI\Store\Machine and copy the SCHEMA.DAT file to your desktop.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named SCHEMA.ZIP on your desktop.
  • Attach this ZIP-file to your next reply.
 
Replace the SCHEMA.DAT file
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  • Download the attached Schema.zip file and save it to your desktop, right-click on it and select Extract all.
  • Navigate to C:\Windows\System32\SMI\Store\Machine and rename the SCHEMA.DAT file to SCHEMA.old
  • Copy the SCHEMA.DAT file on your desktop into the above directory.

Afterwards reboot the server and attempt to update. If it fails attach a new copy of the CBS logs.
 

Attachments

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

Back
Top