Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run a command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/MM Maximumram
Adds the/maxmem switch to the specified OSEntryLineNum and sets the maximum number of memory that the operating system can use.
/bv
Adds the/basevideo switch to the specified OSEntryLineNum to control the operating system's standard VGA mode using the installed video drive.
/so
Adds the/sos switch to the specified OSEntryLineNum, which controls the operating system to display the device driver name when it loads.
/ng
Add the/noguiboot switch to the specified OSEntryLineNum to disable the Windows XP Professional progress bar that is displayed before the Ctrl+alt+del login prompt.
/ID OSEntryLineNum
For Boot.ini files that add an operating system add-in, specify the line number of the operating system entry in its [operating systems] section. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Example
The following example shows how to use the BOOTCFG/ADDSW command:
Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/d Description
Specifies a description for the new operating system entry.
/ID OSEntryLineNum
Specify the line number of the operating system login in the. ini file in the operating system section under the root. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Example
The following example shows how to use the bootcfg/copy command:
Parameters
on| Off| EDIT
Specifies the value for 1394-Port debugging. Value Description
On enables remote debugging support by adding the/dbg1394 switch to the specified OSEntryLineNum.
Off disables remote debugging support by removing the/dbg1394 switch from the specified OSEntryLineNum.
EDIT allows port and baud rate settings to change by changing the channel value associated with the/dbg1394 switch for the specified OSEntryLineNum.
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/ch Channel
Specifies the channel for debugging: An integer that has a valid value of 1 through 64. If 1394-port debugging is disabled, do not use the/ch channel parameter.
/ID OSEntryLineNum
For a Boot.ini file with the 1394-port Debugging option added, specify the line number of the operating system entry in its [operating systems] section. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Example
The following example shows how to use the bootcfg/dbg1394 command:
Parameters
On | Off
Specifies the value to be used for debugging. Value Description
On enables remote debugging support by adding the/debug switch to the specified OSEntryLineNum.
Off disables remote debugging support by removing the/debug switch from the specified OSEntryLineNum.
EDIT allows port and baud rate settings to change by changing the value associated with the/debug switch for the specified OSEntryLineNum.
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/port {com1| com2| com3| COM4}
Specifies the COM port for debugging. If debugging is disabled, do not use the/port parameter.
/baud {9600|19200|38400|57600|115200}
Specifies the baud rate for debugging. If debugging is disabled, do not use the/baud parameter.
/ID OSEntryLineNum
For Boot.ini files that add debug options, specify the line number of the operating system entry in their [operating systems] section. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Comments
If you need 1394-port debugging, use bootcfg/dbg1394.
Example
The following example shows how to use the Bootcfg/debug command:
Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/ID OSEntryLineNum
For the Boot.ini file, specify the operating system item line number in its [operating systems] section as the default delegate. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Example
The following example shows how to use the Bootcfg/default command:
Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/ID OSEntryLineNum
For the Boot.ini file, specify the line number of the operating system entry that you want to remove in the [operating systems] section. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Example
The following example shows how to use the Bootcfg/delete command:
Allows users to add or change settings that redirect the EMS console to a remote computer. By enabling EMS, the "redirect=port#" statement line can be added to the [Boot Loader] section of the Boot.ini file, and the/redirect switch is added to the specified operating system item statement. The EMS feature can only be enabled on the server.
Parameters
On | Off
Specifies the value to use for EMS redirection. Value Description
On to enable remote output for the specified OSEntryLineNum. Adds the/redirect switch to the specified OSEntryLineNum and adds the REDIRECT=COMX setting to the [boot loader] section. The value of the COMX is set by the/port parameter.
Off disables output to the remote computer. Remove the/redirect switch from the specified OSEntryLineNum and remove the REDIRECT=COMX setting from the [boot loader] section.
EDIT allows you to change the port settings by changing the REDIRECT=COMX setting in the [boot loader] section. The COMx value reverts to the value specified by the/port parameter.
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/port {com1| com2| com3| com4| Biosset}
Specifies the COM port for redirection. Biosset Control EMS obtains BIOS settings to determine the port for redirection. If remote administration output is disabled, do not use the/port parameter.
/baud {9600|19200|38400|57600|115200}
Specifies the baud rate for redirection. If remote administration output is disabled, do not use the/baud parameter.
/ID OSEntryLineNum
Specifies the line number of the operating system item that will add the EMS option in the [operating systems] section of the Boot.ini file. The first line after the [operating systems] heading area is 1. This parameter is required when the value of the EMS is set to on or off.
/?
Display Help at the command prompt.
Comments
For more information about Emergency Management Services (EMS), see Help and Support Center.
Example
The following example shows how to use the Bootcfg/ems command:
Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/?
Display Help at the command prompt.
Comments
The following is an example of bootcfg/query output:
Start Loader settings
--------------------
Timeout:30
Default:multi (0) disk (0) rdisk (0) partition (1) \ Windows
Start Project
------------
Start Project Id:1
Friendly name: "Microsoft Windows XP Professional"
Path: multi (0) disk (0) rdisk (0) partition (1) \ Windows
OS load options:/fastdetect/debug/debugport=com1:
The boot loader settings section of the bootcfg query output shows all the items in the Boot.ini [boot loader] section.
The Startup Items section of the bootcfg query output shows these operating system entries in the [operating systems] section of Boot.ini: The startup item ID, the friendly name, the path, and the OS add-in.
Example
The following example shows how to use the Bootcfg/query command:
Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
Osloadoptionsstring
Specifies the operating system add-in to add to the operating system entry. These add-ins replace any existing add-ons that are related to the operating system entry. OsLoadOptions has not been confirmed.
/ID OSEntryLineNum
Specifies the line number of the operating system entry to be updated in the [operating systems] section of the Boot.ini file. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Comments
Bootcfg Raw can add text to the end of an operating system entry that overwrites any existing operating system item options. The text you add should contain valid OS add-ins, such as/debug,/fastdetect,/nodebug,/baudrate,/crashdebug, and/sos. For example, use the following command to add "/debug/fastdetect" to the end of the first operating system entry and replace any previous operating system item options:
Bootcfg/raw "/debug/fastdetect"/ID 1
For more information about optional OS add-ins and how Windows uses Boot.ini files during startup, see the technical article in Microsoft Knowledge Base, numbered Q170756, titled "Windows NT Boot.ini The available switch items for the file. (http://www.microsoft.com/)
Example
The following example shows how to use the Bootcfg/raw command:
Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run the command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/mm
Deletes the/maxmem switch and the maximum memory value associated with it from the specified OSEntryLineNum. The/maxmem switch specifies the maximum amount of memory the operating system can use.
/bv
Deletes the/basevideo switch from the specified OSEntryLineNum. The/basevideo switch controls the operating system using the standard VGA mode of the installed video drive.
So
Deletes the/sos switch from the specified OSEntryLineNum. /sos switch controls the operating system displays these names when the device driver name is loaded.
/ng
Deletes the/noguiboot switch from the specified OSEntryLineNum. The/noguiboot switch disables the Windows XP Professional progress bar that appears before the Ctrl+alt+del login prompt.
/ID OSEntryLineNum
Specifies the line number of the operating system entry from which the OS add-in will be removed in the [operating systems] section of the Boot.ini file. The first line after the [operating systems] heading area is 1.
/?
Display Help at the command prompt.
Example
The following example shows how to use the BOOTCFG/RMSW command:
Parameters
TimeOutValue
Specifies the timeout value that is located in the [boot loader] section. This value indicates the number of seconds that the user can select the operating system from the boot loader screen before NTLDR loads the default operating system. If the value is 0, NTLDR will start the default operating system directly without displaying the boot loader screen.
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
For users specified by user or Domain\User, run a command with their account permissions. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/?
Display Help at the command prompt.
Example
The following example shows how to use the Bootcfg/timeout command:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.