[SOLVED] got a blue screen :( and I can't run SFC. Err. 0x74:Bad_system_config_info; DEFAULT hive corrupt. FIX: I replaced it with the one in W10-20H2-eng ISO.

let's try the image mode.

I have tried sfc and dism from the W10 iso (I "burned" it to a USB drive with rufus).
My system drive was D:.
The first one worked without issues:
Rich (BB code):
sfc /scannow /offbootdir=d: /offwindir=d:\windows /offlogfile=d:\users\YourUserName\desktop\sfc.txt
With the second one I had problems, but finally I did it.
I got error "initializing" (or something like that) after about 80s.
If you get the same error, I think to have found a solution (well, I think, because later the command worked).
It creates the dism.log in "x:\windows\logs\dism".
Copy it in your drive when you are still in W10 iso recovery environment.
Then post it here.
By the way, first let's try it the normal way:
Code:
md d:\scratchdir
dism /image:d:\ /scratchdir:d:\scratchdir /cleanup-image /restorehealth
 
By the way, first let's try it the normal way:
Code:
md d:\scratchdir
dism /image:d:\ /scratchdir:d:\scratchdir /cleanup-image /restorehealth
I tried this command using c as os drive. and I got a different error.
It said dabase was corrupt check log.
 

Attachments

I used this command too while on the g:\sources directory just in case.
dism /image:c:\ /scratchdir:c:\scratch /cleanup-image /restorehealth /source:esd:g:\sources\install.esd:6 /limitaccess

check the log, it wrote output error: 0x800f0801
That's a different kind of error.
DISM FAILED NO OPERATION WAS PERFORMED.

the command that starts at 17:43:28 Jan 13 cause I tried different combinations kinda blindly.
 

Attachments

Similar to earlier results:
Code:
Error code: (HRESULT) 0x800703f1 = The configuration registry database is corrupt.




Code:
2021-01-13 17:23:19, Info                  CBS    Loading offline registry hive: SOFTWARE, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SOFTWARE' from path '\\?\c:\Windows\System32\config\SOFTWARE'.
2021-01-13 17:23:19, Info                  CBS    Loading offline registry hive: SYSTEM, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SYSTEM' from path '\\?\c:\Windows\System32\config\SYSTEM'.
2021-01-13 17:23:19, Info                  CBS    Loading offline registry hive: SECURITY, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SECURITY' from path '\\?\c:\Windows\System32\config\SECURITY'.
2021-01-13 17:23:19, Info                  CBS    Loading offline registry hive: SAM, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SAM' from path '\\?\c:\Windows\System32\config\SAM'.
2021-01-13 17:23:19, Info                  CBS    Loading offline registry hive: COMPONENTS, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/COMPONENTS' from path '\\?\c:\Windows\System32\config\COMPONENTS'.
2021-01-13 17:23:20, Info                  CBS    Loading offline registry hive: DRIVERS, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/DRIVERS' from path '\\?\c:\Windows\System32\config\DRIVERS'.
2021-01-13 17:23:20, Info                  CBS    Loading offline registry hive: DEFAULT, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/DEFAULT' from path '\\?\c:\Windows\System32\config\DEFAULT'.
2021-01-13 17:23:20, Info                  CBS    Failed to load offline \\?\c:\Windows\System32\config\DEFAULT hive from '\\?\c:\Windows\System32\config\DEFAULT' into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/DEFAULT'. [HRESULT = 0x800703f1 - ERROR_BADDB]
2021-01-13 17:23:20, Info                  CBS    Failed to load offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/DEFAULT [HRESULT = 0x800703f1 - ERROR_BADDB]
2021-01-13 17:23:20, Info                  CBS    Failed to load offline DEFAULT hive. [HRESULT = 0x800703f1 - ERROR_BADDB]
2021-01-13 17:23:20, Info                  CBS    Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SOFTWARE
2021-01-13 17:23:20, Info                  CBS    Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SYSTEM
2021-01-13 17:23:20, Info                  CBS    Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SECURITY
2021-01-13 17:23:20, Info                  CBS    Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SAM
2021-01-13 17:23:20, Info                  CBS    Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/COMPONENTS
2021-01-13 17:23:20, Info                  CBS    Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/DRIVERS
2021-01-13 17:23:20, Error                 CBS    Failed to load offline store from boot directory: '\\?\c:\' and windows directory: '\\?\c:\Windows\' [HRESULT = 0x800703f1 - ERROR_BADDB]
2021-01-13 17:23:20, Error                 CBS    Failed to initialize store parameters with boot drive: c:\, windows directory c:\Windows, and external directory:  [HRESULT = 0x800703f1 - ERROR_BADDB]
2021-01-13 17:23:20, Error                 CBS    Cannot finalize a session that has not been initialized. [HRESULT = 0x800703f1 - ERROR_BADDB]
2021-01-13 17:23:20, Info                  CBS    Session: 1964_315468 finalized. Reboot required: no [HRESULT = 0x800703f1 - ERROR_BADDB]
2021-01-13 17:23:20, Error                 DISM   DISM Package Manager: PID=1964 TID=1992 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800703f1)
2021-01-13 17:23:20, Error                 DISM   DISM Package Manager: PID=1964 TID=1992 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800703f1)
2021-01-13 17:23:20, Error                 DISM   DISM Package Manager: PID=1964 TID=1992 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800703f1)
2021-01-13 17:23:20, Error                 DISM   DISM Package Manager: PID=1964 TID=1992 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800703f1)
2021-01-13 17:23:20, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800703F1
 
