Use the bootcfg command for boot configuration and recovery (boot.ini for most computers).

The bootcfg command with the parameters listed below is only available when you are using the Recovery Console The bootcfg command with different parameters is available from the command prompt.


bootcfg /default

Set the default boot entry.

bootcfg /add

Add a Windows installation to the boot list.

bootcfg /rebuild 

Iterate through all Windows installations and allow the user to choose which to add.


You should first make a backup copy of your boot.ini file by using bootcfg /copy before using bootcfg /rebuild.

bootcfg /scan

Scan all disks for Windows installations and display the results.


These results are stored statically for this session. If the disk configuration changes during this session, in order to get an updated scan, you must first reboot the computer and then rescan the disks.

bootcfg /list

List the entries already in the boot list.

bootcfg /disableredirect

Disable redirection in the boot loader.

bootcfg /redirect [PortBaudRrate] | [useBiosSettings]

Enable redirection in the boot loader with the specified configuration.


bootcfg /redirect com1 115200

bootcfg /redirect useBiosSettings

Related Topics

Command-line reference A-Z

Delete the Recovery Console

Install the Recovery Console as a startup option

Start the computer and use the Recovery Console

Recovery Console overview

© 2018 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies