The command bootcfg default in Windows
Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.
The bootcfg default command specifies the operating system entry as the default.
Syntax
bootcfg / default [/ s [/ u / p]] [/ id]
Parameters
Parameter Description / s Specifies the name or IP address of the remote computer (do not use a backslash). The default is the local computer. / u Run the command with the user account specified after the sign. Default is the current user login rights on the computer that is issuing the command. / p Specify the password of the user account specified in the / u parameter . / id Specifies the operating system input line number in the [operating systems] section of the Boot.ini file to specify the default. The first line after the [operating systems] section header is 1. /? Show help at the command prompt.For example
The following examples show how you can use the command bootcfg / default:
bootcfg / default / id 2
bootcfg / default / s srvmain / u maindomhiropln / pp @ ssW23 / id 2
See more:
- The bootcfg addsw command in Windows
- The command bootcfg dbg1394 in Windows
- The bootcfg command copies in Windows
3.5 ★ | 2 Vote