First of all, thank you for your valuable help about Windows Update deep problems. I have already made a donation because I have been able to solve some problems in the past just reading the existing threads.
It always come to my mind that it would be nice if you shared a bit more of information so that advanced users can solve the same repetitive problems on their own, but I can understand some cases need to be analysed individually.
I came across some [HRESULT = 0x800703f1 - ERROR_BADDB] errors because of a corrupted COMPONENTS hive in Windows 2019 servers, preventing them from any update installation. There are several threads with this same error here, many of them successfully answered by you guys. Finally I was able to reproduce it in a test machine so I followed this small tutorial by rhelmer based on some sysnative threads&tools to replace COMPONENTS hive, which it seems to have worked (or at least to have done anything) because now sfc completes its execution, unlike with the old hive.
But the Windows update keep failing, now with a different error in CBS.log. It is again a BADDB, but it does not mention COMPONENTS hive anymore. Instead it seems to be related with SCHEMA.DAT file (as per some threads like this).
CBS
EventLog
Unfortunately I cannot run any external .exe there so I cannot use your great diagnosis/repair tools.
My questions are:
- was my assumption right and the problematic file is now SCHEMA.DAT?
- if so, is there anything I can do for repairing the corruption there? I think I can upload the file here, but I wanted to know how to fix it in case I face this same error in the future.
Thank you very much, for this and for all the assistance in previous threads.
It always come to my mind that it would be nice if you shared a bit more of information so that advanced users can solve the same repetitive problems on their own, but I can understand some cases need to be analysed individually.
I came across some [HRESULT = 0x800703f1 - ERROR_BADDB] errors because of a corrupted COMPONENTS hive in Windows 2019 servers, preventing them from any update installation. There are several threads with this same error here, many of them successfully answered by you guys. Finally I was able to reproduce it in a test machine so I followed this small tutorial by rhelmer based on some sysnative threads&tools to replace COMPONENTS hive, which it seems to have worked (or at least to have done anything) because now sfc completes its execution, unlike with the old hive.
But the Windows update keep failing, now with a different error in CBS.log. It is again a BADDB, but it does not mention COMPONENTS hive anymore. Instead it seems to be related with SCHEMA.DAT file (as per some threads like this).
CBS
Code:
2024-03-22 12:32:10, Error CSI 00000001 (F) HRESULT_FROM_WIN32(1009) #1# from LoadStore(target = NULL)
[gle=0x80004005]
2024-03-22 12:32:10, Error CSI 00005fca@2024/3/22:11:32:10.512 (F) onecore\base\wcp\componentstore\com\store.cpp(5260): Error NTSTATUS_FROM_WIN32(1009) originated in function Windows::COM::CComponentStore::MountSMISchemaHive expression: MountSMISchemaHive
[gle=0x80004005]
2024-03-22 12:32:10, Error CSI 00005fcb (F) HRESULT_FROM_WIN32(1009) #45504955# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x800703f1]
2024-03-22 12:32:10, Error CSI 00005fcc (F) HRESULT_FROM_WIN32(1009) #45504953# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_Commit(Flags = 38, pSink = NULL, disp = 0)[gle=0x800703f1]
2024-03-22 12:32:10, Error CSI 00005fcd (F) HRESULT_FROM_WIN32(1009) #45504952# 11539 us from Windows::ServicingAPI::CCSITransaction_ICSITransaction::Commit(flags = 0x00000026, pSink = NULL, disp = 0)
[gle=0x800703f1]
2024-03-22 12:32:10, Error CBS Exec: Failed to commit CSI transaction to resolve execution chain. [HRESULT = 0x800703f1 - ERROR_BADDB]
EventLog
Code:
Windows update "Security Update for Windows (KB5035849)" could not be installed because of error 2147943409 "The configuration registry database is corrupt." (Command line: ""C:\windows\system32\wusa.exe" "C:\temp\windows10.0-kb5035849-x64.msu" ")
Unfortunately I cannot run any external .exe there so I cannot use your great diagnosis/repair tools.
My questions are:
- was my assumption right and the problematic file is now SCHEMA.DAT?
- if so, is there anything I can do for repairing the corruption there? I think I can upload the file here, but I wanted to know how to fix it in case I face this same error in the future.
Thank you very much, for this and for all the assistance in previous threads.