Set Up Terminal Services
In this section, we'll talk about setting up, configuring, and managing TS, Terminal Server, and the other TS role services except TS Licensing and Remote Desktop Connection, which will be discussed in later sections.
Install the Terminal Services Roles
TS is a role that is installed from the Server Manager, while Terminal Server, TS Web Access, TS Licensing, TS Gateway, and TS Session Broker are all role services that you can separately select while you are installing the TS role. TS Configuration and TS Manager are automatically installed with TS Services, while TS RemoteApp is automatically installed with Terminal Server.
NOTE: It is not recommended that you install TS on an Active Directory domain controller because it increases your security risks and, since TS uses a lot of computer resources, it degrades AD's performance. Running TS within an AD domain is needed for some of TS's functions, such as TS Session Broker, and provides added capabilities to others, such as TS Licensing.
NOTE: To install the TS role and the role services discussed here, if you have not already done so, you will be told to also install Network Policy And Access Services, Web Server (IIS), and Windows Process Activation Service. The Add Roles Wizard will automatically lead you through those additional installations.
- If the Server Manager is not already open, click Start | Server Manager. In any case, click Roles in the left pane of the Server Manager window and click Add Roles in the right pane.
- Click the role services that you want to install. For the sake of following the discussion here, click Terminal Server, TS Session Broker (you must be in a domain), TS Gateway (click Add Required Features), and TS Web Access (click Add Required Role Services), and click Next.
- Read the note about the need to install any application you want to run with TS after installing TS and click Next.
- Read about Network Level Authentication and decide if you want to use it. A major factor is that it is available only with Remote Desktop Protocol (RDP) 6.0, which is in Windows Vista and Windows Server 2008 and can be downloaded for Windows XP SP2 and Windows Server 2003 SP1 or SP2, but it significantly enhances security. Click your choice and click Next.
- You are asked to determine the type of TS licensing you want to use. For the discussion here, leave that decision to a later section in this tutorial. You have 120 days to make the decision. Leave the default, Configure Later, selected and click Next.
- Add the users or user groups that will use TS by clicking Add, clicking Advanced, clicking Find Now, double-clicking a user or group in the list, and clicking OK. Repeat this as you need. When you are ready, click Next.
- You are told that TS Gateway requires a certificate to use the Secure Sockets
Layer (SSL) protocol to encrypt transmissions and you have three options for
a certificate, two of which are discussed here:
- If you have a certificate on the server already, click the first option; if the certificate is in the Windows certificate store, it will be listed. Otherwise, click Import and follow the steps of the Certificate Import Wizard, clicking Next as needed.
- If you don't have a certificate, click the second option, and a self-signed certificate will be created for you.
- Click Next. A TS connection authorization policy (TS CAP), which allows users to pass through a TS Gateway and access a network, and a TS resource authorization policy (TS RAP), which allows users to pass through a TS Gateway and utilize particular computers running Terminal Server and other resources, are explained. Click Now to create the policies now and click Next.
- Add the user groups that will use TS Gateway as described in Step 7 and click Next.
- Enter the name for your TS CAP, accept the default of using a password, and click Next. Enter the name for your TS RAP, choose whether to use specific computer groups you select or all computers on the network, and click Next.
- If it is not already installed, read the introduction to Network Policy And Access Services and click Next. Accept the default of installing the Network Policy Server role service and click Next.
- Read the introduction to Web Server IIS and click Next. Accept the default role services that are checked and click Next.
- Review the roles and role services that will be installed to implement TS and its services. If you want to change anything, click Previous and make the change. When you are ready, click Install. The installation process will take a few minutes.
- Click Close, and click Yes to restart your computer. After restarting your roles,
role services will be configured and you will be given a warning message that
TS Licensing is not installed and that you have 119 days to do that (the day
you install it counts as the first day). When it is done, you will be told it was successful. Click Close.
NOTE: The warning message that TS Licensing is not installed and that you have so many days to do that will reappear every time you restart your computer. This is called "nagware" and it is unfortunate that Microsoft is using it. - Open Roles in the left column of the Server Manager and click Terminal Services. In the right pane, you should see three informational events that tell you that your TS RAP, TS CAP, and certificate have been created; the system services that are running; and the role services that are installed.
TIP: Since there's no obvious way to tell which of the three informational events is which, you can select each and click Properties to find out.
NOTE: Remote Desktop Connection, although not installed by default on Windows Server 2008, is automatically installed when you install TS. See "Use Applications Server Mode" later in this tutorial.
In this tutorial:
- Terminal Services Remote Desktop
- Understand Terminal Services
- Set Up Terminal Services
- Terminal Services Configuration
- Terminal Services Manager
- Use Applications Server Mode
- Manage TS RemoteApp
- Distribute a RemoteApp Program
- Using Remote Desktop Connection with RemoteApp Programs
- Set Up and Use TS Web Access
- Set Up TS Gateway
- Enable TS Session Broker
- Implement TS Licensing
- Activate a TS Licensing Server and Install Licenses
- Use Remote Administration Mode
- Remote Desktop Connection