Bootcfg Command Examples Switches Options and More

Bootcfg Command Examples Switches Options and More

Bootcfg Command (Examples, Switches, Options, and More) GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Software & Apps > Windows

Bootcfg Command

Use the 'bootcfg' command to edit the boot.ini file

By Tim Fisher Tim Fisher Senior Vice President & Group General Manager, Tech & Sustainability Emporia State University Tim Fisher has more than 30 years' of professional technology experience. He's been writing about tech for more than two decades and serves as the VP and General Manager of Lifewire. lifewire's editorial guidelines Updated on August 19, 2021 Tweet Share Email Tweet Share Email Windows The Ultimate Laptop Buying Guide The bootcfg command is a Recovery Console command used to build or modify the boot.ini file, a hidden file that's used to identify in what folder, on which partition, and on which hard drive Windows is located.

Bootcfg Command Availability

The bootcfg command is available from within the Recovery Console in Windows 2000 and Windows XP. A bootcfg command is also available from the Command Prompt.

Bootcfg Command Syntax

bootcfg [arguments...]
The above syntax is how you must structure the bootcfg command with any of the available switches described in the table below, but the availability of certain switches and other syntax may differ from operating system to operating system. Bootcfg Command Options Item Description /add This option allows for the manual entry of a Windows installation in the boot.ini boot list. /addsw Adds operating system load options for a specified operating system entry. /copy Makes a copy of an existing boot entry, to which you can add command-line options. /dbg1394 Configures 1394 port debugging for a specified operating system entry. /debug Adds or changes the debug settings for a specified operating system entry. /default Specifies the operating system entry to designate as the default. /delete Deletes an operating system entry in the [operating systems] section of the Boot.ini file. /ems Enables the user to add or change the settings for redirection of the Emergency Management Services console to a remote computer. /list This option will list every entry in the boot list in the boot.ini file. /query Queries and displays the [boot loader] and [operating systems] section entries from Boot.ini. /raw Adds operating system load options specified as a string to an operating system entry in the [operating systems] section of the Boot.ini file. /rebuild This option will step you through the process of rebuilding the boot.ini file. /rmsw Removes operating system load options for a specified operating system entry. /scan Using this option will instruct bootcfg to scan all drives for installations of Windows and then display the results. /timeout Changes the operating system time-out value.

Bootcfg Command Examples

bootcfg /rebuild In this example, the bootcfg command scans all drives for any Windows installations, displays the results, and steps you through building the boot.ini file.

Related Commands

The fixboot, fixmbr, and diskpart commands are often used with the bootcfg command. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit More from Lifewire Fixboot Command (Recovery Console) Copy Command (Examples, Options, Switches, and More) Diskpart Command (Examples, Options, Switches & More) Vol Command Examples and Options Net Send Command (Examples, Switches, and More) Fixmbr Command (Recovery Console) Rename Command (Examples, Options, Switches, & More) More Command (Examples, Options, Switches, and More) How to Repair or Replace Boot.ini in Windows XP [Easy] Net Command (Examples, Options, Switches, and More) How to Use the Netstat Command Del Command (Examples, Options, Switches, and More) Recovery Console: What It Is & a List of Commands Dir Command (Examples, Options, Switches, & More) Msg Command (Examples, Switches, and More) Sfc Command (Examples, Options, Switches, and More) Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies
Share:
0 comments

Comments (0)

Leave a Comment

Minimum 10 characters required

* All fields are required. Comments are moderated before appearing.

No comments yet. Be the first to comment!