# Bootcfg

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Bootcfg
> Markdown URL: https://mediated.wiki/source/Bootcfg.md
> Source: https://en.wikipedia.org/wiki/Bootcfg
> Source revision: 1350491188
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{lowercase}}
{{Infobox Software 
| name                   = bootcfg
| logo                   = 
| screenshot             = 
| screenshot size        = 
| caption                = 
| developer              = [Microsoft](/source/Microsoft)
| released               = {{Start date and age|2001|10|25}}
| latest release version = 
| latest release date    = 
| operating system       = [Microsoft Windows](/source/Microsoft_Windows)
| genre                  = [Command](/source/Command_(computing))
| license                = [Proprietary](/source/Proprietary_software) [commercial software](/source/commercial_software)
| website                = {{URL|https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bootcfg}}
}}
In [computing](/source/computing), '''<code>bootcfg</code>''' is a [command](/source/command_(computing)) on [Microsoft](/source/Microsoft) [Windows NT](/source/Windows_NT)-based [operating system](/source/operating_system)s which acts as a [wrapper](/source/Wrapper_pattern) for editing the [boot.ini](/source/boot.ini) file.<ref name="kb1">{{cite web |url=http://support.microsoft.com/kb/317521 |title=Description of the BOOTCFG Command and Its Uses}}</ref>

==Overview==
The command is used to configure, query, or change Boot.ini file settings.<ref>[https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490870(v%3dtechnet.10) Microsoft TechNet Bootcfg article]</ref> A similar command exists in the [Recovery Console](/source/Recovery_Console) for repairing or rebuilding boot configuration files.<ref name="kb1" /><ref>{{Cite web|url=https://www.computerhope.com/bootcfg.htm|title = MS-DOS and Windows command line bootcfg command}}</ref>

Though [NTLDR](/source/NTLDR) and boot.ini are no longer used to boot [Windows Vista](/source/Windows_Vista) and later versions of Windows NT, they ship with the bootcfg utility regardless. This is to handle boot.ini in the case that a [multi-boot](/source/multi-boot) configuration with previous versions of Windows exists and needs troubleshooting from within the later operating system.

Windows Vista and later versions will warn users who run bootcfg that <code>[BCDEdit](/source/BCDEdit)</code> is the correct command to modify its booting options.

==Syntax==
The command-[syntax](/source/syntax) is:
 bootcfg <parameter> [arguments...]

===Parameters===
*'''<code>addsw</code>''' – Add operating system load options
*'''<code>copy</code>''' – Make a copy of an existing boot entry
*'''<code>dbg1394</code>''' – Configures [1394](/source/IEEE_1394) port debugging
*'''<code>debug</code>''' – Add or changes debug settings
*'''<code>default</code>''' – Specify the default operating system entry
*'''<code>delete</code>''' – Deletes an operating system entry
*'''<code>ems</code>''' – Add or change settings for redirection of the Emergency Management Services console
*'''<code>query</code>''' – Query and displays [boot loader] and [operating systems] section entries
*'''<code>raw</code>''' – Add operating system load options
*'''<code>rmsw</code>''' – Remove operating system load options
*'''<code>timeout</code>''' – Change operating system time-out value

==References==
{{Reflist}}

==Further reading==
*{{Cite book|author=John Paul Mueller|year=2007|title=Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000|publisher=[John Wiley & Sons](/source/Wiley_(publisher))|isbn=978-0470165799}}

==External links==
{{Wikibooks|Guide to Windows Commands}}
* [https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bootcfg bootcfg | Microsoft Docs]

{{Windows commands}}

Category:Windows administration
Category:Windows commands

---
Adapted from the Wikipedia article [Bootcfg](https://en.wikipedia.org/wiki/Bootcfg) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Bootcfg?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
