Fixing various Boot Errors on Windows 8/8.1 or or BCD error 0xc0000034 on Windows 10
Boot from Install disc > Click Next > click Repair your computer > click Troubleshoot > click Advanced options > choose Command Prompt
type > bootrec /fixmbr press Enter(writes mbr but does not overwrite partition table)
type > bootrec /fixboot press Enter(writes new boot sector to system partition)
type > bootrec /rebuildbcd press Enter(scans for other OS’s, unlike rebuildbcd it allows you to select the OS’s you want to add to bcd)
after you have entered these commands, close the Command Prompt and Reboot your PC
Try #3 (Alex) and the working solution:
Fix the MBR in Windows 8 or 8.1 or Windows 10
You need the original Windows 8 or 8.1 installation DVD to repair the Master boot record.
If you don’t have the Windows 8/8.1 installation CD/DVD to run Command Prompt, go to Fix MBR with Easy Recovery Essentials.
The instructions are:
- Boot from the original installation DVD (or the recovery USB)
- At the Welcome screen, click Repair your computer
- Choose Troubleshoot
- Choose Command Prompt
- When the Command Prompt loads, type the following commands:
bootrec /FixMbr bootrec /FixBoot bootrec /ScanOs bootrec /RebuildBcd
- Press Enter after each command and wait for each operation to finish
- Remove the DVD from the disk tray
- Type
exit
- Hit Enter
- Restart your computer and check if Windows 8/8.1 can now boot
If bootrec utility doesn’t fix your Windows 8/8.1, try following the next commands to fix the EFI bootloader of the Windows 8/8.1:
-
- Boot from the installation DVD or the Windows 8 or Windows 8.1 recovery USB
- Click Repair your computer
- Choose Troubleshoot
- Choose Command Prompt
- Type these commands in order and hit Enter after each:
diskpart sel disk 0 list vol
These commands will select the first disk of your computer and the list all the partitions available on that disk.
- Check for the volume item that has the Fs column FAT32. The EFI partition must be formatted under FAT32.
If the volume number of EFI partition is “2”, type the following command:sel vol 2
If the volume number is different than 2, replace “2” with the number available on your computer.
- Assign a letter to this partition, a letter that is different that those already available on your computer, for example
x:\
. Type this command to assign the letter:assign letter=x:
- Wait for the success message to appear:
DiskPart successfully assigned the drive letter or mount point.
- Type
exit
to quit the DiskPart utility:exit
- Type this command and replace x:\ with the letter you assigned earlier to the EFI partition:
cd /d x:\EFI\Microsoft\Boot\
- Then type the bootrec command to repair the volume:
bootrec /fixboot
- Now you need to backup the old BCD and recreate a new one. Type:
ren BCD BCD.backup
- Type this command to recreate the BCD and replace the x:\ with the assigned letter earlier:
bcdboot c:\Windows /l en-us /s x: /f ALL
- In above command, Windows is installed on
c:\
. If the drive letter where your Windows 8/8.1 is installed is different, replace c:\ with your drive letter. - Remove the DVD from the disk tray
- Type
exit
- Restart your computer
This knowledge base article is for education purposes only, use at your own risk.
For expert onsite technical support and computer repairs contact us on 1300-694-877 or book online.