How do I replace orginal MBR in Win 7?

mbmalone

New member
Local time
8:54 AM
Messages
16
It appears they have changed things from the old way, which worked fine. :cry:
 

My Computer

OS
Windows 7
Hi,

What are you trying to do exactly?

What error makes you want to replace the mbr , and what have you tried that hasn't worked?
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
I've been messing with dual boot setups. I know how to do it, but I was trying to do it the easiest way possible. It used to be you could just boot with the original CD and choose repair, but it doesn't seem to work anymore. I heard they changed things with Win7 to make it more difficult.
 

My Computer

OS
Windows 7
I've been messing with dual boot setups. I know how to do it, but I was trying to do it the easiest way possible. It used to be you could just boot with the original CD and choose repair, but it doesn't seem to work anymore. I heard they changed things with Win7 to make it more difficult.
First of all, you wrote:
How do I replace orginal MBR in Win 7?

I'm assuming what you mean is:
How do I restore the original (XP) MBR, using Win 7?

If you know what you're doing, and you're referring to Win XP (only), not Vista/W7
try this (The "manual" way):
Last worked OK for me with Build 7201.

Boot from your install DVD to get Win7 code running.
At: English_US keyboard, click 'Next'...

Hit: Shift F10 to get an Admin Command Prompt.
( Now you have to find out the 'letter' of your DVD: )
type: diskpart
then: list volume -- Note the letter of DVD (D:?) and boot HDD (C:?)
type: EXIT to get out of 'diskpart' and back to the cmd prompt.

type: D: (? for your DVD letter)

type: CD boot
type: bootsect /nt52 C: /mbr (C:? for your boot HDD)...
--- He should say "Success" ---

type: EXIT to get out of 'Command Prompt' and back to Win7 Setup.

That ought to do it. Cancel out of Setup, reboot and you're home.
-----------------------

Bootsect.exe updates the master boot code (BS) for hard disk partitions
in order to switch between BOOTMGR and NTLDR.
You can use this tool to restore the Boot_Sector (BS) on your computer.

/nt52 Applies the master boot code (BS) that is *compatible* with NTLDR to SYS,
ALL, or <DriveLetter>. The operating system installed on SYS, ALL, or
<DriveLetter> must be older than Windows Vista.

/mbr Updates the Master Boot Record (MBR) without changing the Partition_table
on sector 0 of the disk that contains the partition specified by SYS, ALL,
or drive letter.

When used with /nt52 option, the Master Boot Record (MBR)
is *compatible* with operating systems older (XP) than Windows Vista.

When used with the /nt60 option, the Master Boot Record (MBR) is
*compatible* with Windows Vista, Windows Server 2008 or later.
 
Last edited:

My Computer

Computer Manufacturer/Model Number
Gateway GT5056
OS
XP_Pro, W7_7201, W7RC.vhd, SciLinux5.3, Fedora12, Fedora9_2x, OpenSolaris_09-06
CPU
AMD 64x2
Motherboard
Yes
Memory
1 gig
Graphics Card(s)
Dunno
Sound Card
Realtek something
Monitor(s) Displays
Samsung SyncMaster 940MW w/TV
Screen Resolution
1280x1024
Hard Drives
250 GB WD, USB Seagate Freedesk 1.5 T
Internet Speed
Cable modem
Other Info
1 + 1 = 10b,
7 + 7 = 16o,
a + b = 15h.
Hi,

What are you trying to do exactly?

What error makes you want to replace the mbr , and what have you tried that hasn't worked?

The MBR could be infected by viruses and other malware to cause corruption with in the file which, in turn, causes your computer to stop booting correctly even though the installation of the OS is correct. To answer your second question, the MBR can not be replaced by the user within the desktop. You will get an 'Access Denied' when trying to replace it with a working one. I have tried all of this when trying to restore a friend's computer without doing a system restore. BUT, if you insert the install disk for the OS on the drive (without booting from the disk), the computer will automatically use the correct MBR on the disk (unless it to is corrupted) and then boot to the installed OS on the drive. I hope this helps you as well as others reading in to this! :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 8.1
CPU
Intel i7 4790K 4.0GHz
Motherboard
Asus Maximus VI Formula
Memory
32 GB
Graphics Card(s)
EVGA
Sound Card
On-Board Audio
Monitor(s) Displays
HP Pavilion 23xi
Screen Resolution
1920 x 1200
Hard Drives
1x 500GB SSD
1x 3TB HHDD
4x 1TB in 1+0 RAID
PSU
750W
Case
Antec
Cooling
4 Fans + Liquid Cooling System
Keyboard
Razer Black Widow Ultimate
Mouse
Logitech G700
Internet Speed
23 MB/s
Antivirus
Avast! Antivirus
Browser
Google Chrome
It is possible to overwrite the MBR from within Windows, but if you are infected with a rootkit, you can never know for sure, if it just makes you believe that you have overwritten it.
 

My Computer

OS
Windows
I'm not that knowledgeable in malware protection. But a "virus" or a dual boot (linux) configuration can play around with your MBR. Basically the MBR contains the boot code the BIOS hands off to and the HDD's partition table.

You can try the following:
Option 1-
Boot a system repair CD (you make from "Backup & Restore") and run the automatic repair function up to 3 times.
Option 2-
Boot a system repair CD and go to the command prompt option and type
>diskpart
>bootrec /fixmbr
..........you can try stopping here and see if your problem is fixed or continue with
>bootrec /fixboot
>bootrec /rebuildbcd
>exit
then
Reboot

This sequence of operations rebuilds your full boot sequence for Windows 7.

