{{lowercase}} {{Infobox Software | name = bootcfg | logo = | screenshot = | screenshot size = | caption = | developer = Microsoft | released = {{Start date and age|2001|10|25}} | latest release version = | latest release date = | operating system = Microsoft Windows | genre = Command | license = Proprietary commercial software | website = {{URL|https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bootcfg}} }} In computing, '''<code>bootcfg</code>''' is a command on Microsoft Windows NT-based operating systems which acts as a wrapper for editing the 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 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 and boot.ini are no longer used to boot 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 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</code> is the correct command to modify its booting options.

==Syntax== The command-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 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|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