How to Fix MBR in Windows XP and Vista

So you can boot your OS

What is the MBR? MBR stands for Master Boot Record and it’s the first sector of your hard drive that basically tells the BIOS where to look for the operating system on your computer.

If, for any reason, the MBR becomes damaged or corrupt, then the operating system will be unable to load. You will normally see error messages like:

These messages are definitely not fun, especially if you are not familiar with computers. Most people would automatically assume their computers are dead! However, that’s not true. Being in IT myself, these errors are actually preferably to other types of Windows errors. Why?

Well, it’s actually fairly easy to fix the Master Boot Record in XP and Vista. All you have to do is load up the Recovery Console and run a simple command. All of your data, applications, settings, etc are still intact on the drive and once the MBR is fixed, the computer will load normally.

Fix MBR in Windows XP

So how can you repair your damaged MBR? Here are the steps to follow:

  1. First, restart your computer with the Windows XP setup disk in the CD drive. If you don’t have your original disk, borrow one or download an ISO image from a torrent site.

  2. When prompted, boot from the CD drive by pressing any key. If Windows loads automatically, you will first have to enter the BIOS setup and change the order of the boot devices to start with the CD drive.

  3. Once the setup loads, you will see the option to pressRto repair a Windows installation.

  4. Once the Recovery Console loads up, you will have to type in a number that corresponds to your Windows installation. This is normally just 1. Press Enter and then type in the Administrator password.

  5. Now at the prompt, type infixmbr. Your damaged MBR will now be replaced with a new master boot record and your computer should now be able to boot properly. Note that you may also want to run thefixbootcommand to repair the boot sector with a new one.

Also, make sure you only use these commands on a system with one operating system installed. If you have more than one operating system installed, fixmbr and fixboot could mess up everything.

Fix MBR in Vista

In Vista, the procedure to fix the master boot record is a bit different. You have to start up Vista in the Recovery Environment and then run thebootreccommand. Here’s how.

  1. First, load up the Windows Vista disc in your drive and press any key to boot from the disc.

  2. Choose the language, time, currency, etc and click Next. Now click onRepair Your Computer.

  3. Choose the operating system to repair and clickNext. When the System Recovery Options dialog comes up, choose theCommand Prompt.

  4. Now typebootrec.exeand press Enter. This will rebuild the boot configuration data and hopefully fix your problem. You can also run the command with switches to fix just the master boot record (/fixmbr), the boot sector (/fixboot), or rebuild the entire BCD (/rebuildbcd).

If you are still having trouble with loading Windows, post a comment and I’ll see if I can help! Enjoy!

Founder of Help Desk Geek and managing editor. He began blogging in 2007 and quit his job in 2010 to blog full-time. He has over 15 years of industry experience in IT and holds several technical certifications.Read Aseem’s Full Bio

Leave a Reply

Your email address will not be published.Required fields are marked*

Comment*

Name*

Email*

Website

Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.

HomeAbout UsEditorial StandardsContact UsTerms of Use

Copyright © 2008-2024 Help Desk Geek.com, LLC All Rights Reserved