When thing are running smoothly I suggest you backup your MBR with this little utility. You can then manually replace it if either your MBR boot code gets infected or your partition table gets damaged.
MBR Backup - Back up your Master Boot Record (Freeware)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build
OS
Windows 7x64 Home Premium SP1
CPU
Intel i7 2600k
Motherboard
ASUS P8Z68 Deluxe
Memory
G.Skill Ripjaws (DDR3-1600) 2x4GB
Graphics Card(s)
Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+)
Monitor(s) Displays
Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro SSD 256GB, Samsung SSD 840 120GB, Seagates 1TB Barracuda ST31000528AS x2
PSU
Seasonic M12II 520W
Case
Lian Li Lancool PC-K60
Cooling
Case: 1x120mm, 3x140mm CPU: Hyper 212+
Keyboard
Logitech MK520 (wireless)
Mouse
Logitech MK520
Internet Speed
6-7 Mbps
Antivirus
Norton Security Premium, Malwarebytes on 2 (MSE on 3rd PC)
Browser
FireFox
Other Info
Audio: Logitech Z523 2.1
Huh?

How does that answer why the op thought his particular issue was due to a problem with the disk code.

People often assume any boot problems are caused by damage to the mbr.

While it is not impossible, it is unlikely.

Most boot problems are caused further down the chain.

Hi,

What are you trying to do exactly?

What error makes you want to replace the mbr , and what have you tried that hasn't worked?

The MBR could be infected by viruses and other malware to cause corruption with in the file which, in turn, causes your computer to stop booting correctly even though the installation of the OS is correct. To answer your second question, the MBR can not be replaced by the user within the desktop. You will get an 'Access Denied' when trying to replace it with a working one. I have tried all of this when trying to restore a friend's computer without doing a system restore. BUT, if you insert the install disk for the OS on the drive (without booting from the disk), the computer will automatically use the correct MBR on the disk (unless it to is corrupted) and then boot to the installed OS on the drive. I hope this helps you as well as others reading in to this! :)
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
I'm not sure you is responding to whom.
The original post was in 2009!!
I was following up based on curtanhome resurrecting it and others may now stumble on the thread.
I attempted to answer the old original OP question
"How do I replace orginal MBR in Win 7?"
and what to do if the problem is further down the boot chain.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build
OS
Windows 7x64 Home Premium SP1
CPU
Intel i7 2600k
Motherboard
ASUS P8Z68 Deluxe
Memory
G.Skill Ripjaws (DDR3-1600) 2x4GB
Graphics Card(s)
Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+)
Monitor(s) Displays
Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro SSD 256GB, Samsung SSD 840 120GB, Seagates 1TB Barracuda ST31000528AS x2
PSU
Seasonic M12II 520W
Case
Lian Li Lancool PC-K60
Cooling
Case: 1x120mm, 3x140mm CPU: Hyper 212+
Keyboard
Logitech MK520 (wireless)
Mouse
Logitech MK520
Internet Speed
6-7 Mbps
Antivirus
Norton Security Premium, Malwarebytes on 2 (MSE on 3rd PC)
Browser
FireFox
Other Info
Audio: Logitech Z523 2.1
The automated method was given as my option 1. From first hand personal experience the automated system repair does not always work. If your problem is related to the boot sequence the bootrec command was introduced in Vista then Windows 7 specifically to address these issues. I have found this to work when the automated repair did not - just sharing my experience.

I think bootsect is focused on the NTLDR boot loader and more applicable to XP or XP dual boot environments.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build
OS
Windows 7x64 Home Premium SP1
CPU
Intel i7 2600k
Motherboard
ASUS P8Z68 Deluxe
Memory
G.Skill Ripjaws (DDR3-1600) 2x4GB
Graphics Card(s)
Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+)
Monitor(s) Displays
Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro SSD 256GB, Samsung SSD 840 120GB, Seagates 1TB Barracuda ST31000528AS x2
PSU
Seasonic M12II 520W
Case
Lian Li Lancool PC-K60
Cooling
Case: 1x120mm, 3x140mm CPU: Hyper 212+
Keyboard
Logitech MK520 (wireless)
Mouse
Logitech MK520
Internet Speed
6-7 Mbps
Antivirus
Norton Security Premium, Malwarebytes on 2 (MSE on 3rd PC)
Browser
FireFox
Other Info
Audio: Logitech Z523 2.1
Yes, mj - this is bizarre.

Curtranhome resurrected the thread - I have no idea why - his response appeared to be to me - he clearly had misunderstood my post from way back .
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
SIW2
Yes whatever the reason for resurrecting it I thought it was a problem people still come across. You asked for more info to a vague original question - so would have I.
I just added a bit to maybe help newcomers with related problems.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build
OS
Windows 7x64 Home Premium SP1
CPU
Intel i7 2600k
Motherboard
ASUS P8Z68 Deluxe
Memory
G.Skill Ripjaws (DDR3-1600) 2x4GB
Graphics Card(s)
Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+)
Monitor(s) Displays
Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro SSD 256GB, Samsung SSD 840 120GB, Seagates 1TB Barracuda ST31000528AS x2
PSU
Seasonic M12II 520W
Case
Lian Li Lancool PC-K60
Cooling
Case: 1x120mm, 3x140mm CPU: Hyper 212+
Keyboard
Logitech MK520 (wireless)
Mouse
Logitech MK520
Internet Speed
6-7 Mbps
Antivirus
Norton Security Premium, Malwarebytes on 2 (MSE on 3rd PC)
Browser
FireFox
Other Info
Audio: Logitech Z523 2.1
Back
Top