Emergency Management Services (EMS) provides an
RS-232 accessible
serial console interface to the
bootloader menu on modern versions of
Microsoft Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
.
During system installation of
Windows Server 2003, EMS is enabled per default in case
BIOS
In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is firmware used to provide runtime services for operating systems and programs and to perform hardware initialization during the ...
serial console redirection is supported and enabled beforehand. Otherwise, and in
Windows XP, it is enabled with a command such as the following:
bootcfg /ems on /port com1 /baud 9600 /id 1
On
Windows Vista it is enabled by typing the following command where is the OS entry in
BCDedit:
BCDedit /bootems {default} ON
In
Windows Vista the serial port settings, Baud rate and Port ID, are accessed and modified using the following command:
BCDedit /emssettings EMSPORT:(port) EMSBAUDRATE:(rate)
SAC
On Windows Server 2003 and later, this also starts a system console named ''Special Administration Console'' (SAC) during
operating system run time providing
headless server
A headless computer is a computer system or device that has been configured to operate without a monitor (the missing "head"), keyboard, and mouse. A headless system is typically controlled over a network connection, although some headless system ...
operation. Although EMS and SAC are separate and distinct concepts, EMS itself is also sometimes referred to as SAC, due to the prompt presented (
SAC>
) to the user once the OS is booted.
The SAC interface allows interaction with the Windows operating system via the serial (COM) port even when the system might normally be unresponsive, or if the system is embedded or headless (i.e. no keyboard/display present). An administrator can use SAC to access a command prompt, shutdown or reboot the machine, collect a crash dump, or view system information such as the hostname, OS version, running processes, or an IP address or addresses.
SAC provides a form of multitasking via channels. Channels can be opened by software running on the system. To list all the channels that SAC has open from the top-level prompt, the user needs to enter the
ch
command. All the available channels will be shown as well as their status and type.
SAC will emit in-band XML over the serial port in certain situations. This makes it easy for a program that is watching SAC output to detect when certain events occur. This XML is not always seen by users, since the screen may be cleared after transmitting it (e.g. in the case of a channel switch).
Example events that generate in-band XML:
* When SAC is started, the machine information is emitted in a
<machine-info>
element.
* When a channel switch occurs, a
<channel-switch>
element is emitted.
* When the system encounters a bugcheck, it emits a
<INSTANCE CLASSNAME="BLUESCREEN">
element.
See also
*
System console
*
Console server
*
Null modem
*
NTLDR
NTLDR (abbreviation of ''NT loader'') is the boot loader for all releases of Windows NT operating system from 1993 with the release of Windows NT 3.1 up until Windows XP and Windows Server 2003. From Windows Vista onwards it was replaced by the BOO ...
References
*
IBM Redbooks Technot
Enabling Serial Over LAN for a Remote Windows Text Console using OSA SMBridge* Egan Ford
March 2005
External links
*
Dell
Dell is an American based technology company. It develops, sells, repairs, and supports computers and related products and services. Dell is owned by its parent company, Dell Technologies.
Dell sells personal computers (PCs), servers, data ...
: System Recover
Using Windows Server 2003 on Dell PowerEdge ServersAdministering Windows Server 2003 RemotelyMicrosoft guide about Boot Parameters to Enable EMS Redirection
Windows administration
Out-of-band management