I got into windows 10 however there is an issue with not logging in partialy.

I got mainly 2 acccounts: 1 local admin and 1 normal user. The local admin is fine.
As normal user, when I login using my hotmail password, gives me a small blue box warning/error after going to the desktop saying: Windows can't log me in and is using a temporary account and roaming is not possible.
Some but not all my shortcuts are showing.
Also the name and number of the month on the login screen is in Italian.
 

Attachments

  • Untitled.png
    Untitled.png
    13.1 KB · Views: 8
  • screen.png
    screen.png
    1.2 MB · Views: 9
actually the app shortcuts are there, I moved my desktop and other folders to another drive to reinstall windows 10 when I didn't know I could fix it.
 
I got these 3 DEFAULT files from original windows 10 instalation.
Can I reuse any of these on the atachment? the original default has 512KB of data may be able to reuse it. The one you gave me has 256KB
 

Attachments

I can't boot again because I changed startup selection on msconfig to "normal startup" from "selective startup" that had USE ORIGINAL BOOT CONFIGURATION unchecked.

Either how to make windows 10 boot from normal startup or how to deselect USE ORIGINAL BOOT CONFIGURATION when I can't get to msconfig anymore cause I get winload.efi error.

It doesn't matter too much if I can't use original boot configuration really as long it boots.

I tried getting into safe mode using msconfig method because I read that's one way to fix the temporary account issue. I don't know if it worked.
 
Ah, Sorry... For the default hive, I'll provide you another english one later this day (after 9pm here).
For the other, just re-download your hives and replace them with the current ones (using my default hive, temporarily).
 
Ah, Sorry... For the default hive, I'll provide you another english one later this day (after 9pm here).
For the other, just re-download your hives and replace them with the current ones (using my default hive, temporarily).
please explain me second line, redownload what the "hive" files from original-defaults.zip file I posted? should I put those back? and then replace them again with the ones in english you will send tonight?
I wanna know if I can use like the first DEFAULT 512KB and then DEFAULT.LOG2 176,128 bytes from my original hive I posted in the zip because they have more data than your DEFAULT hive files you sent and may help recompose the system better because it has original data, but I'm not sure of anything.

