The bootcfg ems command in Windows

The bootcfg ems command allows users to add or change settings to redirect the Emergency Management Services console to a remote computer.

Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.

The bootcfg ems command allows users to add or change settings to redirect the Emergency Management Services console to a remote computer. By activating Emergency Management Services, add the "redirect = Port #" line to the [boot loader] section of the Boot.ini file and option / redirect to the line of the specified operating system. . Emergency Management Services feature is only enabled on servers.

Syntax

 115200}] [/ id] 

Parameters

edit} Specifies the value for the Emergency Management Services navigation.

ON - Activate the remote output for the specified component, add the option / redirect to the specified component and install the redirect = com into the [boot loader] section. The value of com is set by the parameter / port .

OFF - Disables the output for the remote computer, removing the option / redirect from the specified component and installing = red redirect from the [boot loader] section.

edit - Allows changing the port setting by changing the redirect = com setting in the [boot loader] section. The value of com is reset to the value specified by the / port parameter. / s Specify 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 behind. Default is the current user login rights on the computer that is issuing the command. / p Specify the password for the user account specified in the / u parameter . BIOSSET} Specifies the COM port used to redirect. BIOSSET redirects Emergency Management Services to obtain BIOS settings, determine which port will be used to redirect. Do not use the / port parameter if the remote managed output is disabled. 115200} Specifies the transfer speed used to redirect. Do not use the / baud parameter if the remote management output is disabled. / id Specifies the operating system entry line number in which the Emergency Management Services option is added to the [operating systems] section of the Boot.ini file. The first line following the heading [operating systems] is 1. This parameter is required when the Emergency Management Services value is set to ON or OFF . /? Show help at the command prompt.

For example

The following examples show how you can use the bootcfg / ems command:

 bootcfg / ems on / port com1 / baud 19200 / id 2 
bootcfg / ems on / port biosset / id 3
bootcfg / s srvmain / ems off / id 2
bootcfg / ems edit / port com2 / baud 115200
bootcfg / s srvmain / u maindomhiropln / pp @ ssW23 / ems off / id 2

See more:

  1. The bcdedit command in Windows
  2. Bdehdcfg command in Windows
  3. Bcdboot command in Windows
3.9 ★ | 9 Vote