Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to fix MBR through command prompt?


21 Jul 2009   #1

Windows 7 RC 7100
 
 
How to fix MBR through command prompt?

Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?

My System SpecsSystem Spec
.

21 Jul 2009   #2

Windows 7 x64 rtm
 
 

These were commands used for vista, but should still hold true for Windows 7. I've just never needed to use them yet......knock on wood

after selecting repair>cmd prompt, enter:
BootRec.exe /fixmbr

you can also substitue the /fixmbr with thes commands:

/FixBoot
. Writes a boot sector onto the system partition to start Windows

/ScanOs
. Scans all disks for Windows installations and displays them to you.

/RebuildBcd
. Scans all disks for Windows installations and prompts you to pick the ones you want to add to the BCD.

information   Information

Also checkout the Seven Forums Tutorials:-
My System SpecsSystem Spec
21 Jul 2009   #3

Vista Ultimate 64bit
 
 

billdo - I installed RC1 on my H drive. C drive is Vista. While booted in Windows 7 can I use the /FixBoot command to make the H drive bootable? I think now the systems starts up on the C drive and then gives the choice to start Vista or Windows 7 - Advice appreciated - IM
My System SpecsSystem Spec
.


21 Jul 2009   #4

Windows 7 x64 rtm
 
 

No don't do that, the commands above should only be used as last resort to repair system.It's best to let your primary active system drive take care of all boot options, which in your case is C: Trying to make drive H active and bootable may have(will) cause severe problems.

If you wish to boot quicker into Windows7 you can change your default OS and boot menu delay in msconfig.

Go to Start>Run and type msconfig
click on the boot option and you will be able to choose default os to start and menu delay.

You can always set the boot menu delay to 0 to boot directly into your default OS and then use F8 or F5(varies different motherbaords)during post to select OS to boot.

If you want the boot menu to show with shorter delay(default 30sec)be sure to add a couple of extra secs to delay.If you choose a delay of 5sec you may only get 3-4sec.
My System SpecsSystem Spec
21 Jul 2009   #5

Vista Ultimate 64bit
 
 

billdo - After changing the boot drive to H from C, can I remove my C drive, and change H to C? Hey, I really appreciate your help :-) - IM
My System SpecsSystem Spec
21 Jul 2009   #6

Windows 7 x64 rtm
 
 

I wouldn't advise it. You are going to have a lot of confused programs not knowing why their data is no longer on H
My System SpecsSystem Spec
21 Jul 2009   #7

Windows® 8 Pro (64-bit)
 
 

Or you could've just tried bootrec /fixboot and bootrec /fixmbr.
My System SpecsSystem Spec
25 Jul 2009   #8

Windows 7 RC 7100
 
 

Quote   Quote: Originally Posted by dinesh View Post
Or you could've just tried bootrec /fixboot and bootrec /fixmbr.
Okay tried all that. The bootrec /ScanOS sees the OS but with I enter bootrec /RebuildBCD it (Y)yes it says "Element not found."

What now?
My System SpecsSystem Spec
25 Jul 2009   #9

Windows® 8 Pro (64-bit)
 
 

Quote   Quote: Originally Posted by justinstrack View Post
Okay tried all that. The bootrec /ScanOS sees the OS but with I enter bootrec /RebuildBCD it (Y)yes it says "Element not found."

What now?
try bootrec /fixboot
fingers crossed.
My System SpecsSystem Spec
25 Jul 2009   #10

Win 7 Ultimate 32bit
 
 

Just a little warning to those who may not know....

Playing with the MBR is a risky thing.
If you don't know how to recover data and haven't done/or don't know how to do a backup.
Then you shouldn't be messing with the MBR at all.

Simply running /fixmbr can and has corrupted it for me several times in the past.
This is not something that a simple windows repair can usually fix, usually.
My System SpecsSystem Spec
Reply

 How to fix MBR through command prompt?




Thread Tools



Similar help and support threads for2: How to fix MBR through command prompt?
Thread Forum
Command Prompt Tutorials
Help needed executing command prompt command General Discussion
command prompt General Discussion
Run administrative command prompt from command prompt General Discussion
Solved Command Prompt General Discussion
command prompt bug ? General Discussion
Command Prompt command <ipconfig> not working Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:36 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33