Everything You Should Know About Bootrec.exe

A powerful command that helps fix the boot issues

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

what is bootrec.exe

If you are dealing with a device that fails to boot or you are encountering issues with dual-boot setups, you can use Bootrec.exe commands to repair the boot process. Let’s learn more about this command and its primary functions.

What is Bootrec.exe?

Bootrec.exe is a command-line tool included in the Windows Recovery Environment (WinRe). It is designed to address and fix system boot process-related issues, such as boot failures and system crashes.

You can repair the Master Boot Record (MBR), fix damaged boot sectors, rebuild the Boot Configuration Data (BCD), and scan for missing operating systems.

How can I access Bootrec.exe?

Note icon NOTE
You can’t directly access Bootrec.exe; you need to create an installation media and change the boot order first.

1. Create an installation media

  1. Visit the official Windows 10 download site.
  2. Click the Download Now button.Download now - upgrade from 32-bit to 64-bit version of windows 10
  3. Choose the download location on your device and click Save.
  4. Once the file is downloaded, double-click to launch the setup.
  5. Click Accept to agree to license terms.Windows 10 setup
  6. Choose Create installation media (USB flash drive, DVD, or ISO file) and click Next.Create installation media
  7. On the next screen, remove the checkmark next to Use the recommended options for this PC.Setup Recommedned language and setting - upgrade from 32-bit to 64-bit version of windows 10
  8. Then, Select the following and click Next:
    • Language – The language you want to use on the PC
    • Edition – Choose the same edition of Windows
    • Architecture – 64-bit (x64)
  9. Select the USB flash drive option and click Next.Choose USB drive
  10. Choose the USB drive connected to your device, and click Next to let Windows 10 prepare the flash drive. Choose the USB drive
  11. You will get a notification after the process completes, and click Finish to close the setup.Click Finish - how to upgrade from 32-bit to 64-bit version of windows 10

If don’t have the USB drive or disc handy, you can follow these steps to use Bootrec.exe without CD and fix the MBR issues on Windows 10/11.

2. Change the boot order

  1. Press Windows + I to open the Settings app.
  2. Click Update & Security.Update &; Security - upgrade from 32-bit to 64-bit version of windows 10
  3. From the left pane, select Recovery.
  4. Locate Advanced Startup, and click Restart now.Restart now
  5. On the Choose an Option screen, select Troubleshoot.Troubleshoot
  6. Click Advanced options.Advandcec options - upgrade from 32-bit to 64-bit version of windows 10
  7. Select UEFI Firmware Settings.UEFI settings
  8. Click Restart.Restart to entter BIOS mode - how to upgrade from 32-bit to 64-bit version of windows 10
  9. In the BIOS menu, go to Boot, then select the USB drive to change the boot order.
  10. Press F10 to save and exit.

3. Use the bootrec command

  1. Now that your computer will boot using a USB drive, the Windows 10 Setup screen will appear.
  2. Click Repair your computer.
  3. On the Choose an Option screen, select Troubleshoot.Troubleshoot
  4. Click Advanced options.Advandcec options - upgrade from 32-bit to 64-bit version of windows 10
  5. Select Command Prompt to launch the Command Prompt window.
  6. Now, use any of the Bootrec commands to fix the booting issues.

Primary functions and their use

PurposeCommand Description & Use
Fix MBR (Master Boot Record)bootrec /fixmbrRepairs the MBR of the system partition. This can be useful if the MBR is corrupted or overwritten by another operating system’s boot loader.
Fix Boot Sectorbootrec /fixbootWrites a new boot sector to the system partition, allowing you to resolve issues related to a corrupted or damaged boot sector.
Rebuild BCD (Boot Configuration Data)bootrec /rebuildbcdScans for installed Windows installations and allows you to add them to the BCD store. This can be useful if the BCD is corrupted or missing and prevents Windows from booting.
Scan OS Installationsbootrec /scanosScans for installed Windows operating systems(OSs) not currently listed in the BCD and help identify OSs present but not properly configured in the boot manager.

Bootec.exe is a powerful command, so it should be used carefully. Remember to back up your important data, use the correct commands, and always use them in a sequence; start with bootrec /fixmbr, followed by bootrec /fixboot, then bootrec /scanos, and finally bootrec /rebuildbcd

In case the Bootrec command is not recognized on your Windows 11, read this guide to find solutions.

If you have any suggestions or concerns about the subject, feel free to mention them in the comments section below.

More about the topics: windows 10, Windows 11

User forum

0 messages