BY THE WAY MY ZIP HAS 3 FILES, 2 ARE HIDDEN, OPEN WITH 7ZIP or a good archive manager. Windows zip explorer shows only the one not hidden.
 
The problem is your DEFAULT hive is corrupt.
That's why we are replacing it with the default "DEFAULT hive".
I've just sent you the hives with a private message.


Indexes for W10 20h2 x64 ENG ISO (it appears ITA is different):
Code:
Index : 1
Name : Windows 10 Home
Description : Windows 10 Home
Size : 15,489,142,996 bytes

Index : 2
Name : Windows 10 Home N
Description : Windows 10 Home N
Size : 14,716,766,977 bytes

Index : 3
Name : Windows 10 Home Single Language
Description : Windows 10 Home Single Language
Size : 15,470,244,213 bytes

Index : 4
Name : Windows 10 Education
Description : Windows 10 Education
Size : 15,722,347,443 bytes

Index : 5
Name : Windows 10 Education N
Description : Windows 10 Education N
Size : 14,953,374,712 bytes

Index : 6
Name : Windows 10 Pro
Description : Windows 10 Pro
Size : 15,720,710,878 bytes

Index : 7
Name : Windows 10 Pro N
Description : Windows 10 Pro N
Size : 14,955,666,348 bytes
 
Last edited:
Thanks I installed all those files but I now have a new issue as I was saying.
I ran MSCONFIG then on General Tab, windows 10 booted after I put the DEFAULT files with selective startup where "use original boot configuration" was unselected, I changed it to the bullet "Normal startup" and now is giving me another BSOD.
I want to know how I can fix it too.
I typed bcdedit on windows RE command line and I think the problem is in the OSDEVICE and DEVICE values because it reports it as "unknown" check my bcdedit text file atached. Either let's change it to C: or the correct value and that should make it boot or execute bcdedit to change msconfig to selective startup mode and unselect "use original boot configuration" like it was.
 

Attachments

bcdedit /set device partition=c:
bcdedit /set osdevice partition=c:
those commands alone gave me an error about referencing the specified entry so, I did a little research and typed from the EFI partition s:\efi\microsoft\boot
bcdedit /store BCD /set {default} device partition=c:
bcdedit /store BCD /set {bootmgr} device partition=c:
bcdedit /store BCD /set {default} osdevice partition=c:

and those were sucesful but still got the BSOD as on photo.
I'm including the details of all my partitions on the drive with windows and BCDEDIT /enum all output for you to tell me what else I need to change.

I can always just choose to select selective startup and that may fix everything but I rather have normal startup.
 

Attachments

Should I recreate the boot loader and boot configuration all together from new?
or can you help me remove the unnecesary header entries and fix the unknowns from the bcd?
I'm gonna try creating a new BCD wish me luck! I'll backup the current one to BCD.SAV and report what happens.
 
Check this latest bcdedit /enum all is better there are no unknowns because this BCD was created from scratch automaticaly from Windows RE when I renamed BCD and no BCD file was left.
Now it detects my windows partition at least.

I personally believe the problem is drive S: doesn't exist at boot that's the EFI partition, it doesn't have a letter when it first boots, that might be the reason why is not loading windows. It doesn't show a BSOD screen at first, it does endless "STARTING AUTOMATIC REPAIR"

UPDATE: is not because it can't find S:
Automatic repair changed it to HarddiskVolume2 which is correct but it still can't boot.
 

Attachments

  • enum all.txt
    enum all.txt
    4.4 KB · Views: 3
  • 20210115_030858.jpg
    20210115_030858.jpg
    185.7 KB · Views: 1
  • 20210115_031017.jpg
    20210115_031017.jpg
    165.4 KB · Views: 1
Last edited:
I was able to fix assigment of EFI to the correct device partition (my drive volume 2) but I still can't boot to windows 10 ):
bcdedit /enum active shows for {bootmgr} the device attribute pointing to volume 2 at first attempt (without assigning a letter to volume 2)
 

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

Back
Top