Windows 10 Won’t Boot? Fix it with Startup Repair and BootRec Commands

A black screen and a Windows 10 PC that won’t boot often means that your master boot record is on the fritz. In this tutorial, we’ll show you two was to fix it and get your computer running again.

In a recent article, we looked at resolving issues with black screens in Windows 10 with some basic troubleshooting tips. But sometimes, Windows 10 fails to boot because of problems with the master boot record. In these cases, repairs need to be made to the master boot record to get things up and running again. Fortunately, the Windows 10 recovery environment includes an automated option for doing just that. And if that doesn’t work, you can do it manually in the command prompt. Read on to find out how.

Why Won’t My Windows 10 PC Boot?

The Windows 10 boot process is quite simple. When your computer starts, the BIOS or UEFI Firmware is loaded, which performs a small set of checks on your hardware called the Power On Self Test (POST.) The BIOS then scans the hard disk master boot record, which loads an essential file into main memory called WINLOAD.EXE. This kicks off the start-up process by loading the NTOSKRNL.EXE (NT Kernel, the heart of Windows) and HAL (Hardware Abstraction Layer.) Windows 10 then performs tasks such as initializing your hardware like your mouse and keyboard and reading the Windows Registry and user profile.

If you see a black screen with gray text that reads “Windows Boot Manager” with an error along the lines of “Status: 0xc0000605 Info: A component of the operating system has expired,” then it means something went wrong with WINLOAD.EXE.


This is obviously not a good thing. But it’s not the end of the world either.

Performing a Startup Repair

The first thing you can try is booting into the recovery environment, if possible, and then performing a startup repair. To access the recovery environment, turn your computer on and off three times.  While booting, make sure you turn off the computer when you see the Windows logo. After the third time, Windows 10 will boot into diagnostics mode. Click Advanced options when the recovery screen appears.

safe mode windows 10

Click Troubleshoot.

safe mode windows 10

Click Advanced options.

automatic-repair-3 safe mode windows 10

Then, click Startup Repair.


Fix Windows 10 Winload.exe Using the Command Prompt

If you are unable to perform a startup repair, then your next option is to try using your Windows 10 installation media to fix the boot error.

If you don’t have installation media, you will need to go a working computer and Create a Windows 10 USB Bootable Flash Drive. You can also go to a working Windows 10 PC and create a recovery drive.  When using a USB drive, make sure to set up your BIOS to boot from the USB drive.

After booting into setup, choose the Repair Computer option > Troubleshoot > Advanced Options > Command Prompt. If you are using a recovery drive, click Troubleshoot > Advanced Options > Command Prompt.


Once you have the command prompt up on screen, you will need to issue a set of commands to find and resolve issues that might be preventing your computer from booting.

Type BOOTREC /FIXMBR and hit <Enter>.

This command will attempt to fix any corruption issues with the master boot record.

If all goes well, you should see The operation completed successfully.


Next, type BOOTREC /FIXBOOT then hit <Enter>.

This command will attempt to write a new boot sector on the hard disk if Windows detects damage. Usually, this happens in cases where an older version of Windows was installed, or a non-compatible operating system such as Linux was installed.


If you are seeing an error such as Boot Manager is Missing, then the BOOTREC /RebuildBcd command might be able to fix it. This operation can also restore boot entries for older versions of Windows if you have a dual boot configuration.


If BOOTREC /RebuildBcd does not work, then Microsoft recommends you back up your BCD (Boot Configuration Data) store, then run the BOOTREC /RebuildBcd command again. Here is how you do it.

Type each command then hit <Enter>:

  • bcdedit /export C:\BCD_Backup
  • c:
  • cd boot
  • attrib bcd -s -h -r
  • ren c:\boot\bcd bcd.old
  • bootrec /RebuildBcd

Another option if you are dual booting with older versions of Windows such as Windows 7 is the BOOTREC /ScanOs command. The ScanOS command can find and restore entries for older versions of Windows.

What if None of These Options Work?

Your next best option is to try salvaging your data and then reinstalling Windows 10 and your applications. If you have your Windows 10 install media, you can boot from it, then perform a custom install. This will create an archive of the old installation called Windows.old. You can then recover your personal files from this folder. Make sure you perform a custom install that migrates your Windows.old data. Otherwise, all your data will be erased.


If you don’t want to risk overwriting your data by reinstalling Windows, check out this article on How to Recover Data from a Hard Drive that Won’t Boot.


That’s a look at repairing a broken Windows 10 installation. While these occurrences should be exceedingly rare for most everyday users, they can occur during riskier operations, like reinstalling Windows, resizing partitions, or setting up a dual boot. While the steps above can help, it’s always a good idea to perform a thorough backup in advance.



  1. Steven Wright  

    The line ” BOOTREC /FIXMRB” should read  “BOOTREC /FIXMBR”

    • Good catch Steven! Thanks for the comment. Article updated!

      • Hey Steve! Hope you are doing well old friend.

      • Yan  

        Still, what if windows 10 Laptop does nit use MBR but GPT? This step could be dangerous.

    • Hugh Colby  

      All the “solutions” are totally ridiculous. There are millions of PC owners to whom all these complicated, geeky instructions will be gobbledegook. Microsoft have been appalling on this issue and, should, to the relief of people unwise enough to have upgraded to Windows 10, be sending out an automatic ‘patch’ to disinstall 10 and move the pc back to a stable version. I, fortunately also have a MacBook. What a splendid bit of marketing Microsoft have perpetrated for Apple proucts.

  2. Kevin Clemmer  

    Easy BCD from NeoSmart is a superb way to clear up most of these issues as well, and it’s free for non-commercial use. Might take a look at it if you haven’t yet…I build computers for a living and I’ve been using it for years. It’s ESPECIALLY helpful for multi-boot systems (I have 4 bootable drives on mine: Win 10 Pro, LINUX, Win 7 Ult. and Win 10 Home)…this was a godsend for me, as 2 of those OS’s boot from M.2 drives, 1 from a standard HDD and 1 from an SSD… that tends to scramble ANY boot record 🙂

    • Easy BCD from Neosmart screwed up my computer royally and I advice against using it. There are no instructions on how to use it and it disabled my computer completely. I had to purchase a new Windows 10 to fix the damage it caused. Don’t use this app.

  3. Richard  

    Thanks Guys for the very Helpful Post!! Also for the “Easy BCD from NeoSmart” advice.

  4. dobi joseph  

    You are the MAN! I tried hundreds of suggestions, nothing worked. I never heard about this “turning the unit on and off 3 times thing” but it worked just like you said….
    Thank you very much…

  5. P  

    Tried everything but had never heard of turning on and off 3 times. Tried this and followed your instructions and it has appeared to work. Thanks so much

  6. aman  

    it worked thank u thank u thank u

  7. Scott  

    I have the above problem and none of the solutions here worked for me. I went back to custom installation, choose the drive partition and clicked format. I get to 48% on getting files ready for installation and get an error every time at 48%. 0x80070017 error code is what I get. I figured formatting the drive partition would remove any corrupted files but I still can’t reinstall win 10.

  8. Harry  

    I am using Insider Preview 15048.

    Norton informed me it needed to restart after doing an update, and the system failed to reboot into Windows.

    I got to a command prompt in Advanced Options, and bootrec /fixboot, bootrec fixmbr completed correctly. bootrec /rebuildbcd only finds C:\Windows.old\WINDOWS

    When I follow your instructions for bcdedit, there is no C:\boot folder.

    Any suggestions?

  9. Sammy  

    Omg i cant believe this really worked was stuck on a white screen all night tried to do a system restore and it keep saying something about an error occurred followed your steps and boom im back in to my pc thank you your the man

  10. Abhi  

    Thank you so much for this article!!!
    You just saved me so much trouble. Tried almost everything out there and nothing worked.
    Finally came across this and I was able to get Win10 to work
    Windows su$&@ and you rock!!!

  11. m m tkaczuk  

    No use to me as I get MBR error 1 Press any key to boot from floppy but nothing works, so nothing above is even vaguely useful to me as I can’t get past this 1st screen

  12. Cheryl  

    have tried several things including easy recovery essentials and nothing has worked – drive is locked and cannot get files even though i can see them when using recovery system

  13. Pj  

    What do you do next after successfully doing all the boots?? Do I just press the off button and turn it on again????

  14. Lisa  

    My computer comes on but the screen to sign on dosent come on. The circle just keeps going around and around. What can I do now?

  15. Vince  

    I have the exact same problem lisa

  16. David S.  

    Thanks! Worked like a charm! Couldn’t get my dual boot Windows 10 to start up, then the dual boot selection wasn’t showing up. This fixed them both!

  17. shabab  

    i have 4 OS in one pc and my bootmgr was corrupted, it recovered and it work fine


  18. Davexnet  

    Any special procedure for adding an XP partition to the BCD, rebuildbcd does not
    find it, so consequently the boot menu that should offer me a choice of Windows 10 and
    “older versions of Windows” does not appear and it boots directly to Windows 10

  19. Drmatur  

    Thanks a lot. After struggling 2 weeks
    this article helped me recover boot system.4 operating systems were operating. 3 times i repeated the procedure. So systematic presentation.

  20. 2 simple commands to solve a complex problem. Thanks a lot

  21. Hthrfox  

    How long should this take once your reach scanning all disks for windows installation? It has been several hours and all it says is please wait, since this may take a while.

  22. Jacqueline  


    Hope you can help me out.. I feel im almost there but not quite!

    BOOTREC /FIXBOOT gives back an access denied prompt.

    When trying
    bcdedit /export C:\BCD_Backup
    cd boot

    it cannot find the cd boot path.

    anny suggestions?

    • henry  

      Hi Jacqueline,

      I have the exact same problem as you when truing to fix this issue. Did you manage to solve it in the end? if so, how?

      Many thanks,

      • Shauna  

        I’m also having this exact issue. Did either of you have luck fixing it?

  23. Relieved  

    A Windows 10 update had my PC in a loop where it would not load Windows. After days of searching for an answer your post is the first to tell me how to get into recovery to repair (or other options) my PC. Thank you for this article and information!

  24. John W Davis  

    My trouble after reformat and reinstall twice, after a few days I will get a crash and another Boot failure.

Leave a Reply

Your email address will not be published. Required fields are marked *


To Top