The Windows XP Recovery Console Bootcfg command can edit or create a boot.ini file. It can scan you hard drives for Windows NT 4.0, Windows 2000 (NT 5.0), and Windows XP (NT 5.1) ,and update boot.ini, or recreate a missing one.

The /add switch scans for all versions of Windows NT and displays the result:

<b>Scanning all disks for Windows Installations
Please wait, since this may take a while...

Total Identified Windows Installs: 2

\[1\] C:\Windows
\[2\] D:\Windows

Select installation to add: (select a number)

Enter Load Identifier: (Custom description for an operating system loading from the Boot menu)
Enter Operating System Load Options: (/fastdetect)</b>
This process adds a new entry, which becomes the default selection.

The /default switch automatically selects a new default selection.

The /rebuild switch is similar to the /add switch:

<b>Scanning all disks for Windows Installations
Please wait, since this may take a while...

Total Identified Windows Installs: 2

\[1\] C:\Windows
Add installation to boot list? (Yes/No/All):
Enter Load Identifier: (Custom description for an operating system loading from the Boot menu)
Enter Operating System Load Options: (that is: /fastdetect)

\[2\] D:\Windows
Add installation to boot list? (Yes/No/All):
Enter Load Identifier: (Custom description for an operating system loading from the Boot menu)
Enter Operating System Load Options: (that is: /fastdetect)</b>
The /scan switch displays:
<b>Scanning all disks for Windows Installations
Please wait, since this may take a while...

Total Identified Windows Installs: 2

\[1\] C:\Windows
\[2\] D:\Windows</b>
The /list switch displays the boot.ini file:
<b>Total entries in boot list: 2

\[1\] Microsoft Windows Whistler Professional
Operating System Load Options: /fastdetect
Operating System Location: D:\Windows

\[2\] Microsoft Windows Whistler Server
Operating System Load Options: /fastdetect
Operating System Location: C:\Windows</b>
The /redirect switch enables redirection in the boot loader for the Headless Administration feature. You might enter:

bootcfg /redirect com1 115200 or
bootcfg /redirect useBiosSettings

To disable the redirection:

bootcfg /disableredirect