Header Ads

How to repair Windows MBR or master boot record and fix your bricked PC

The master boot record is a key part of your PC’s startup system. It contains information about the computer’s disk partitions and helps load the operating system. Without a properly functioning MBR, your PC simply won’t work.

New form of ransomware is wreaking havoc on computers. Hackers that encrypt your files and demand money from you in the form of bitcoin is bad enough, but a few versions also overwrite your Windows PC’s master boot record (MBR).

Luckily, destroying the MBR usually isn’t irreversible. But it’s still problematic since overwriting the MBR renders your PC inoperative until it’s repaired. On top of that, the method for fixing it is far from obvious.





Here’s how to make everything right if your master boot record was erased.

How to fix the MBR

The main way to fix the MBR is to use a command prompt and run the bootrec.exe command. In versions of Windows prior to Windows 8 and 10, you usually accessed the command prompt through recovery media like a DVD disc or USB drive. That still works in Windows 10, and we’ll discuss that method at the end of this tutorial. But the latest versions of Windows offer an easier method for running recovery commands without external media.


When you first boot up a Windows 10 PC it should recognize that there’s a problem and enter “automatic repair” mode. When it does, you’ll see the words "Preparing Automatic Repair” appear below the blue Windows logo.

If that doesn’t happen, but you do see the blue Windows logo, turn off your computer using the hard reset/power button. Keep turning the computer on and off until you see your PC booting into automatic repair. It should only take a few reboots.



Once automatic repair mode is ready, you’ll see the Automatic Repair screen. From here select Advanced options.



On the next screen, click Command Prompt Troubleshoot and then Advanced options once again.


You’ll see a screen with six options. If you want, you can select Startup Repair before turning to the command prompt and Bootrec. Startup Repair is an automated program that will try to fix any problems it finds on the computer disk without any intervention from the user.

It’s a good utility that may fix your problem, but Startup Repair will take far more time to complete its task than simply running Bootrec.

To use the Bootrec option, click the Command Prompt tile. This may prompt your computer to reboot yet again and then ask you to login with your password. If that happens, do so.



Once the command line appears, all you have to do is type the following, then press Enter:

bootrec.exe /fixmbr

Note the space between “exe” and “/fixmbr”—it’s critical to include this space for the command to run properly. The first part tells the PC to run the Bootrec program, while the “/fixmbr” option tells Bootrec exactly what we want it to recover.


If all goes well, the command prompt should print out, “The operation completed successfully.” When you see that you can reboot your PC.



Bootrec from a system repair drive

If you’re running an older version of Windows, or if your Windows 10 PC isn’t launching the repair options, you’ll need to use a recovery drive to fix your MBR. Start by inserting the system repair media into the PC. This will be either one you created, or a purchased version of the Windows install discs.



Next, boot your system. If you’re using a USB drive, your system’s BIOS needs to be set to boot from USB before falling back to any internal drives. If you don’t have your BIOS correctly configured, the system recovery drive will be of no use. Adding to the complication, the way you enter the BIOS (and how you set it up) is not universal. Lincoln Spector has a tutorial on how to handle setting up your BIOS to boot from USB.

Once you’ve booted into the recovery drive, you should be asked to select a keyboard layout in your language—US English in this case. Next, you’ll land on the troubleshooting screen we saw earlier.

At this point you can continue to the command prompt as we discussed earlier and run Bootrec.

If you’re on Windows 7, you’ll need to follow slightly different steps once you launch into the recovery mode. After you’ve selected the input method, select Repair your computer, followed by the operating system name. Then click Next > System Recovery Options > Command Prompt and start Bootrec using the same bootrec.exe /fixmbr as above




No comments

blogmytuts. Powered by Blogger.