Repair Master Boot Record (MBR) in Windows 8 / 7

One of the effective troubleshooting steps, to fix boot issues is to repair Master Boot Record, or MBR. One of the common reasons why an MBR can get corrupted is due to malware infections. Improper shutdowns can also lead to MBR corruption. Sometime we may find issues where Linux Grub is installed and Windows is not able to detect it. On some occassions, you may get the Bootmgr is missing error. In such cases you can run the rebuild or repair MBR to fix these issues.

Repair Master Boot Record MBR

The process is almost same for Windows 7 and Windows 8. First and foremost you need a Windows 8 or Windows 7 installation DVD. Without that, it will be hard to proceed.  Please don’t ask where you can download it since we are not at liberty to discuss the sources, where we can find the installation DVD.

Step 1:

Press F8 while booting the system to go into the Windows Recovery Menu. Unlike other version Windows 8’s recovery menu has the Metro UI style.

Step 2:

Click on Troubleshoot.


Step 3:

Click on Advanced options to get into Automatic Repair menu.


Step 4:

We need to use the Bootrec.exe tool. Click on command prompt and type in the following commands, one after the other:

repair master boot record

  • bootrec /RebuildBcd
  • bootrec /fixMbr
  • bootrec /fixboot
  • Exit

Now go ahead and reboot your system. In some cases you may need to run some additional commands.



  • bootsect /nt60 SYS or bootsect /nt60 ALL

It’s wise to backup MBR or create a System Recovery Disk so that in case something like this happens you don’t have to run for the Windows Recovery Disk. To create a system recovery drive in Windows 8, follow these steps:

  • Press Win + R and type in RecoveryDrive.exe


  • Click Next
  • Once you insert the USB drive it will start creating the Recovery for you’re USB drive.

You can also check out this video I created for Windows 7.

I hope you find the article helpful. In case if you have any questions please feel free you post it under our comments section or in our forum.

MBR Backup & HDHacker are two freeware that can help you backup and restore the MBR & Boot Sector.

Posted by on , in Category Windows with Tags
Shyam aka “Captain Jack” is a Microsoft MVP alumnus and a Windows Enthusiast with an interest in Advanced Windows troubleshooting. Suggestions made and opinions expressed by him here are his personal one's and not of his current employers. He blogs at
  • Mas Sergio

    thank you sir. You have saved my surface pro all other sites didn’t recommend the extra options. I am now booting back into Windows 8 pro with out any issues.

  • bsk

    is it possible to recover w8 with w7 installation dvd?

  • Shyam Sasindran

    If you can get up to the command prompt it may work. Since I haven’t tested it i’m not 100% sure,

  • Kent

    umm sorry can i ask something.. my computer was windows 8 and i want to downgrade it to windows 7 and i format the thing at local disk C and when i want to install it said can’t install windows because of the GPT and i can’t even install 8 too… what can i do now?

  • Shyam Sasindran

    You need to convert it GPT. Follow this guide, remember to backup the data before you do.

  • Dummy

    Umm I’ve got a question, one day I was trying to install Ubuntu on my laptop but showed up an installation error, so I decided to uninstall but when I turn on my pc stills giving me an option if I want to start W8 or Ubuntu and i formatted my pc like 3 times and that option still there and that annoys me…. Help? Please?

  • Shyam Sasindran

    If you can boot into Windows then Download Visual BCD Editor and use that you remove Ubuntu from the list.

  • SAID

    Hi,i have a question.I followed the steps and it didnt work,the menu of grub still showing up everytime i turn my laptop on.Also i can’t boot in USB or CD.What can i do??

  • Mike

    same here. doesn’t work for me :-((

  • Dered Emerald

    Thank you so much :) this tutorials just help me out.

  • srinath

    While booting just see there will be few options to change the settings of bios. Like Press “F2″ for bios settings, go inside that and then go to boot manager there you will see the settings, It is not advised for starters to do, because if you mess up something, you need another person to get it right. Anyways try!

  • Void

    The first command is taking ages. 20h alredy. I know having 2x 1TB hdds might be the cause but this is just ridiculous… is it because of the live CD ?

  • Thokozani Symexx

    Sir may i ask can this method also for an external hard drive?if not can you tell me how i can repair the master boot on my external

  • Viking

    This is all very well if one can boot into Windows in order to set any of these fixes or commands. I get my Acer screen, then the blue window panes, then a black screen with a mouse pointer which can be moved, but that is as far as it goes. And being Windows 8, it will not boot into Bios. The only way I found to fix this issue was to put a new hard drive in the laptop and start over. Until my drive testing equipment arrives, I have no way of knowing if the drive was bad, or could have been saved. In addition, Microsoft Store, whom I purchased the Windows 8 from, and who I tried to purchase the backup discs from, does not have the correct address or name for the company who fulfills the backup disc mail outs, who used to be Arvato Digital Services, but have changed their name, address and email to just Arvato. Talk about another Microsoft cluster blank. Phone calls to Microsoft got me transferred seven times before the system hung up on me. Tried this twice.

  • amey

    hello sir
    i have problem with MBR partition table.But Other Drives have an large amount of data which on HDD
    Is it possible to change or recreating MBR that data were lost or not ? Please suggest any idea recover this issue.

  • George

    Does it repair the virus infected mbr as well?

  • joseph kouame

    your a freekin genius man

    thank you so much

  • mika

    Thank you so much!!

  • Nick

    What if this keeps happening several times a week. Any ideas as to what might cause this

  • Recent Comments