CmdID

CmdID / Commands / bootcfg

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. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Adds operating system load options specified as a string to an operating system entry in the [operating systems] section of the Boot.ini file. This command overwrites any existing operating system entry options.

bootcfg /raw [/s <computer> [/u <domain>\<user> /p <password>]] <osloadoptionsstring> [/id <osentrylinenum>] [/a]

To add /debug /fastdetect to the end of the first operating system entry, replacing any previous operating system entry options

bootcfg /raw /debug /fastdetect /id 1Identify
/idSpecifies 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. Windows commands reference

To use the bootcfg /raw command

bootcfg /raw /debug /sos /id 2 bootcfg /raw /s srvmain /u maindom\hiropln /p p@ssW23 /crashdebug /id 2Identify
/idSpecifies 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. Windows commands reference
/s <computer>Specifies the name or IP address of a remote computer (don't 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 which the operating system load options are added. The first line after the [operating systems] section header is 1.
/aSpecifies which operating system options should be appended to any existing operating system options.
/?Displays help at the command prompt.