O'Reilly logo

Windows Vista Security: Praxisorientierte Sicherheit für Profis by Marcus Nasarek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing the Boot Sector for Hard Disk Partitions
|
793
Managing the Boot Sector for Hard Disk Partitions
The Boot Sector Configurator (Bootsect.exe) is a tool you can use to manage the mas-
ter boot sector on computers running Windows Vista. Before you try to install an
earlier version of Windows on a computer running Windows Vista, you should
familiarize yourself with this tool.
Bootsect is provided as part of the Windows Automated Installation Kit (Windows
AIK), which is available as a free download from the Microsoft Download web site.
Visit http://download.microsoft.com and search for “Windows AIK.”
Using the Boot Sector Configurator
You use Bootsect to modify the master boot code for a designated hard disk partition
so that either Boot Manager or Ntldr is used to boot the operating system. You also
can use Bootsect to restore the boot sector on your computer if it has been corrupted
or accidentally overwritten. This tool replaces FixNTFS.
The hard disk partition that you want to modify is identified using one of the follow-
ing identifiers:
DriverLetter:, where DriveLetter identifies the letter of the drive to modify, fol-
lowed by the colon, such as
C:. The drive letter must be for a connected, boota-
ble volume.
SYS specifies that you want to modify the system partition used to boot Win-
dows Vista.
ALL specifies that you want to modify all partitions that could be used as Win-
dows boot volumes and exclude those that cannot be used as boot volumes.
To create a boot sector for Ntldr and a pre-Windows Vista operating system, you use
the
/nt52 parameter followed by the identifier for the disk partition you want to
modify, such as:
bootsect /nt52 SYS
To create a boot sector for Boot Manager and Windows Vista or later, you use the
/nt60 parameter followed by the identifier for the disk partition you want to mod-
ify, such as:
bootsect /nt60 D:
Bootsect will always try to lock and dismount the partition before updating it. If
Bootsect cannot gain exclusive access to the drive, the drive’s boot sector is modified
the next time the computer is started.
You can attempt to force a partition to dismount using the /force
parameter. However, this causes all open file handles to become
invalid, which may cause programs to lock or fail.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required