If your Windows 10 displays error code 0xc0000034, your boot configuration data is likely to be corrupt. It is easy to restore the boot configurations through the command lines given below. You’ll need a self-bootable Windows installation DVD or a USB stick that contains Windows installation media. You can download the Windows 10 from Microsoft.
Fix Boot Configurations
MBR refers to Master Boot Record which is an information stored in the first sector of a hard disk.
- Boot your computer from the Windows installation media. Use the F2 or Delete key repeatedly until the computer manufacturer’s logo appears. Select the First Boot Device as your Windows DVD-ROM, and then save the changes and exit.
- Click Next on the language and region page of the Windows Setup wizard.
- Click Repair your computer.
- Click Troubleshoot.
- Click Advanced options.
- Pick Command Prompt from the list of diagnostic options.
- One by one execute the following commands:
- Bootrec /fixmbr
- Bootrec /fixboot
- Bootrec /scanos
- Bootrec /rebuildbcd
- Type A to add the installation media to the boot list and then hit ENTER.
- Exit the Command Prompt using the X button on the top of the window.
- Exit the setup.
Use DiskPart Tool
DiskPart is a disk management and partitioning utility. It enables users to fix various issues caused by problems in the multipartition layout.
- Boot from the Windows installation media and then go to the Advanced Options page again.
- Click on the Command Prompt icon.
- One by one type and execute the following commands:
- DISKPART> list disk
- DISKPART> select disk 0
- DISKPART> list volume
- DISKPART> select volume 2
- (Assuming you use the volume 2)
- DISKPART> assign letter=b:
- (Assign drive letter)
- DISKPART> exit (Terminate the Diskpart program)
- cd /d b:\EFI\Microsoft\Boot\ (Move to the following folder which contains Windows Boot Configurations)
- ren BCD BCD.bak (Backup the Boot Configurations)
- bootrec /fixboot (Write a new bootsector on your system partition)
- /f ALL (Update the BIOS settings including UEFI Firmware/ NVRAM)
- bcdboot c:\Windows
- bcdboot c:\Windows /l ja-JP /s b: /f ALL
- That’s it, folks. The boot configurations of your PC are now rewritten.
- Reboot your system to check whether your problem is fixed or not.
Verify System Files
System File Checker is a tool that verifies file system files integrity and repairs corrupted versions of the operating system files.
- Press Windows Key + X.
- Select Command Prompt (Admin).
- Enter the following command:
- Sfc /verifyonly
- If any file system issues are detected, repair them immediately.
Perform Disk Check-Up
This tool repairs logical file system errors that make it cause problems retrieving important data from the operating system files.
- Open the Command Prompt as administrator.
- Run the following command:
- Chkdsk /f C: (Replace C: with the actual Windows installation drive)