Microsoft DOS bootcfg command

Quick links

About bootcfg
Availability
Syntax
Examples

About bootcfg

The bootcfg command is a recovery console command that enables a user to rebuild, view, and otherwise make changes to the boot.ini file.

Availability

The bootcfg command is a recovery console command that is available in the below Microsoft operating systems.

Windows XP
Windows Vista
Windows 7

Syntax

Use the BOOTCFG command for boot configuration and recovery

BOOTCFG /ADD
BOOTCFG /REBUILD
BOOTCFG /SCAN
BOOTCFG /LIST
BOOTCFG /DISABLE
BOOTCFG /REDIRECT [PORT BAUDRATE] | [useBiosSettings]

/SCAN Scan all disks for Windows installations and display the results.
/ADD Add a Windows installation to the boot list.
/REBUILD Iterate through all Windows installations and allow the user to choose which to add.
/DEFAULT Set the default boot entry.
/LIST List the entries already in the boot list.
/DISABLEREDIRECT Disable redirection in the boot loader.
/REDIRECT Enable redirection in the boot loader with the specified configuration.

Example:
bootcfg /redirect com1 115200
bootcfg /redirect useBiosSettings

Examples

bootcfg /rebuild

The above example would start the step-through for the creation of a new boot.ini on the computer.

Additional information