[SOLVED] VM Server 2019 Configuration Registry Database Corrupt

MoZi

Windows Update Trainee
Joined
Sep 25, 2024
Posts
68
I have a VM, Windows Server 2019 through Hyper-V, that is failing to update, it runs into Error 0x80010108.

Dism.exe states that the Configuration Registry Database is corrupt.


I ran sfcfix and ComponentsScanner - please see information below.
I attached the cbs-folder and the backup of the components hive that Components Scanner created.

Thank you in advance for your help!


#########################################################

SFCFix version 3.0.2.1 by niemiro.
Start time: 2024-09-25 10:14:45.021
Microsoft Windows Server 10 Build 17763 - amd64
Not using a script file.




AutoAnalysis::
WARNING: Failed to check store directories with return code 1 and error code ERROR_FILE_NOT_FOUND. COMPONENTS hive may be corrupt.


WARNING: Components hive failed load test and may be corrupt.


WARNING: Components hive failed final reload test with error code ERROR_BADDB and may be corrupt.





SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2024-09-25 10:42:21.130
----------------------EOF-----------------------
#########################################################







#########################################################

ComponentsScanner Version 1.5.1.0 by sysnative.com
Windows Version: Windows Server 2019 Datacenter x64 (10.0.17763.6054)
Start time: 2024-09-25T10:49:18
Hive scanned: %windir%\System32\config\COMPONENTS
Number of keys: 119604
Number of values: 374267

==== Critical Errors ====
Hive failed regedit load test with error ERROR_BADDB: The configuration registry database is corrupt.

==== Corrupt Key Names ====
None

==== Corrupt Value Names ====
None

==== Corrupt Value Data Type ====
None

==== Corrupt Value Data ====
None

==== Repair Log ====
COMPONENTS hive backed up to C:\Users\XXX\AppData\Local\Sysnative\ComponentsScanner\COMPONENTS\mdttzs0x.ks4

==== Repairs Attempted ====
Repair Type: ERROR_BADDB
* Pre Repair Stage: Nothing to do
* Repair Stage: Successfully updated primary and secondary sequence numbers to 701228
* Post Repair Stage: Hive successfully loaded in Regedit without error


==== Warnings ====
None


Storing 62652,42KB in C:\Users\XXX\AppData\Local\Sysnative\ComponentsScanner

Finish Time: 2024-09-25T10:50:49. Corruption scan time: 64,464097s
===========================EOF===========================
#########################################################
 

Attachments

Hi and welcome to Sysnative,

I am checking to see if you still need help with this thread. If so please do the following again.

Download
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner and save it to your desktop.
  • Right-click ComponentsScanner.exe and select "Run as administrator", click Yes on the UAC (User Account Control) prompt which appears.
  • Follow the on-screen instructions.
  • Once complete, a report will be saved to your desktop called ComponentsScanner.txt.
  • Post the logfile ComponentsScanner.txt as attachment into your next reply.
 
Hi and thank you very much for checking!

Unfortunately the issue still persists.
I attached the file for you!

Thank you for looking into this!
 

Attachments

Hi,

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.
 
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 attempt to update. If it fails attach a new copy of the CBS logs.
 

Attachments

it failed again unfortunately, i attached the cbs.zip
(thank you so much for your efforts!!!)
 

Attachments

Please reboot the server and attempt to update again, this because the latest CBS log is clean.
 
I had tried and that and retried it now.
The updates still fail downloading with the same errors and the cbs-log looks clean like before as far as i can tell.

KB5042350 - Error 0x80246008
KB5043050 - Error 0x80010108

Should I try to download and install them manually?
 
Is this server connected to an WSUS server?

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.
 
Open an elevated prompt, run the following command and attach services.txt to your next post.
Code:
WMIC SERVICE GET caption, name, startmode, state > "%userprofile%\desktop\services.txt"
 
Please run the following commands as well and copy paste the result in your next post.
Code:
sc start BITS
sc start DoSvc
... wait a few second and run the following commads:
Code:
sc query BITS 
sc qc BITS
sc query DoSvc
sc qc DoSvc
 
Code:
sc start BITS
SERVICE_NAME: BITS
        TYPE               : 30  WIN32
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x7d0
        PID                : 2800
        FLAGS              :
        

sc start DoSvc
SERVICE_NAME: DoSvc
        TYPE               : 30  WIN32
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x7d0
        PID                : 3712
        FLAGS              :



Code:
sc query BITS
SERVICE_NAME: BITS
        TYPE               : 30  WIN32
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        
        
sc qc BITS
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: BITS
        TYPE               : 20  WIN32_SHARE_PROCESS
        START_TYPE         : 2   AUTO_START  (DELAYED)
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Windows\System32\svchost.exe -k netsvcs -p
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Background Intelligent Transfer Service
        DEPENDENCIES       : RpcSs
        SERVICE_START_NAME : LocalSystem
        
        
sc query DoSvc

SERVICE_NAME: DoSvc
        TYPE               : 30  WIN32
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 1066  (0x42a)
        SERVICE_EXIT_CODE  : 2147942402  (0x80070002)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0


sc qc DoSvc
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: DoSvc
        TYPE               : 20  WIN32_SHARE_PROCESS
        START_TYPE         : 3   DEMAND_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Windows\System32\svchost.exe -k NetworkService -p
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Delivery Optimization
        DEPENDENCIES       : rpcss
        SERVICE_START_NAME : NT Authority\NetworkService
 
It seems the DoSvc service cannot be started, so open gpedit.msc and check the following locations and post a screenshot of both settings if exists.
Code:
Computer Configuration > Administrative Templates > Windows Components > Delivery Optimization
Computer Configuration > Policies > Windows Settings > Security Settings > System Services > Delivery Optimization
 
this is the Adminstrative Template.
The second doesn't exist.
I checked other applicable GPOs as well to make sure nothing's messed up in GPO-rollout

deliveryoptimization.png
 
This look good, is the SCCM agent still installed on this server?
 

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

Back
Top