I am getting this blue screen message on Windows 10 machine. (I cannot boot into safe mode or see any other Windows OS options.)
Recovery
Your PC/Device needs to be repaired
The Boot Configuration Data file doesn't contain valid information for an operating system.
File:\BCD
Error code: 0xc0000098
I have created a recovery drive
and tried the Reset PC options. I get this information.
Reset this PC - remove everything
Unable to rest this PC. A required drive partition is missing.
Reset this PC - Keep my files
The drive when Windows is locked. Unlock the drive and try again.
I have run chkdsk
on the C:
partition but all looks fine.
As I upgraded from Windows8 using the online upgrade feature I do not have a Windows 10
disc to reinstall from. Can I use any Windows 10 disk including an OEM version to kickstart the rebuild? Or are there other tools available for fixing the BCD?
Fix "The drive where Windows is installed is locked"
Usually it is enough to repair boot files to fix problem,
but chkdsk will not harm ;)
And BTW once you activate Windows 10 on a computer you can clean disk and reinstall - OS will be activated automatically on same computer (MS keeps a database of activated Windows 10 per computer)
This error usually occurs when a PC is configured without a WinRE partition, instead storing WinRE on the Boot or OS partition.
BootRec
BootRec /FixMBR && BootRec /FixBoot && BootRec /RebuildBCD
BootRec /FixMBR && BootRec /RebuildBCD
It's recommended to move WinRE to its own partition: (ReAgentC
)
powershell
> CTRL+SHIFT OKBackup current WinRE.wim
:
Verify if C:\Windows\System32\Recovery\WinRE.wim
exists:
ls "C:\Windows\System32\Recovery" | FindStr /I "WinRE.wim" ; ls "C:\Windows\System32\Recovery" -Hidden | FindStr /I "WinRE.wim"
If it doesn't:
Xcopy /H "C:\Recovery\WindowsRE\WinRE.wim" "C:\Windows\System32\Recovery"
Y:
> Update WIM path DiskPart
> OK
sel vol c
shrink desired=665 minimum=650
WinRE.wim
is ~300MB in size)cre par pri size=665 id=27
cre par pri size=665 id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
format fs=ntfs quick label=WinRE
assign letter=z
gpt attributes=0x8000000000000001
Copy WinRE.wim
:
MkDir "Z:\Recovery\WindowsRE" ; Xcopy /H "C:\Recovery\WindowsRE\WinRE.wim" "Z:\Recovery\WindowsRE"
ReAgentC /Disable
ReAgentC /SetREimage /Path "Z:\Recovery\WindowsRE"
ReAgentC /Enable
ReAgentC /Info
Firstly: you can download the Windows 10 Installation media from the windows website directly. You will need to use a friend's computer to do this. You can then use the media creation tool to create an installation DVD or USB.
Secondly: Windows 10 sometimes shows errors like this on boot if it has recently downloaded a new update and there was not enough space on the C:\ partition to install the update during a system restart. The only option is to reformat the drive and reinstall Windows 10 - the Activation Key will be stored online by Windows, so you will not need this as long as you were using Genuine Windows.
I hope you had a backup of your data... Otherwise there are a number of ways you may be able to recover your files: by removing the drive from the computer and connecting it to another before formatting; by booting into Ubuntu from a USB drive; or by using a Windows Installation Disk to access the files via the "load drivers" button in the "repair" option.
Good luck!
User contributions licensed under CC BY-SA 3.0