Windows 8 Boot Error – Fix 0xc0000034 with Command Line Tools


Windows 8 has changed many colors and errors creep in when you do some tweaks or if there is incompatible software. Boot loader errors like 0xc0000034 create trouble if you have no other support to troubleshoot. Either you should have another desktop PC or laptop with an internet connection to resolve your problem or find a Microsoft engineer to solve your issues.

Recently I was trying to tweak my Boot Manager using EasyBCD, which is a software tool to make changes to your Boot Menu. At the same time I was also trying to install Windows 7. The bad thing I did was that I already installed Windows 8.1 32 bit and Windows 8 64 bit as a dual boot system and wanted to install the older OS over it.

Though this was a tricky business which I accomplished earlier, I failed this time. I faced the dreaded boot error code 0xc0000034 when I installed the 32 bit Windows 7 version and failed to boot the Windows 8 boot manager.

Windows 8 Boot Error - 0xc0000034

How to Fix Windows 8 Boot Error Code 0xc0000034

The error description goes something like this:

Recovery Your PC needs to be repaired. The Boot Configuration Data file is missing some required information File : BootBCD Error code : 0xc0000034 You’ll need to use the recovery tools on your installation media. If you don’t have any installation media (like a disc or USB device) contact your system administrator or PC manufacturer.

I earlier faced a similar issue with error code 0xc0000098 regarding booting problem and resolved it using the “bcdboot” command. In that case the boot error solution was quick to solve. To resolve the issue this time, I searched Google for answers. Many a times I resolve searching forums which I advocate to my young readers, which is a good habit of trouble-shooting. Though I read many web pages, the answer lied in this page.

Repair Windows 8 PC

Boot Error 0xc0000034 – How to Fix in Windows 8

Solution

The fix that I applied was totally a different one compared to the earlier solutions. I thank “NeoSmart Technologies” for providing the command line editor commands in an easy digestable manner. This solution is especially for Windows 8 or 8.1 users. For Windows 7 or Vista, you may need to try little different commands. Note: Since your Windows will not boot, you need a Windows 8 installation DVD to boot into and enter the Command Prompt tool which is available under “Repair your computer” option. The process involved applying commands in the command prompt Window in a 5-stage process. Stage 1 : We should first make sure that the MBR and bootsector contain the right references to the Windows 8 bootloader.

bootrec.exe /fixmbr
bootsect.exe /nt60 all /force

Stage 2: Then we need to get rid of the old BCD registry and create a new one. Note: The important thing is that C: refers to the boot drive and also the Windows installation drive. If you are having a dual boot system, find out which partition is the active one.

attrib -h -s C:WindowsbootBCD

del C:bootBCD
bcdedit /createstore c:Windowsbootbcd.temp
bcdedit.exe /store c:Windowsbootbcd.temp /create {bootmgr} /d "Windows Boot Manager"
bcdedit.exe /import c:Windowsbootbcd.temp
bcdedit.exe /set {bootmgr} device partition=C:
bcdedit.exe /timeout 10
attrib -h -s C:Windowsbootbcd.temp
del c:Windowsbootbcd.temp

Stage 3: The Windows 8 bootloader is clean now and you need to add your Windows 8 installation entry to it.

bcdedit.exe /create /d "Microsoft Windows" /application osloader
The entry {c0dfc4fa-cb21-11dc-81bf-005056c00008} was successfully created.

Stage 4: Then we need to assign the device partition and set some path changes.

bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} device partition=C:
bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} osdevice partition=C:
bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} path Windowssystem32winload.exe
bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} systemroot Windows

Stage 5: Finally, we need to tell the bootmgr bootloader to list the entry.

bcdedit.exe /displayorder {c0dfc4fa-cb21-11dc-81bf-005056c00008}

 Conclusion

Though there are various solutions for this booting problem and error code, this is like altogether creating a new boot manager, wiping out of the old data. So if you had a Windows 8 Boot Manager, after applying these commands, you will see a Windows 7 or Vista styled Boot Menu. I don’t recommend this solution for a simple problem. Usually entering the Windows installation DVD and repairing your PC, most of the times resolves the problem. But in hard-cases like these, you can apply this solution. I myself applied this solution and was successful when I tried to install Windows 7 after installing Windows 8 (which you should avoid) and got this boot error code.

