DISQUS

Tech-Recipes: XP: Repair or fix master boot record using recovery console | Windows installation | Tech-Recipes

  • Stevieboy · 5 years ago
    Just like to say thanks! I installed my slave drive in a friend's Compaq Presario and it wouldn't work. Not only that, when I removed it and reset the jumpers etc as they were, the PC lost it's MBR and wouldn't start up at all...nightmare.

    So after 3 hours of trying all manner of cable configurations, jumper settings and BIOS options I logged on my own PC and looked for help andthis is the first page that I clicked on.

    I followed all steps above, (Luckily there wasn't an administrator's password as he didn't know it anyway,) and viola! PC back to normal. Thanks for the help, it saved me a lot more embarrassment!
  • Anonymous · 5 years ago
    this was great advice i really appreciate it and it really helped me alot and i would just like to thank u
  • Precision Drilling Intern · 5 years ago
    <ul id="quote"><h6>Stevieboy wrote:</h6>Just like to say thanks! I installed my slave drive in a friend's Compaq Presario and it wouldn't work. Not only that, when I removed it and reset the jumpers etc as they were, the PC lost it's MBR and wouldn't start up at all...nightmare.

    So after 3 hours of trying all manner of cable configurations, jumper settings and BIOS options I logged on my own PC and looked for help andthis is the first page that I clicked on.

    I followed all steps above, (Luckily there wasn't an administrator's password as he didn't know it anyway,) and viola! PC back to normal. Thanks for the help, it saved me a lot more embarrassment!</ul>
  • Guest · 4 years ago
    Your advice worked. Thanks.
  • Anonymous · 4 years ago
    Thanks a million love ya
  • drneo · 4 years ago
    I attempted to install Yoper linux today and it rewote my MBR. Afterwards I wanted to boot back into windows but didn't have any luck. I've tried Win 2000, Win XP, trying to use the "fixmbr" and "fixboot" methods. I've tried to format the whole hard drive and also tried to make several partitions. None of these methods worked, I fear that I may have to install another hard drive just to put the masterboot record on it along with windows. Any suggestions?
  • SEARCHY4 · 5 days ago
    you do know that format basicly means erase.so you erased your whole drive and everything on it.you lost it all.only thing to do now is re install windows.sorry for the bad news
  • destrie · 4 years ago
    does fixmbr work on SP2???
    I created password after installation but recovery console does not recognize it!! what now??
  • obernhardt · 9 months ago
    I booted from a second HD with recovery console, enter his recovery console and used fixmbr from here
  • Dale L. · 3 months ago
    Automatic logon

    You can enable automatic logon to the Recovery Console. Run regedit from the Run command and go to this registry key: by default, the level is set to "0" - simply change it to "1" and you will never be prompted for the administrator password...

    HKEY_LOCAL_MACHINE\SOFTWARE\
    Microsoft\Windows NT\CurrentVersion\
    Setup\RecoveryConsole
    SecurityLevel
    DWORD = 1
  • halasz · 4 years ago
    <ul id="quote"><h6>drneo wrote:</h6>I attempted to install Yoper linux today and it rewote my MBR. Afterwards I wanted to boot back into windows but didn't have any luck. I've tried Win 2000, Win XP, trying to use the "fixmbr" and "fixboot" methods. I've tried to format the whole hard drive and also tried to make several partitions. None of these methods worked, I fear that I may have to install another hard drive just to put the masterboot record on it along with windows. Any suggestions?</ul>
    I found that formating c: drive is not enought. Delete that prtition and create it again then format. good luck
  • Anonymous · 4 years ago
    I installed SP2 and added later password for administrator. Now I can boot with the new password. HOWEVER when booting from XP CD and trying to get into repair console I am asked for the password. I enter administrator password but it is rejected as wrong password. Can you help????
  • Anonymous · 4 years ago
    <ul id="quote"><h6>Anonymous wrote:</h6>I installed SP2 and added later password for administrator. Now I can boot with the new password. HOWEVER when booting from XP CD and trying to get into repair console I am asked for the password. I enter administrator password but it is rejected as wrong password. Can you help????</ul>

    use winternals admin pak boot disk (erd commander) to reset your admin pass :P
  • Dexter-V · 3 years ago
    Could you please tell me how to fix my problem. i have 3 hdd's
    the first is 20gb with xp on it. the second is 160gb and it is divided in four partitions. i have xp on one of the partitions and the master boot record of this drive is corrupted- one of the partitions is not recognised(not the one with the xp). I've tried the fixmbr command but i don't know how to say which mbr it should repair. not typing anything doesn't work. please help... :(
  • Anonymous · 3 years ago
    I need help trying to repair XP Home Edition on a hard drive removed from a Compaq box and physically transferred to an IBM clone box. The Compaq's motherboard went South on us, and when we try to execute the repair mode of XP, so it may recognize the new processor, it is asking for an administrator password. The new BIOS does not have any password setup, so I assume that Compaq must have set up a password on the hard drive when recovery is needed.

    How can I bypass the administrator's password request? I have seen e-mails floating about this scenario but I have not seen any procedures listed. Unless I am in the wrong section of this web site.

    Thanks for any help you can provide me.

    Chief
  • davak · 3 years ago
    Boot to a CD-ROM with a tool that has a administrator password recovery program on it.

    This recipe explains how to recover the admin password using this method.
  • Anonymous · 3 years ago
    <ul id="quote"><h6>Dexter-V wrote:</h6>Could you please tell me how to fix my problem. i have 3 hdd's
    the first is 20gb with xp on it. the second is 160gb and it is divided in four partitions. i have xp on one of the partitions and the master boot record of this drive is corrupted- one of the partitions is not recognised(not the one with the xp). I've tried the fixmbr command but i don't know how to say which mbr it should repair. not typing anything doesn't work. please help... :(</ul>

    The command fixmbr
    fixes only the master boot code.
    IN your case, there is no problem with this code.
    What you need to fix is the partition table information part of the mater boot record (MBR). There is only one MBR per hard disk.
    If you have already saved master boot record, use NT4 resource utility DiskSave.exe, or free savepart.exe utility (http://www.partition-saving.com). If you had not bothered to do that, which is often the case, as it had happeded to me, use another free utility testdisk 6.1. Create a boot diskdisc with it, and run the program. The program comes with good documentation.
    From the corrupted partion table, I managed to recover even Linux partitions along with fat32, and ntfs partitions. But before doing that I suggest you backup all important personal, downloaded, developed files you have all other partions that you can access now. So, you will not lose every thing if something goes wrong. To do this kind of recovery operations, a CDRW or DVD-RW is very useful.

    If you do not have Linux partions, and if you already have Norton Utilities (NDD.exe) on a Emergency disk/disc, that will also do automatic fixing of partition tables. NDD.exe runs only in pure DOS mode.

    I hope this helps.

    Ganesh
  • Anonymous · 3 years ago
    <ul id="quote"><h6>Chief wrote:</h6>I need help trying to repair XP Home Edition on a hard drive removed from a Compaq box and physically transferred to an IBM clone box. The Compaq's motherboard went South on us, and when we try to execute the repair mode of XP, so it may recognize the new processor, it is asking for an administrator password. The new BIOS does not have any password setup, so I assume that Compaq must have set up a password on the hard drive when recovery is needed.

    How can I bypass the administrator's password request? I have seen e-mails floating about this scenario but I have not seen any procedures listed. Unless I am in the wrong section of this web site.

    Thanks for any help you can provide me.

    Chief</ul>
    <span style="text-decoration:underline">Quickest method:</span>

    I am not quite sure what exactly is the problem. But, this may be a possible solution to it.

    If you have access to another hardisk with OS that is working with the working motherboard, set it as master, and the inaccessible one slave. If you can now access partitions on your problematic hard disk, backup all your files, and reformat it. Take out the other hard disk, restore the jumper setting on the concerned hard disk, and reinstall the OS.
    Depending on how much you have to backup, it can take from 2 hrs to a day.

    Good luck, Ganesh
  • Anonymous · 3 years ago
    <ul id="quote">ust like to say thanks! I installed my slave drive in a friend's Compaq Presario and it wouldn't work. Not only that, when I removed it and reset the jumpers etc as they were, the PC lost it's MBR and wouldn't start up at all...nightmare.</ul>

    There are ways to rebuild your MBR

    Rebuilding the MBR

    Using the Fixed Disk Editor in Micro-Scope, locate and read Cylinder 0, Head 0, Sector 1. This should be the location of the corrupt Master Boot Record. Press "M" to modify the sector and enter 0's for the entire sector, effectively wiping all the data from this sector. Press ESC, then "W" to write the data, and "Y" to confirm the write operation. Then exit the Fixed Disk Editor and select the Rebuild Master Boot Record menu option. Press "Y" to confirm this operation. The fixed drive now has a completely corruption-free MBR.

    Second way is to use some data recovery software. It will not build your MBR but at least you will get back all your data.
    I would suggest you Stellar Phoenix FAT & NTFS. Try the demo version to see what data you can get back. Download the demo from here
    Demo will show you the recovered data.
  • mbnosera · 1 year ago
    Doesn't work. Neither does the fixboot command using the same procedure. Receive only a flashing cursor, with no other functions. Actually, whenever I press a key I get a "beep." My XP boot discs, made as soon as I had the OS operational, are as useless as anything the brain dead programmers at M$ have ever thought of. Don't know what to do about any of it now.
  • kujirasan · 1 year ago
    I tried the procedure outlined, however,I have no administrative pass word, I never bothered with it as it becomes a nuisance , so I could not proceed, is there any way to get around it?
    Thanking you
  • harryg · 1 year ago
    its a good presentation can you add more stuff on this tutorial.
    infact it has helped me to fix computers with this related problem.

    from malawi city of mzuzu
  • Ryan · 1 year ago
    so this deletes all of the filees off the computer?
    and also does it delete windows xp itself?
  • Chucheria · 1 year ago
    Thank you so much :_)
  • icemanx · 1 year ago
    what about when its a spare drive no Operating system and you just want to retrieve the contents of a drive
    and NO I dont want to FORMAT IT
  • paulgmw · 11 months ago
    i need help!!! i have a compaq pent.4 and a blue screen appeared on my screen with this message: "Bootblock Emergency recovery mode.
    The system flash rom image may be corrupted or the escape key was pressed during power on. If the ESC key was accidentally pressed please reboot the system

    Enter the Administrator password now." Please help as I don't have administrator password and i can't reboot as there is only an on/off button. Looking forward to your assistance. paulgmw@bigpond.com
  • shaik · 11 months ago
    dual os winxp and rhel4 how to installation guide me
  • STR · 11 months ago
    This didn“t solve my problem.

    My HDD is still dead
  • obernhardt · 9 months ago
    I recovered all my data from an inaccessible disk to chkdsk, fixmbr or fixboot with the free testdisk from sourceforge, win version, PC option. Booted from a second hard disk.
  • Appo Apodaca · 10 months ago
    Using Windows XP, I used your suggestion but it did not work. I tried the fixboot command and it did take. And I did receive a message that it had been fix, Then I typed in Exit and it rebooted.
    But Now it is just sitting there with the white tracks at the bottom of the screen and has only advanced about twenty bars, so now it is just forzen at those bars.
  • Appo Apodaca · 10 months ago
    Did you get my comments.
  • narender · 10 months ago
    what type of risk in fixmbr command
  • counsel · 10 months ago
    what if you can't remember the administrative password since it is so old.....
  • Ludo · 9 months ago
    Use "ERD Wincommander" to set a new admin password. Download the program, burn it as a bootable disc on a CD (.iso) and start your PC with it. After starting, you have an option to change your admin password.
  • dalam · 9 months ago
    How to Check the master boot code of hard disk.
  • dude · 9 months ago
    superb solution...thx
  • David McGee · 8 months ago
    I had to do a low level format of my hard drive to remove partions so that I could copy an image from one identical PC to the other (ie original PC no longer had partitions).

    I have made the new image with Driveimage XML and with Ghost, but the new hard drive still will not boot. All of the files appear to be intact on the copies including system files.

    I have tried both fixmbr and fixboot with no luck. I see format/s or sys dos commands are no longer available under XP.

    What else can I do?
  • Michael N. · 6 months ago
    Great... if you have an XP disc. Nobody provides those with PCs anymore.
  • WebMax · 5 months ago
    I've used the recovery console lot's of time, it's an excellent in-built tool. If you don't know any commands just type in HELP and a list of them will pop up.
  • softwaregadgets · 4 months ago
    what should i do if i don't even have any bootable window xp cd ? is there any recommended tools which can fix it [ mbr,boot file ] properly ?
    thanks in advance
  • andrew · 4 months ago
    THanks.
    Your method applies to the assumption that installation is on Drive C:

    What if the failed drive is another drive, or second or third hard drive attached to the computer through USB hub. Will there be an option to select the damaged drive?
  • rafkid · 3 months ago
    thanks - worked a treat- quick and simple
  • shobhit_goel10 · 1 month ago
    can fixmbr make one lose ALL data on a hard drive??
  • stephenjeck · 1 month ago
    What if it doesn't recognize the CD ROM drive as a boot drive even though thte BIOs is set to read it first????
  • rg3fb · 1 month ago
    Hi. i have a secondary sata hard disk, which don't have xp on it, with huge of important files on it but it doesn't appear on my computer. when i look in device manager i found it an dit says that the device is working properly. when i go to "volumes' and i click on populate, the device 'type' has been change from "basic" to "dynamic" and its "status" has also been change from "online" to "foreign". its "capacity" , "unallocated space" and " reserved space" are 0mb. could someone help me to resolve this problem.
  • Luis · 1 week ago
    Thank you, thank you, thank you.

    Your instructions worked like a charm. Flawlessly.

    I installed Ubuntu 9.04 on a flash drive because I didn't want it to mess up my hard drives and it never occurred to me that it would change the MBR anyway. Live and learn.