Without an MBR, or with a damaged MBR, your machine won’t boot (power up and load the operating system).
There’s a lot more to booting than just the MBR. Fortunately, recent versions of Windows have made the distinction between these various pieces fairly transparent, referring to all of them as “Windows Startup”.
I’m not sure what led you to ask about fixing the MBR, but repairing Windows Startup will address MBR problems as well as others.
Become a Patron of Ask Leo! and go ad-free!
Recent versions of Windows now include something called “Startup Repair”, which attempts to fix several processes that can cause a machine to fail to boot. Fixing the MBR is just one of them.
The first logical question to ask is: if you can’t boot the machine, how do you run the boot repair tool?
The answer is, you boot from something else. Specifically, you can boot from the System Repair Disc, a disk you create beforehand, when the operating system is running; or you can download the Windows Setup Disc for your version of Windows, which also has these tools.
I’ll assume the setup disk, since more often than not folks don’t create a repair disc in advance.
Running the repair
Click Next. This will bring up the primary Windows Setup screen.
DO NOT click “Install now”. Instead, click on Repair your computer in the lower left.
Click on Troubleshoot.
Click on Startup repair.
You’ll be presented with a list of operating system installations that were found on your machine. In most cases, there’ll only be one, as in the example above. Click on it, and Startup Repair will begin.
After it completes, you’ll either be told that nothing could be fixed (as in my case, since there was nothing to be fixed), or that repairs were made and you can reboot your machine.
If Startup Repair explicitly fails, or your computer doesn’t start after running it, you can try the command line tools listed below.
Start repair via command line
Caveat: it’s my assumption that Startup Repair, above, runs these same tools or their equivalents for you behind the scenes. The hope is that by running them manually, we may get more diagnostic information, if only to provide to a repair technician.
Follow the steps above to boot from the setup disk again, this time clicking on Command Prompt instead of Startup Repair.
There are several commands and options available.
If all you need do is fix the MBR, then “bootrec /fixmbr” is the command to run.
This command attempts to fix the Boot Configuration Data (BCD), which is used by newer boot processes.
This one rebuilds the Boot Configuration Data (BCD) used by newer boot processes with the operating systems found on the hard disk1.
Unfortunately, errors in these steps are beyond the scope of this article, though as I said, perhaps additional diagnostic information might be made available.
In most cases, running Startup Repair, above, is all that’s necessary.
1: I believe this will report “0” installations found if only one was found. My theory is that it’s reporting additional installations found.