5.4 Administering Terminal Services
The Terminal Server allows the administrator to remotely monitor servers, sessions, users, and processes,
and supports the centralized deployment of applications, disk management, and device access. It also allows
the administrator to manage the applications available to users, logon privileges, and security. This can be
accomplished using the various system administrative tools provided by Terminal Services. These tools
The Remote Desktops snap-in, which allows you to host multiple Terminal Services connections in an
easily navigable tree. It is also useful for managing many Windows 2003 or Windows 2000 servers. By
right-clicking Remote Desktops, you can identify the additional servers by selecting Add New
Terminal Services Manager, which available from Administrative Tools. It is the primary utility for
managing existing Terminal Services sessions and can be used to view and administer users, active
sessions, and processes on a single or multiple terminal servers anywhere on the network.
Terminal Services Configuration tool, which can be used to create new RDP-TCP connections, or
listener connections, and configure the ones that currently exist. These RDP-TCP connections must be
configured and exist on the server for clients to successfully establish Terminal Services sessions to that
server. RDP-TCP connections can be configured for RDP only over TCP/IP, and only one RDP-TCP
connection can be configured for each network interface card in the Terminal Services computer. By
default, the RDP-TCP connection is created that is bound to all the network interface cards in the server.
If the server has more than one network interface card, you can use the Terminal Services Configuration
to configure the default RDP-TCP connection to only be associated with one network interface card, and
create new RDP-TCP connections for each of the other network interface cards. You must be a member
of the Administrators group, or be delegated the authority, in order to create new RDP-TCP connections.
The Terminal Services Configuration tool can also be used to configure connections for ICA (Citrix)
clients using IPX, SPX, Asynchronous, NetBIOS, or TCP.
The Server Settings node in Terminal Services Configuration, which controls a number of server-wide
settings that affect all sessions running on the server. In an Active Directory environment, these settings
can also be configured using Group Policy. If configured in both Group Policy and within Terminal
Services Configuration, the Group Policy settings will take precedence.
The Directory Users And Computers Snap-in or the Local Users And Groups Snap-in, depending on
the environment, can be used to establish Terminal Services settings for individual users.
The Task Manager also monitors and administers Terminal Services. Once Terminal Services is
installed, additional fields are added to the Task Manager.
Group Policies, which you can use to control Terminal Services users. There are over 900, of which
approximately 50 group policy settings in Windows Server 2003 that are relate specifically to Terminal
Services components. When the same setting is configured in both Group Policy and one of the Terminal
Services utilities or clients, the setting specified in Group Policy will take preference.
The Terminal Services Command-Line tools that both administrators and end users can use to manage
connections. These command-line tools can be used in scripts to automate Terminal Services tasks. A
basic set of commands are listed in Table 5.1.
TABLE 5.1: Basic Terminal Services Command-Line Commands
Temporarily disables logons to a terminal server
Used to change COM port mappings for MS-DOS program
Changes the .ini file mapping for the current user
Removes user-specific file associations from a user profile
Enables or disables flat temporary directories
Logs off a user from a session and deletes the session from the
Sends a message to a user or group of users
Displays the Remote Desktop Connection to establish a connection
with a terminal server
Displays information about processes running on a terminal server
Displays information about sessions on a terminal server
Displays a list of all terminal servers on the network
Displays information about user sessions on a terminal server
Registers applications to execute in a global context on the system
Resets a session to known initial values
Monitors another user’s session
Connects to another existing terminal server session
Disconnects a client from a terminal server session
Ends a process
Copies user configuration and changes profile path
Shuts down a terminal server