bootcfg
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bootcfg
https://computerthang.com/p/ryzen-9-3900x-cpu-meg-x570-motherboard-a294/
Configures, queries, or changes Boot.ini file settings.
Syntax
bootcfg <parameter> [arguments...]
Parameters
Parameter | Description |
---|---|
bootcfg addsw | Adds operating system load options for a specified operating system entry. |
bootcfg copy | Makes a copy of an existing boot entry, to which you can add command-line options. |
bootcfg dbg1394 | Configures 1394 port debugging for a specified operating system entry. |
bootcfg debug | Adds or changes the debug settings for a specified operating system entry. |
bootcfg default | Specifies the operating system entry to designate as the default. |
bootcfg delete | Deletes an operating system entry in the [operating systems] section of the Boot.ini file. |
bootcfg ems | Enables the user to add or change the settings for redirection of the Emergency Management Services console to a remote computer. |
bootcfg query | Queries and displays the [boot loader] and [operating systems] section entries from Boot.ini. |
bootcfg 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. |
bootcfg rmsw | Removes operating system load options for a specified operating system entry. |
bootcfg timeout | Changes the operating system time-out value. |
Recommended content
-
assign
Reference article for the assign command, which assigns a drive letter or mount point to the volume with focus.
-
recover
Reference article for the recover command, which recovers readable information from a bad or defective disk.
-
repair
Reference article for the repair command, which repairs RAID-5 volumes by replacing the failed disk region with a specified dynamic disk.
-
begin restore
Reference article for the begin restore command, which starts a restore session and issues a PreRestore event to involved writers.
-
For a list of the available bootcfg commands, type bootcfg at the Recovery Console command prompt, and then press ENTER.
- The bootcfg /default command sets the default operating system option on the Startup menu (this command selects the operating system entry automatically).
- The bootcfg /add command scans the computer for Windows NT, Windows 2000, Windows XP, or Windows Server 2003 installations, and then displays the results. From this screen, you can add an installation to the Startup menu.
When you enter this command, you receive a message similar to the following:
Scanning all disks for Windows Installations.
Please wait, since this may take a while…
The Windows installation scan was successful.
Note: 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 machine and then rescan the disks.
-