BOOTCFG is a command-line utility for examining and modifying a Windows 2000 / XP / 2003 system's BOOT.INI file. Two versions of BOOTCFG exist: one that is invoked from the command line within Windows itself, and another which is invoked in the Recovery Console (not discussed here).

Typing BOOTCFG by itself produces a report of all the BOOT.INI entries and their settings currently available. Each operating system entry is given an ID number for easy reference, starting from 1. BOOTCFG is not installed by default in Windows XP Home, but the BOOTCFG.EXE can be copied to a Windows XP Home installation and will work transparently. The Windows XP / 2003 version of BOOTCFG cannot run in Windows 2000, but it can be invoked from the Windows 2000 Recovery Console (albeit with a slightly different set of commands).

Making changes to the various entries is done through the use of command-line switches, and contextual examples of each command can be brought up by typing BOOTCFG <command> /?

/ADDSW: Adds switches to a particular OS entry. /MM <value> sets the /maxmem switch; /BV adds /basevideo; /SO adds the /sos switch; and /NG is for the /noguiboot option.

/COPY: Copies an existing boot entry for editing.

/DBG1394: Sets 1934 (Firewire) port debugging options for a given OS. /CH set the channel number (1-64) for the remote device.

/DEBUG: Same as /EMS, but the /PORT and /BAUD commands are used for setting up a remote debugger.

/DEFAULT: Changes the default boot menu entry.

/DELETE: Deletes an entry (as specified by the entry's ID number).

/EMS: Configures the /REDIRECT boot-entry switch to set remote control options through a COM port for a particular OS entry. /REDIRECT takes the options /PORT (COM1-COM4) and /BAUD (9600, 19200, 57600, 115200).

/RAW: Allows switch options to be edited directly for a given OS entry. Use the /A switch to append to rather than replace existing switches.

/RMSW: Removes switches from a given OS entry; same syntax as /ADDSW.

/TIMEOUT: Changes the timeout value for the boot menu. Setting this to 0 causes the boot menu to be completely bypassed and boots the default entry immediately.

/QUERY: Same as running BOOTCFG with no parameters; produces a report of the current BOOT.INI settings.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!

This was first published in March 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.