Related :  [Solved] Fix Windows 10 or 8.1 or 7 Installation Error Code 0x8007025d
Windows 8 Boot Error – Fix 0xc0000034 with Command Line Tools
Rate this post

27 comments… add one
  • Taylor Dec 22, 2015, 5:39 am

    Okay. I hope people still watch this. I am having a MAJOR issue. I got this error on my windows 8.1 partition on my Macbook, where all of my very important files are, and have been trying every trouble shooting option available….with no avail. The issue is, whenever I try to use the command prompts available, they all work until i reach a prompt that requires the use of C: Whenever i try and use these, it says cannot specify file path. And yes, i have checked, C: IS my windows volume. I just cant figure out why command prompt WON’T identify my volume. Any idea’s? I am completely broken down and desperate at this point…..
    Thanks in advance for your time.

  • Paul Oct 9, 2015, 7:46 pm

    I’m having the 0xc0000034 problem. i can get to command prompt, but is this repair still possible without a setup DVD/ installation media? problem is I am presently offshore thus not able to contact PC manufacturer or repair shop for another 3 weeks 🙁

    • Palla Sridhar Oct 10, 2015, 10:49 am

      @Paul: There can be several causes for the 0xc0000034 error. The solution I gave is only when all others fail. So you can try other solutions which may work for you. But generally you need to have a repair disk or Windows Installation media, to solve such type of boot errors.

  • Hany Atmaja Sep 22, 2015, 3:30 pm

    how the correct way when bcdedit.exe / set {bootmgr} device partition = C: error please love me just the solution

  • Dusan Aug 23, 2015, 1:45 am

    Exceptional.
    Thank you very much.

    One question please, if I may, is this method/commands applicable on Win 10?
    If not, would you be so kind to note differences, or make a set of instructions for Win 10, please.

    Much Obliged, thanks again.

    • Palla Sridhar Aug 23, 2015, 1:51 am

      @Dusan. I still need to research on that. But Windows 10 boot loader should be no different from 8. So try these commands, as it’ll only change the boot registry and assign the new installation. If time permits, I’ll write a new post on it.

  • Gopi Krishnan Jul 8, 2015, 2:23 pm

    Thanks Sir

  • Elliot Jan 27, 2015, 1:34 am

    I have had this bcd error for a week now, and i have been trying other cmd entries from other sites but still got d same error until i saw this site and tried your method. pls i need help, i did all d 5 stages correctly, exited cmd, removed my flash and restarted my computer but this time i got a different error about something not being signed, so i used auto-repair option to try and fix this but then my screen went blank, i shut it down after waiting for almost 2 hrs and when i started again all i got was a black screen and my pc was making noise, i cant get to anywhere from d black screen pls i need help on how to solve this. Thank you in advance.

    • Palla Sridhar Jan 27, 2015, 7:17 pm

      @Elliot ; Please email me with your email address at the contact form available at the top. If you have Google+ or Twitter it’d be great..:)

      • Elliot Jan 28, 2015, 12:03 pm

        Thanks for replying but i already found a way to leave d blackscreen by tapping F8 then pressing esc on boot up,i got to hp recobery manage, backed up my files and formatted my laptop cuz i was left with no other option, d problem is fixed now but i lost some files.

  • David Jan 12, 2015, 10:21 pm

    Hi, I have gone through the proses but every time I get to set it just says.
    File not found – C:\Windows\boot\BCD
    Can any one help me?
    Thank you

  • Marc Nov 22, 2014, 9:55 am

    Hi. Thanks for the tutorial but when I get to stage 2 – import command. I get a “The requested system device cannot be found. ” error. Can’t wrap my head around this error. If you can help further, it’s much appreciated.

    • Palla Sridhar Nov 22, 2014, 7:09 pm

      @Marc : Are you sure that you are creating those commands on the Windows installation drive and also the boot drive. This is the drive from where your computer will boot. Generally it’ll be C:. But in some cases it can be different like D:, E: etc.

  • Rio Nov 19, 2014, 7:24 am

    Thankyou Palla…. I need this tutorial for my Laptop
    This is work

  • dheeraj Oct 4, 2014, 3:46 pm

    my laptop is hp envy 15-j110tx with new windows 8.1 …. i mistakenly formatted my hard drive and lost my windows… but when using recovery disk i tried to recover my windows every thing was going fine till last disc.. it also ejected out and final software installation was going onn that also completed to 90% but sudddenly it restared and showed a error that windows recovery unsussesfull…. and show boot/BCD file missing…

    i dont understand this thing how it can miss a file… at the time of recovery disk formation every step i followed and rcovery drive was made suucessfully without any error but how come now its not working ….i want to know how to get my windows back… my laptop is useless now…please help me asap.

    • Palla Sridhar Oct 8, 2014, 9:36 pm

      @dheeraj.. Probably your boot loader got corrupted during the recovery phase.. Try some basic troubleshooting steps for your error on Google. If you find a related problem, then you can apply that.. If nothing works out, then you apply the command lines that I mentioned in my post for /boot/BCD error…Most of the times it should work!!!

  • Duncan Aug 27, 2014, 9:29 pm

    Will this method keep all of my files or will it format my drive and lose all my work :/

    Thanks!

    • Palla Ramarao Aug 27, 2014, 10:04 pm

      @Duncan: This will keep your files and the OS.

      • Duncan Aug 28, 2014, 12:04 am

        Thanks for the help! 🙂

  • Alfredo Aug 9, 2014, 8:12 am

    Thank you so much!!!!! It helped me a lot

  • Ilo Aug 2, 2014, 11:15 am

    Hi Palla.
    Thank you so much for taking time to post this article. It helped me a lot, since I broke the BCD with an application called EasyBCD and couldn’t load into the OS by trying many different manipulations with the Installation DVDs, Windows Live CDs, Linux Live CDs, and lots of other utilities. So glad I’ve come across this site. Will surely check it for other solutions too. Thank you again.

    P.s. I had the error 0xc0000098, but used the 5 stages you posted, my bad, I didn’t notice the part about “bcdboot” when reading this from phone, but now, from my recovered PC I just read it haha… still glad I fixed it.

    P.p.s Is there a way I can backup the BCD stuff to another place so I could later, if needed, just copy it back using a Live CD file manager?

    • Palla Ramarao Aug 2, 2014, 12:05 pm

      @ Ilo. Thanks for your comments. To my knowledge, BCD backup is available in the same EasyBCD tool. Its on the main interface. BTW, were you able to solve the above problem? Please give your experience on how you did it?

      • Ilo Aug 2, 2014, 4:06 pm

        Yes I definitely solved the problem.
        The sequence was as follows:
        1) Randomly by accident applied “Install BCD” option to my C: partition from the “BCD Deployment” section of EasyBCD application. Since that option was only meant for external USB drives, it seems to broke the BCD and gave the error 0xc0000098.
        2) Tried many utilities about fixing MBR, fixing bootloader, and managing the partition table, nothing helped.
        3) Came across your site and applied the steps you described for fixing 0xc0000034, but it actually fixed my problem with 0xc0000098.

        Right now I’m on my way to discover how grub works with EasyBCD to load GNU/Debian 🙂 still didn’t get how it should work though

        • Palla Ramarao Aug 2, 2014, 4:13 pm

          Ok cool. Regarding grub, I don’t remember much about it. Better using gParted the Unix partitioning tool. I’m assuming you are planning to install Debian on a Windows system. 🙂

          • Ilo Aug 3, 2014, 2:09 am

            gParted can be used to startup Debian?
            My plan is to use tripple boot, remain the Windows 8.1 as my main OS, have Windows XP for gaming, and have Debian for curiosity. But I’m confused now of how to startup Debian, since it requires grub to start, EasyBCD can’t start it directly

          • Palla Ramarao Aug 3, 2014, 5:20 am

            Yes, gParted can be used. It’s a Unix tool actually. For more info, you can Google it..Also follow me on Google+ so that we can talk in future there…

          • Ilo Aug 4, 2014, 1:33 pm

            Thank you. Followed 🙂

Leave a Comment

 

Meet the Author

Palla Sridhar

I love being a Microsoft enthusiast and Tech lover. I Completed my M.Tech in Civil Engineering from IIT Kanpur, INDIA. My interests include Blogging, Surfing, Cricket, Books and Social Networking. I find solutions to problems on Windows, Outlook and Office.

Join #Amazon #Prime - Watch #Movies & #TV #Shows - Start Free Trial