What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

If Windows will not boot, start with Startup Repair in Windows Recovery Environment (WinRE). It can attempt to fix damaged MBR boot code and other startup problems. If that fails, choose a command based on the layer involved: bootrec /fixmbr writes master boot code, bootrec /fixboot writes boot-sector code, and BCD tools address boot configuration or system-partition files. None is a universal fix for every boot failure.

Before repairing: identify what may be broken

“MBR corruption” is often used as shorthand for a Windows boot failure, but several distinct components can prevent startup. Microsoft’s Windows startup troubleshooting guide lists messages such as “Boot Configuration Data (BCD) missing or corrupted,” “Boot file or MBR corrupted,” “Operating system Missing,” “Boot sector missing or corrupted,” and “Bootmgr missing or corrupted.” The wording can help you choose the right recovery path.

  • Master boot code: code in the MBR that starts the boot process. bootrec /fixmbr targets this code.
  • Partition table: information about the disk’s partitions. Rewriting master boot code does not restore a damaged partition table.
  • Boot sector: a separate area of boot code, addressed by bootrec /fixboot.
  • BCD and system-partition files: boot configuration data and related files needed to launch Windows. These may require BCD repair or BCDBoot.

A boot error alone does not establish that the MBR is the cause. If the disk appears physically damaged or the partition layout may be affected, avoid repeated write operations and prioritize diagnosis and data preservation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Try Startup Repair first

Startup Repair is the safer first step because it can attempt fixes for several common startup faults, including damaged MBR boot code and corrupted BCD. Microsoft’s current guidance applies to Windows 10 and Windows 11. You can enter WinRE from recovery options already available on the PC or boot from Windows installation media. With installation media, use this path:

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
  1. Boot the computer from the Windows installation media.
  2. At Windows Setup, select Next, then Repair your computer.
  3. Choose Troubleshoot, Advanced options, and Startup Repair.
  4. Allow the repair attempt to finish, then restart and check whether Windows loads.

On an encrypted device, have the BitLocker recovery key ready; Microsoft says it may be required to complete Startup Repair. If the attempt fails, its diagnostic log may be available at %windir%System32LogFilesSrtSrttrail.txt. Microsoft documents the repair options and BitLocker requirement in its Startup Repair guidance.

Use Bootrec only for the matching boot component

To run Bootrec commands, open Troubleshoot > Advanced options > Command Prompt in WinRE. Select the operation that matches the suspected fault rather than running every command indiscriminately.

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Repair master boot code

For suspected damaged MBR boot code, run:

bootrec /fixmbr

Microsoft states that this overwrites only the master boot code. It does not repair a damaged partition table, so it may not help if partition information or the disk itself is the problem.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Repair boot-sector code

If the reported problem concerns a missing or corrupted boot sector, run:

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
bootrec /fixboot

This targets boot-sector code, not the MBR’s master boot code. It is not a remedy for a failing drive or partition-table damage.

Repair a BCD-related startup problem

For a BCD error, Microsoft’s troubleshooting sequence begins by searching for Windows installations that are not in the BCD store:

Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
bootrec /scanos

If the issue remains, Microsoft documents backing up and renaming the existing BCD before rebuilding it:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
bcdedit /export c:bcdbackup
attrib c:bootbcd -r -s -h
ren c:bootbcd bcd.old
bootrec /rebuildbcd

Restart after the repair attempt. These path-specific commands must target the correct offline boot files. Drive letters in WinRE can differ from their usual letters in Windows, so do not assume that C: contains the Windows installation or BCD. Microsoft’s startup troubleshooting instructions cover the Bootrec operations and their limits.

Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use BCDBoot when system-partition boot files need rebuilding

BCDBoot is a distinct option for recreating boot files on the system partition using files from the installed Windows directory. First identify the volumes in WinRE Command Prompt:

diskpart
list vol
exit

Find the volume containing the Windows directory and identify the system partition. Microsoft’s example command is:

bcdboot D:Windows

D: is only an example; use the drive letter that actually contains the offline Windows directory. BCDBoot’s behavior depends on whether the PC boots using BIOS or UEFI, including how the system partition and UEFI firmware entries are handled. Check the machine’s boot mode and partition layout before using it. See Microsoft’s BCDBoot command-line options for the documented behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the repair by the symptom

Recovery method Best fit Key limitation
Startup Repair First attempt for common startup problems, including damaged MBR or BCD It may not resolve the fault; review the repair result and available log if it fails.
bootrec /fixmbr Suspected damaged master boot code Does not repair partition-table corruption.
bootrec /fixboot Damaged boot-sector code Targets a different component from MBR boot code.
Bootrec BCD sequence BCD-related startup error Must use the correct offline Windows and boot-file paths.
BCDBoot Missing or damaged system-partition boot files or BCD store Requires the correct Windows directory, system partition, and firmware context.

When to stop and escalate

If Startup Repair and the command appropriate to the symptom do not restore startup, do not try unrelated commands or format a partition as a generic next step. A failed /fixmbr attempt does not show that the partition table is intact; nor does a boot error prove that rewriting it is appropriate. Stop if the disk shows signs of failure, the partition layout is unclear, or you cannot confidently identify the Windows and system volumes. At that point, diagnosis and preserving data should come before further changes to the disk.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$208.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.