bootsect.exe

Associated Error Codes

Below lists error codes and symbolic names found for this module.

CodeFound inDescription
0x10001011bootsect {/help|/nt60|/nt52} {SYS|ALL|:} [/force] [/mbr] Boot sector restoration tool Bootsect.exe updates the master boot code for hard disk partitions in order to switch between BOOTMGR and NTLDR. You can use this tool to restore the boot sector on your computer. /help Displays these usage instructions. /nt52 Applies the master boot code that is compatible with NTLDR to SYS, ALL, or . The operating system installed on SYS, ALL, or must be older than Windows Vista. /nt60 Applies the master boot code that is compatible with BOOTMGR to SYS, ALL, or . The operating system installed on SYS, ALL, or must be Windows Vista, Windows Server 2008 or later. SYS Updates the master boot code on the system partition used to boot Windows. ALL Updates the master boot code on all partitions. ALL does not necessarily update the boot code for each volume. Instead, this option updates the boot code on volumes that could be used as Windows boot volumes, which excludes any dynamic volumes that are not connected with an underlying disk partition. This restriction is present because boot code must be located at the beginning of a disk partition. Updates the master boot code on the volume associated with this drive letter. Boot code will not be updated if either 1) is not associated with a volume or 2) is associated with a volume not connected to an underlying disk partition. /force Forcibly dismounts the volume(s) during the boot code update. You should use this option with caution. If Bootsect.exe cannot gain exclusive volume access then the file system may overwrite the boot code before the next reboot. Bootsect.exe always attempts to lock and dismount the volume before each update. When /force is specified, a forced dismount is attempted if the initial lock attempt fails. A lock can fail, for example, if files on the target volume are currently opened by other programs. When successful, a forced dismount allows exclusive volume access and a reliable boot code update even though the initial lock failed. At the same time, a forced dismount invalidates all open handles to files on the target volume. This could result in unexpected behavior from the programs that opened these files. Therefore, you should use this option with caution. /mbr Updates the Master Boot Record 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 is compatible with operating systems older than Windows Vista. When used with the /nt60 option, the master boot record is compatible with Windows Vista, Windows Server 2008 or later. Example: To apply the master boot code that is compatible with NTLDR to the volume labeled E:, use the following command: bootsect /nt52 E:
0x10011011An error or status message could not be displayed due to an internal error.
0x10021011The program is out of memory.
0x10041011Could not map DOS drive letters to the associated volume device objects:
0x10051011Could not map drive partitions to the associated volume device objects:
0x10061011The system partition was not found:
0x10071011Could not map the system partition to an associated volume device object:
0x10081011Internal error: target drive letter is malformed.
0x10091011Could not map drive %1!c!: to an associated volume device object.
0x100a1011Drive %1!c!: maps to volume %2!s!. This volume does not appear to connect to any disk partitions. Volume bootcode is always unused in the absence of associated partitions.
0x100b1011No bootcode was successfully updated.
0x100c1011Bootcode was successfully updated on at least one volume.
0x100d1011Bootcode was successfully updated on all targeted volumes.
0x100e1011Target volumes will be updated with BOOTMGR compatible bootcode.
0x100f1011Target volumes will be updated with NTLDR compatible bootcode.
0x10101011Could not enumerate top level volume device object symbolic links:
0x10111011%1!s! (%2!s!)
0x10121011%1!s!
0x10131011Could not open the volume device:
0x10141011Could not construct a path to the volume root directory:
0x10151011Could not open the volume root directory:
0x10161011Could not retrieve volume filesystem properties:
0x10171011Bootcode is only available for FAT, FAT32, and NTFS volumes. A different filesystem appears to be in use on this volume.
0x10181011Could not allocate the transfer buffer required to write bootcode to this volume.
0x10191011Could not move the volume file pointer to the bootcode location:
0x101a1011Could not read the existing bootcode from this volume:
0x101b1011Could not write new bootcode to this volume:
0x101c1011Successfully updated %1!s! filesystem bootcode.
0x101d1011
0x101e1011Forced dismount complete, open handles to this volume are now invalid.
0x101f1011Updated %1!s! filesystem bootcode. The update may be unreliable since the volume could not be locked during the update:
0x10201011Updated %1!s! filesystem bootcode. The update may be unreliable since the volume could not be dismounted during the update:
0x10211011bootsect {/help|/nt60|/nt52} {SYS|ALL|:} [/force] [/mbr] Boot sector restoration tool Bootsect.exe updates the master boot code for hard disk partitions in order to switch between BOOTMGR and NTLDR. You can use this tool to restore the boot sector on your computer. Run "bootsect /help" for detailed usage instructions.
0x10221011Internal error: assertion failed. File %1!S!, line %2!d!.
0x10801011The system disk was not found:
0x10811011Could not prepare the system disk for update:
0x10821011Could not prepare disk(s) for update:
0x10831011%1!s!
0x10841011Bootcode is only updated on MBR partitioned disks. A different partitioning scheme is used on this disk.
0x10851011Could not allocate the transfer buffer required to write bootcode to this disk.
0x10861011Could not open the disk device:
0x10871011Could not move the disk file pointer to the bootcode location:
0x10881011Could not read the existing bootcode from this disk:
0x10891011Could not write new bootcode to this disk:
0x108a1011Successfully updated disk bootcode.
0x108b1011FAT32 filesystem bootcode is only supported on hardware with 512 byte sector sizes.
0x108c1011exFAT filesystem bootcode is not supported in this version.
47 entries