Top Nav

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

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 important 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.

More Reading:

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

  1. Steven Wright November 24, 2016 at 8:23 am #

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

    • Steve Krause November 24, 2016 at 11:59 am #

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

      • holdum333 May 17, 2017 at 12:30 am #

        Hey Steve! Hope you are doing well old friend.

  2. Kevin Clemmer November 24, 2016 at 10:00 am #

    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 🙂

  3. Richard November 24, 2016 at 11:04 am #

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

  4. dobi joseph January 13, 2017 at 12:46 pm #

    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 January 17, 2017 at 1:55 am #

    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 February 14, 2017 at 9:56 am #

    it worked thank u thank u thank u

  7. Scott March 5, 2017 at 7:00 pm #

    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 March 8, 2017 at 9:28 am #

    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 March 21, 2017 at 1:36 pm #

    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 April 4, 2017 at 6:18 am #

    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 April 20, 2017 at 5:05 am #

    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 April 22, 2017 at 5:57 am #

    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 April 24, 2017 at 6:55 pm #

    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 April 27, 2017 at 9:47 am #

    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 May 13, 2017 at 5:57 pm #

    I have the exact same problem lisa

  16. David S. May 13, 2017 at 10:24 pm #

    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 July 29, 2017 at 12:06 pm #

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


  18. Davexnet July 31, 2017 at 2:13 pm #

    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 September 13, 2017 at 2:36 pm #

    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. Gaurav khurana September 15, 2017 at 9:43 am #

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

Leave a Reply


Free Learning


Don't miss a single tip, how to or tech news update. Subscribe to my free newsletter and receive updates, right to your inbox.

You have Successfully Subscribed!