BootcfgConfigures, queries, or changes Boot.ini file settings. To view the command syntax, click a command: bootcfg addsw Adds operating system load options for a specified operating system entry. Syntaxbootcfg /addsw [/s Computer [/u Domain\User /p Password]] [/mm MaximumRAM] [/bv] [/so] [/ng] /id OSEntryLineNum Parameters/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /mm MaximumRAM : Adds the /maxmem switch to the specified OSEntryLineNum and sets the maximum amount of RAM that the operating system can use. /bv : Adds the /basevideo switch to the specified OSEntryLineNum, directing the operating system to use standard VGA mode for the installed video driver. /so : Adds the /sos switch to the specified OSEntryLineNum, directing the operating system to display device driver names while they are being loaded. /ng : Adds the /noguiboot switch to the specified OSEntryLineNum, disabling the Windows XP Professional progress bar that appears before the CTRL+ALT+DEL logon prompt. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file to which the operating system load options are added. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. ExamplesThe following examples show how you can use the bootcfg /addsw command: bootcfg /addsw /mm 64 /id 2 bootcfg copy Makes another operating system instance copy, for which switches can be added. Syntaxbootcfg /copy [/s Computer [/u Domain\User /p Password]] [/d Description] [/id OSEntryLineNum] Parameters/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /d Description : Specifies the description for the new operating system entry. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file to copy. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. ExamplesThe following examples show how you can use the bootcfg /copy command: bootcfg /copy /d "\ABC Server\" /id 1 bootcfg dbg1394 Configures 1394 port debugging for a specified operating system entry. Syntaxbootcfg /dbg1394 {ON|OFF|EDIT} [/s Computer [/u Domain\User /p Password]] [/ch channel] /id OSEntryLineNum ParametersON|OFF|EDIT : Specifies the value for 1394 port debugging.
/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /ch channel : Specifies the channel to use for debugging. Valid values are integers between 1 and 64. Do not use the /ch channel parameter if 1394 port debugging is being disabled. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file to which the 1394 port debugging options are added. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. ExamplesThe following examples show how you can use the bootcfg /dbg1394 command: bootcfg /dbg1394 /id 2 bootcfg debug Adds or changes the debug settings for a specified operating system entry. Syntaxbootcfg /debug {ON|OFF|EDIT} [/s Computer [/u Domain\User /p Password]] [/port {COM1|COM2|COM3|COM4}] [/baud {9600|19200|38400|57600|115200}] [/id OSEntryLineNum] ParametersON|OFF|EDIT : Specifies the value for debugging.
/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /port {COM1|COM2|COM3|COM4} : Specifies the COM port to be used for debugging. Do not use the /port parameter if debugging is being disabled. /baud {9600|19200|38400|57600|115200} : Specifies the baud rate to be used for debugging. Do not use the /baud parameter if debugging is being disabled. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file to which the debugging options are added. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. Remarks
ExamplesThe following examples show how you can use the bootcfg /debug command: bootcfg /debug on /port com1 /id 2 bootcfg default Specifies the operating system entry to designate as the default. Syntaxbootcfg /default [/s Computer [/u Domain\User /p Password]] [/id OSEntryLineNum] Parameters/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file to designate as default. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. ExamplesThe following examples show how you can use the bootcfg /default command: bootcfg /default /id 2 bootcfg delete Deletes an operating system entry in the [operating systems] section of the Boot.ini file. Syntaxbootcfg /delete [/s Computer [/u Domain\User /p Password]] [/id OSEntryLineNum] Parameters/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file to delete. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. ExamplesThe following examples show how you can use the bootcfg /delete command: bootcfg /delete /id 1 bootcfg ems Enables the user to add or change the settings for redirection of the EMS console to a remote computer. By enabling EMS, you add a "redirect=Port#" line to the [boot loader] section of the Boot.ini file and a /redirect switch to the specified operating system entry line. The EMS feature is enabled only on servers. Syntaxbootcfg /ems {ON|OFF|EDIT} [/s Computer [/u Domain\User /p Password]] [/port {COM1|COM2|COM3|COM4|BIOSSET}] [/baud {9600|19200|38400|57600|115200}] [/id OSEntryLineNum] ParametersON|OFF|EDIT : Specifies the value for EMS redirection.
/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /port {COM1|COM2|COM3|COM4|BIOSSET} : Specifies the COM port to be used for redirection. BIOSSET directs EMS to get the BIOS settings to determine which port should be used for redirection. Do not use the /port parameter if remotely administered output is being disabled. /baud {9600|19200|38400|57600|115200} : Specifies the baud rate to be used for redirection. Do not use the /baud parameter if remotely administered output is being disabled. /id OSEntryLineNum : Specifies the operating system entry line number to which the EMS option is added in the [operating systems] section of the Boot.ini file. The first line after the [operating systems] section header is 1. This parameter is required when the EMS value is set to ON or OFF. /?: Displays help at the command prompt. Remarks
ExamplesThe following examples show how you can use the bootcfg /ems command: bootcfg /ems on /port com1 /baud 19200 /id 2 bootcfg query Queries and displays the [boot loader] and [operating systems] section entries from Boot.ini. Syntaxbootcfg /query [/s Computer [/u Domain\User /p Password]] Parameters/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /?: Displays help at the command prompt. Remarks
ExamplesThe following examples show how you can use the bootcfg /query command: bootcfg /query 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. Syntaxbootcfg [/s Computer [/u Domain\User /p Password]] /raw OSLoadOptionsString [/id OSEntryLineNum] Parameters/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. OSLoadOptionsString : Specifies the operating system load options to add to the operating system entry. These load options will replace any existing load options associated with the operating system entry. No validation of OSLoadOptions is done. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file to update. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. Remarks
ExamplesThe following examples show how you can use the bootcfg /raw command: bootcfg /raw "/debug /sos" /id 2 bootcfg rmsw Removes operating system load options for a specified operating system entry. Syntaxbootcfg /rmsw [/s Computer [/u Domain\User /p Password]] [/mm] [/bv] [/so] [/ng] /id OSEntryLineNum Parameters/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /mm : Removes the /maxmem switch and its associated maximum memory value from the specified OSEntryLineNum. The /maxmem switch specifies the maximum amount of RAM that the operating system can use. /bv : Removes the /basevideo switch from the specified OSEntryLineNum. The /basevideo switch directs the operating system to use standard VGA mode for the installed video driver. /so : Removes the /sos switch from the specified OSEntryLineNum. The /sos switch directs the operating system to display device driver names while they are being loaded. /ng : Removes the /noguiboot switch from the specified OSEntryLineNum. The /noguiboot switch disables the Windows XP Professional progress bar that appears before the CTRL+ALT+DEL logon prompt. /id OSEntryLineNum : Specifies the operating system entry line number in the [operating systems] section of the Boot.ini file from which the OS Load Options are removed. The first line after the [operating systems] section header is 1. /?: Displays help at the command prompt. ExamplesThe following examples show how you can use the bootcfg /rmsw command: bootcfg /rmsw /mm 64 /id 2 bootcfg timeout Changes the operating system time-out value. Syntaxbootcfg /timeout TimeOutValue [/s Computer [/u Domain\User /p Password]] ParametersTimeOutValue : Specifies the timeout value in the [boot loader] section. The value is the number of seconds the user has to select an operating system from the boot loader screen before NTLDR loads the default. If the value is 0, then NTLDR immediately starts the default operating system without displaying the boot loader screen. /s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password : Specifies the password of the user account that is specified in the /u parameter. /?: Displays help at the command prompt. ExamplesThe following examples show how you can use the bootcfg /timeout command: bootcfg /timeout 30 Formatting legend
|