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 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.

The fixboot, fixmbr, and diskpart commands are often used with the bootcfg command.

Get the Latest Tech News Delivered Every Day

  • Fixboot Command (Recovery Console)

  • Rename Command

  • Net Send Command

  • Vol Command Examples and Options

  • Fixmbr Command (Recovery Console)

  • More Command

  • Copy Command

  • How to Use the Netstat Command

  • How to Repair or Replace Boot.ini in Windows XP

  • Recovery Console: What It Is & a List of Commands

  • Msg Command (Examples, Switches, and More)

  • Xcopy Command

  • Diskpart Command

  • How to Disable the Windows XP Splash Screen Using MSConfig

  • Net Command

  • How to Use Advanced Startup Options in Windows

  • Facebook

  • Twitter

Hit Refresh on Your Tech News

  • About Us

  • Privacy Policy

  • Editorial Guidelines

  • Terms of Use

  • Careers

  • Advertise

  • Contact

  • EU Privacy

  • NEWS

  • HOW TO

  • FEATURES

  • ABOUT US