View products that this article applies to.
Article ID | : | 291980 |
Last Review | : | January 15, 2006 |
Revision | : | 1.3 |
This article was previously published under Q291980
INTRODUCTION
This article discusses the bootcfg command and its uses.
MORE INFORMATION
The bootcfg command is a Microsoft Windows XP Recovery Console command that manipulates the Boot.ini file. This command has a function that can scan your hard disks for Microsoft Windows NT 4.0, Microsoft Windows 2000, and Windows XP installations, and then add them to an existing Boot.ini file. The function can also rebuild a new Boot.ini file if one does not exist. With the bootcfg command, additional Boot.ini file parameters can be added to existing or new entries.
To use the bootcfg command, start the Recovery Console with the Windows XP CD-ROM, and then click Recovery Console. Or, install the Recovery Console locally, and then select the command from the Boot menu.
The bootcfg command has the following uses:
• | The bootcfg /default command sets the default operating system option in the Boot menu. The command selects the operating system entry automatically. |
• | The bootcfg /add command scans the computer for Windows NT 4.0, Windows 2000, or Windows XP (if it is dual booting) installations, and then displays the results. From this location, you can add an installation to the Boot menu. You may receive a message that is similar to the following message: This process adds a new entry in the Boot menu. When you add an installation, the bootcfg command also makes the installation the default operating system boot entry. |
• | The bootcfg /rebuild command scans the hard disks of the computer for Windows NT 4.0, Windows 2000, or Windows XP installations, and then displays the results. You can add the detected Windows installations. You may receive a message that is similar to the following message: |
• | The bootcfg /scan command scans the hard disks of the computer for Windows NT 4.0, Windows 2000 or Windows XP installations, and then displays the results. You may receive a message that is similar to the following message: |
• | The bootcfg /list command reads the Boot.ini file, and then displays the operating system identifier, the operating system load options, and the operating system location (path). You may receive a message that is similar to the following message: |
• | The bootcfg /redirect command enables redirection in the boot loader with the configuration specified as port and baudrate. This command is used to turn on the Headless Administration feature. The following example uses this command: bootcfg /redirect com1 115200 bootcfg /redirect useBiosSettings |
• | The bootcfg /disableredirect command disables redirection in the boot loader with the configuration specified as port and baudrate. This command is used to turn off the Headless Administration feature. |
You can also modify the Boot.ini file in the Windows XP graphical user interface (GUI):
1. | Click Start, click Control Panel, click Performance and Maintenance, and then click System. |
2. | On the Advanced tab, click Startup and Recovery, and then click Settings. |
3. | Under System Startup, click Edit. |
4. | Save your changes, and then click OK. |
5. | Click Start, click Run, and then type msconfig to start the System Configuration utility. |
6. | Click the Boot.ini tab. |