The fixmbr command is a Recovery Console command that writes a new master boot record to the hard disk drive that you specify.
Fixmbr Command Syntax
The command takes the following form:
This command is only available from within the Recovery Console in Windows 2000 and Windows XP.
fixmbr device_name
The device_name parameter designates the drive location that a master boot record will be written to. If no device is specified, the master boot record writes to the primary boot drive.
Fixmbr Command Examples
Two examples of the command illustrate its usage.
fixmbr \Device\HardDisk0
In the above example, the master boot record writes to the drive located at \Device\HardDisk0.
fixmbr
In this example, the master boot record writes to the device supporting your operating system. If you have a single installation of Windows installed, which is normally the case, running the command in this way is usually the right way to go.
Related Commands
The bootcfg, fixboot, and diskpart commands are often used with the fixmbr command.
Get the Latest Tech News Delivered Every Day