• Rating:
  • Version:
  • Publisher:
  • File Size: 135.57 KB
  • Date: Feb 28, 2011
  • License: Freeware
  • Category:
    Disk Management
    File & Disk
mbrFix Download
Free Download mbrFix

This free tool to fix or create Master Boot Record (MBR) on harddisks, for instance when using Windows PE. With an x64-edition as well as the 32-bit edition.
Now with experimental support for Windows Vista MBR!
The new version has some new, cool features, like creating DOS boot sectors, changing partition types, etc!

Will perform several Master Boot Record (MBR) tasks, like backing up, restoring, fixing the boot code in the MBR, etc. The utility should not be used for GUID Partition Table (GPT) disks.

Tool to fix or create Master Boot Record (MBR) on hard disks (supports Windows PE). Supported commands: display drive information, drive size in MB as return value, display partition information, save MBR and partitions to file, restore MBR and partitions from file, update MBR code to W2K/XP/2003, delete partitions in MBR, read disk signature from MBR, write disk signature from MBR, generate disk signature in MBR, read state from byte 0x1b0 in MBR, write state to byte 0x1b0 in MBR, get volume information for partition.

MbrFix /drive <num> {/partition <part>} <command> { /yes } { /byte }

The program is made for Windows NT, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7 and Windows PE. Both 32-bit and 64-bit x64 editions are supported.
You need administrative privileges to make it work!
Perform several Master Boot Record (MBR) tasks, like backing up, restoring, fixing the boot code in the MBR, etc. The utility should not be used for GUID Partition Table (GPT) disks. The utility now, by popular demand, also come in a x64-version running unde x64-editions of Windows and PE.

1. MbrFix /drive <num> driveinfo Display drive information
2. MbrFix /drive <num> drivesize Returns drive size in MB as return value
3. MbrFix /drive <num> listpartitions Display partition information
4. MbrFix /drive <num> savembr <file> Save MBR and partitions to file
5. MbrFix /drive <num> restorembr <file> Restore MBR and partitions from file
6. MbrFix /drive <num> fixmbr {/vista|/win7} Update MBR code to W2K/XP/2003, Vista or Win7
7. MbrFix /drive <num> clean Delete all partitions on the selected disk
8. MbrFix /drive <num> readsignature {/byte} Read disk signature from MBR
9. MbrFix /drive <num> writesignature <hex> Write disk signature to MBR
10. MbrFix /drive <num> generatesignature Generate disk signature in MBR
11. MbrFix /drive <num> readstate Read state from byte 0x1b2 in MBR
12. MbrFix /drive <num> writestate <state> Write state to byte 0x1b2 in MBR
13. MbrFix /drive <num> readdrive <startsector> <sectorcount> <file>
14. Save sectors from drive to file
15. MbrFix /drive <num> /partition <part> fixbootsector <os>
16. Update Boot code in boot sector
17. MbrFix /drive <num> /partition <part> getpartitiontype
18. Get partition type
19. MbrFix /drive <num> /partition <part> setpartitiontype <typenum>
20. Set partition type
21. MbrFix /drive <num> /partition <part> setactivepartition
22. Set active partition
23. MbrFix /drive <num> getactivepartition Get active partition
24. MbrFix volumeinformation driveletter Get volume information for partition
25. MbrFix flush {driveletter(s)} Flush files to disk for partition
26. MbrFix listpartitiontypes List partition types

Drive numbering starts on 0.
Partition numbering starts on 1.

Commands restorembr, fixmbr, generatesignature, writestate, clean, setactivepartition and fixbootsector will ask for confirmation unless /yes is included.

If the /byte option is given for the readsignature command, the signature is returned as a byte array instead of as a DWORD. Writesignature requires the new signature to be specified as 8 hex digits.

If /vista is used with the fixmbr command, a Windows Vista MBR is written instead of a Win2000/XP/2003 MBR. The Vista MBR should work with the other OS'es as well.

When fixing boot sector of a chosen partition, the wanted OS version must be specified. For now, the only valid choices are WIN98, DOS5 and DOS6.
The purpose of the fixbootsector command is to insert boot code for loading DOS from a partition created and formatted as FAT using the Windows 2000/XP/2003 tools, since those tools inserts boot code for loading NTLDR.

The program reports an errorlevel as 0 for OK and other values for errors.
The exception to this is the ReadState, GetPartitonType and GetActivePartitions command which returns the state as a return code as well as printing to stdout. Any errors for this command are returned as negative values because of this. The DriveSize command returns the drive size in MB, and 0 in case of error.

You need administrative privileges to make it work!

The license of this software is Freeware, you can free download and free use this disk management software.

More Details:
Related Software: