Solved Windows 8 boot error bcd

I have windows 8 installed from dvd and after a restart the pc won't boot anymore. It tells me:
Your pc needs to be repaired
The required boot configuration data file is missing some required information.
File boot\bcd
Error code 0xc0000034

So I tried to rebuilt the bcd, used the bootrec commands , tried auto repair, tried system recovery but nothing seems to help.

You receive the following error message:

The Boot Configuration Data file is missing some required information.
File:\BCD
Error code: 0xc0000034




And you can't refresh or reset.

Refresh your PC: "The drive where Windows is installed is locked. Unlock the drive and try again."



Reset your PC: "Unable to reset your PC. A required drive partition is missing."



How do you repair the problem.

- Boot the computer using the Windows 7/8 installation media.
- On the first screen, press SHIFT+F10 to bring up command prompt.

-or-

- Boot the computer using the Windows 8 recovery USB flash drive.
- select Troubleshoot > Advanced options > Command Prompt.

Run the following commands at the command prompt.

diskpart
list volume NOTE: Note the volume letter where the Windows OS is installed.
exit

bcdboot X:\windows NOTE: Replace "X" with the volume letter of the Windows OS partition.

For example, bcdboot c:\windows or bcdboot d:\windows (see screenshots below).

If the drive letter is incorrect, you will receive the following error message: "Failure when attempting to copy boot files."





edit:

How to download and clean install Windows 8.1 if you have an OEM computer with UEFI firmware (BIOS) embedded Windows 8/8.1 product key. -> link
 
Last edited:
diskpart
list volume NOTE: Note the volume letter where the Windows OS is installed.
exit

When I list the volumes, my Windows installation volume is not present. Only two "volumes" are present; my DVD drive, and the USB stick I have booted from:



However, as you can see in my screenshot above, when I list drives (not volumes), it is shown (the 59GB entry). And the file system is intact as I have been able to check it in another PC using an external enclosure.

So, how can I use bcdboot to repair in my situation? Any advice would be greatly appreciated. Thanks in advance!

(I have the same issue that Recovery is saying my drive is "locked", but BCD error message is 0xc0000098 rather than 0xc0000034)
 
Last edited:
diskpart
select disk 0
list partition

post a pic

"There are no partitions on this disk to show". Seems a bit strange because as I say, I am able to still browse and access the files using an external enclosure.
 
What is the disk format GPT - MBR or Dynamic

Plug in the enclouser and run diskpart using another PC
 
What is the disk format GPT - MBR or Dynamic

Plug in the enclouser and run diskpart using another PC

Not sure how to get diskpart to tell me that, but the program Partition Master tells me its "Basic MBR", as seen here (its "Disk 2"):

 
if that snap shot was taken from another PC and disk one is from that PC.. Then

The reason your other PC may not be seeing that disk is because you have the BIOS setting set to UEFI -
you need to enable Legacy / csm support and disable secure boot.

I have to assume that you did not setup that disk in the PC you are trying to use it with, am I correct?
 
if that snap shot was taken from another PC and disk one is from that PC.. Then

The reason your other PC may not be seeing that disk is because you have the BIOS setting set to UEFI -
you need to enable Legacy / csm support and disable secure boot.

I have to assume that you did not setup that disk in the PC you are trying to use it with, am I correct?

UEFI is disabled in my BIOS. I couldnt see any option in the BIOS for "legacy/csm" or "secure boot". Might they be called something else?

The screenshots from my "problem" PC are the blurry photos (no Prt Sc in Recovery) whereas the pixel perfect shots are from secondary PC).
 
I have to assume that you did not setup that disk in the PC you are trying to use it with, am I correct?
 
I have to assume that you did not setup that disk in the PC you are trying to use it with, am I correct?

Not sure what you mean by "setup that disk". Let me try to explain again from the beginning:

My PC (laptop) stopped booting, with the errors mentioned. It has one hard drive, a 64GB SSD. My first blurry photo shows diskpart's report via recovery, in this laptop with this drive.

I then took the SSD out of the laptop, put it into an external enclosure (SATA-to-USB), and plugged it into my mum's desktop PC. My screenshot of Partition Master shows this; mum hard drive first, "Disk 1" (ignore), then my SSD, "Disk 2".

I am trying to fix whatever is wrong with the SSD so that I can put it back into my laptop and once again boot as normal back into Windows 8.1.
 
Thank you, so that was the working SSD for that laptop.. But Now the laptop does not see it...

Diskpart sees the SSD - Disk 0 ( but does not see the active partition or volumes )

How did you get into X Command - setup media or recovery?

you can try booting setup media and when at install screen hit F10 to bring up a prompt and run these commands one at a time

bootrec /FixMbr
bootrec /FixBoot
bootrec /ScanOs
bootrec /RebuildBcd
 
Thank you, so that was the working SSD for that laptop.. But Now the laptop does not see it...

Diskpart sees the SSD - Disk 0 ( but does not see the active partition or volumes )

How did you get into X Command - setup media or recovery?

you can try booting setup media and when at install screen hit F10 to bring up a prompt and run these commands one at a time

bootrec /FixMbr
bootrec /FixBoot
bootrec /ScanOs
bootrec /RebuildBcd

I got to Recovery via setup media (USB).

F10 doesn't seem to do anything. However, I just clicked "Repair this PC" then advanced, command prompt. From there I ran the commands you mentioned - the last two both give this error:

Total identified windows installations: 0

And after a reboot nothing has changed.
 
Your PC knows the disk is there but can not read it... Disk issue or PC issue????

Disk is readable we already know that..

Click Install - does the setup media - see it
 
copy this txt file - rename to config.cmd - put the file on your setup USB - then run "config" this file from command prompt
since we know the disk is MBR - this will file will tell us how the PC is booting
 
copy this txt file - rename to config.cmd - put the file on your setup USB - then run "config" this file from command prompt
since we know the disk is MBR - this will file will tell us how the PC is booting

It returns this:

"THIS COMPUTER BOOTED VIA BIOS MODE"

And this is what it returns regardless of whether I set UEFI to enabled or disabled in the BIOS.
 
everything appears right.. Bios Mode - MBR partitions - Readable Disk - Getting to the point of PC issue, not sure what else to tell you..

when in the enclosure you can see the files - or you can actually open the files in windows
 
everything appears right.. Bios Mode - MBR partitions - Readable Disk - Getting to the point of PC issue, not sure what else to tell you..

I've just had a new SSD delivered (128GB) so I will see if it lets me install Window to that...
 
when in the enclosure you can see the files - or you can actually open the files in windows
 
when in the enclosure you can see the files - or you can actually open the files in windows

See and open. I already copied some important text files from there into my cloud drive for safekeeping. They seem fine, not even corrupted.
 
Back
Top