Chapter 31. Deploying Terminal Services

Terminal Services lets users run Microsoft Windows–based applications on a remote server. When users run an application on a terminal server, the execution and processing take place on the server, and only the data from devices such as the display, keyboard, and mouse are transmitted over the network. A client logged on to a terminal server and running applications remotely is said to be using a virtual session. Although there may be dozens or hundreds of users simultaneously logged on to a terminal server, users see only their own virtual session.

Using Terminal Services

You can use Terminal Services to rapidly deploy and centrally manage Windows-based applications. One advantage of this method is that you can be sure that all users are running the same version of an application and that they can do so from any computer. Another advantage is that organizations with older computers running earlier versions of Windows can get more mileage out of their computers by having users run applications on terminal servers instead of locally on their desktops. Terminal Services involves these key elements:

  • Terminal Services clients

  • Terminal Services servers

  • Terminal Services licensing

Terminal Services Clients

The primary client used to establish connections to a terminal server is the Remote Desktop Connection client. This client comes installed on the Microsoft Windows XP and Windows Server 2003 operating systems and is available for installation on Microsoft Windows 95, Windows 98, Windows Millennium Edition (Windows Me), Windows NT 4, Windows 2000, and Windows CE. For details on the use and features of this client, see the section entitled "Supporting Remote Desktop Connection Clients".

By sending only the data required for I/O devices to and from the server, Terminal Services significantly reduces the amount of data transferred between a client and a server. This reduces the amount of network bandwidth used, allowing Terminal Services to operate in low bandwidth environments. In addition, users are able to optimize performance based on the speed of their connection. On a 28.8 Kbps modem, a user has only the essential features to ensure the best overall performance possible. As a user goes from a 28.8 Kbps modem connection to a LAN connection at 10 Mbps or higher, Windows features are automatically added to enhance the user experience. Administrators can also configure Terminal Services to restrict the additional features. For example, if hundreds of users are using a terminal server, you may need to restrict enhancements to ensure the overall performance of the server. If you don't do this and the terminal server is overworked, it may fail.

Terminal Services Servers

It's very easy to set up a terminal server. What isn't so easy is getting the infrastructure right before you do so and maintaining the installation once it's in place. Before you install Terminal Services, it is essential to plan the environment and to deploy Terminal Services before you install applications on the terminal server. Once you deploy Terminal Services, you will configure the environment, install applications, and make those applications available to remote users.

The new features for the Remote Desktop Connection client were discussed in the section entitled "New Features for the Remote Desktop Connection Client". For Windows Server 2003, there are many standard features and enhancements as well. The administration tools for Terminal Services include the following:

  • Terminal Services Manager Terminal Services Manager is the primary tool for managing terminal servers and client connections. Unlike previous versions, the current version doesn't automatically enumerate all the terminal servers that are available. Instead, it gives direct access to a local server if it is running Terminal Services and allows you to selectively enumerate servers and add servers to a list of favorites for easier management. In a large installation with many terminal servers, this makes Terminal Services Manager more responsive.

    Note

    It is important to note that certain features of Terminal Services Manager work only when you run the tool from a client. For example, if you run Terminal Services Manager on a terminal server, you won't be able to use the Remote Control and Connect features.

  • Terminal Services Licensing Manager Terminal Services Licensing Manager is used to install licenses and activate a Terminal Services license server. The enhanced interface makes it easier to install licenses and to activate or deactivate license servers.

  • Terminal Services Configuration Terminal Services Configuration is used to manage terminal server connections as well as global and default server settings. Terminal server connections and the Remote Desktop Protocol (RDP) make the enhancements to the Remote Desktop Connection possible. Server settings also enable you to easily set terminal server policy. A key policy addition is the single session policy, which, when activated, limits a user to a single session, whether the session is active or not.

Terminal Services has many changes for security as well. In previous editions of Terminal Services, you had to assign user access permissions using the Terminal Services Configuration tool. For Windows Server 2003, you have the additional option of adding users and groups to the Remote Desktop Users group. This is a standard group for which you can configure membership in Active Directory Users And Computers. By adding the Domain Users group to the Remote Desktop Users group, you allow all authenticated users to use Terminal Services. If instead you were to add the special group Everyone, anyone with access to the network could use Terminal Services.

Other important security changes involve additional encryption options. Terminal Services now supports 128-bit encryption as well as encryption compliant with the Federal Information Processing Standard (FIPS). Using 128-bit encryption ensures a high level of encryption, which provides powerful protection of the data sent between a Terminal Services client and a server. FIPS encryption is added to provide compliance with FIPS 140-1 and FIPS 140-2, which are standards for Security Requirements for Cryptographic Modules, a necessity for some organizations.

Terminal Services Licensing

A Terminal Services license server is required to set up Terminal Services (see Figure 31-1). The license server, responsible for issuing licenses and tracking their usage, maintains a pool of all available licenses. The assigned licenses are also tracked so that they can be validated. Unlike Windows NT 4, which allowed the license server to trust that you had acquired the number of licenses you specified, Terminal Services requires that you get official licenses from Microsoft and activate them through the Microsoft Clearinghouse.

Terminal Services implementation with a license server.

Figure 31-1. Terminal Services implementation with a license server.

The first time a client connects to a terminal server, the terminal server checks for a license. If the client has a license, the terminal server validates it and allows the client to connect. If the client doesn't have a license, the terminal server locates a license server (using a network broadcast in workgroups or through Active Directory in domains) and requests a new license. If that license server doesn't have a license to offer, the client is not allowed to connect.

Note

For the first 120 days after deployment, clients can be granted a temporary license if an activated license server is not available. After this grace period, Terminal Services will stop serving unlicensed clients.

Provided that the server has a license, it will give the license to the terminal server, which in turn issues it to the client. Client access licenses provided by Terminal Services are issued per device or per user, so the way licensing works depends on the licensing configuration—which can be mixed and matched as necessary. With per-device licensing, the license is valid only for a particular computer and will be validated in the future to the globally unique identifier (GUID) of the machine on which the client is running. With per-user licensing, the license is valid only for that user and will be validated in the future to the GUID of the user's account.

Note

Terminal Services client access licenses are issued per device or per user only. They are not available in per-server mode because Windows sessions are not allowed in per-server mode.

An issued license is valid for a period of 52 to 89 days; the interval is assigned randomly. When the client later disconnects or logs off the terminal server, the license is not returned to the pool. The expiration date serves to return unused licenses to the license pool. Each time a client connects to a terminal server, the expiration date of its license is checked. If the current date is within seven days of the expiration date, the license server renews the license for another 52 to 89 days. If a client doesn't log back in to the terminal server before its license expires, the license is returned to the license pool, which makes it available to other clients.

Unlike previous implementations of Terminal Services, the current version lets you reassign a client access license from one device to another device or from one user to another user. However, there are some limitations. The license must be either permanently reassigned away from its existing owner (device or user), or it must be temporarily reassigned to a loaner device while a permanent device is out of service, or to a temporary worker while a regular employee is absent.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset