6428 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
6428 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
6428A:
Configuring and Troubleshooting
Microsoft® Windows Server®
2008 Terminal Services
ii Configuring and Troubleshooting Microsoft® Windows Server® 2008 Terminal Services
Information in this document, including URL and other Internet Web site references, is subject to
change without notice. Unless otherwise noted, the example companies, organizations, products,
domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious,
and no association with any real company, organization, product, domain name, e-mail address,
logo, person, place or event is intended or should be inferred. Complying with all applicable
copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part
of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted
in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for
any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
The names of manufacturers, products, or URLs are provided for informational purposes only and
Microsoft makes no representations and warranties, either expressed, implied, or statutory,
regarding these manufacturers or the use of the products with any Microsoft technologies. The
inclusion of a manufacturer or product does not imply endorsement of Microsoft of the
manufacturer or product. Links may be provided to third party sites. Such sites are not under the
control of Microsoft and Microsoft is not responsible for the contents of any linked site or any link
contained in a linked site, or any changes or updates to such sites. Microsoft is not responsible for
webcasting or any other form of transmission received from any linked site. Microsoft is providing
these links to you only as a convenience, and the inclusion of any link does not imply endorsement
of Microsoft of the site or the products contained therein.
© 2008 Microsoft Corporation. All rights reserved.
Microsoft, Access, Active Directory, ActiveX, Aero, ClearType, Internet Explorer, Jscript, MSDN, MSN,
Outlook, PowerPoint, SharePoint ,SQL Server, Visual Basic, Visual SourceSafe, Windows, Windows
Media, Windows NT, Windows Server, and Windows Vista are either registered trademarks or
trademarks of Microsoft Corporation in the United States and/or other countries.
Released: 06/2008
MICROSOFT LICENSE TERMS
OFFICIAL MICROSOFT LEARNING PRODUCTS - TRAINER
EDITION – Pre-Release and Final Release Versions
These license terms are an agreement between Microsoft Corporation and you. Please read them. They
apply to the Licensed Content named above, which includes the media on which you received it, if any. The
terms also apply to any Microsoft
• updates,
• supplements,
• Internet-based services, and
• support services
for this Licensed Content, unless other terms accompany those items. If so, those terms apply.
By using the Licensed Content, you accept these terms. If you do not accept them, do not use
the Licensed Content.
If you comply with these license terms, you have the rights below.
1. DEFINITIONS.
a. “Academic Materials” means the printed or electronic documentation such as manuals,
workbooks, white papers, press releases, datasheets, and FAQs which may be included in the
Licensed Content.
b. “Authorized Learning Center(s)” means a Microsoft Certified Partner for Learning Solutions
location, an IT Academy location, or such other entity as Microsoft may designate from time to time.
c. “Authorized Training Session(s)” means those training sessions authorized by Microsoft and
conducted at or through Authorized Learning Centers by a Trainer providing training to Students
solely on Official Microsoft Learning Products (formerly known as Microsoft Official Curriculum or
“MOC”) and Microsoft Dynamics Learning Products (formerly know as Microsoft Business Solutions
Courseware). Each Authorized Training Session will provide training on the subject matter of one
(1) Course.
d. “Course” means one of the courses using Licensed Content offered by an Authorized Learning
Center during an Authorized Training Session, each of which provides training on a particular
Microsoft technology subject matter.
e. “Device(s)” means a single computer, device, workstation, terminal, or other digital electronic or
analog device.
f. “Licensed Content” means the materials accompanying these license terms. The Licensed
Content may include, but is not limited to, the following elements: (i) Trainer Content, (ii) Student
Content, (iii) classroom setup guide, and (iv) Software. There are different and separate
components of the Licensed Content for each Course.
g. “Software” means the Virtual Machines and Virtual Hard Disks, or other software applications that
may be included with the Licensed Content.
h. “Student(s)” means a student duly enrolled for an Authorized Training Session at your location.
i. “Student Content” means the learning materials accompanying these license terms that are for
use by Students and Trainers during an Authorized Training Session. Student Content may include
labs, simulations, and courseware files for a Course.
j. “Trainer(s)” means a) a person who is duly certified by Microsoft as a Microsoft Certified Trainer
and b) such other individual as authorized in writing by Microsoft and has been engaged by an
Authorized Learning Center to teach or instruct an Authorized Training Session to Students on its
behalf.
k. “Trainer Content” means the materials accompanying these license terms that are for use by
Trainers and Students, as applicable, solely during an Authorized Training Session. Trainer Content
may include Virtual Machines, Virtual Hard Disks, Microsoft PowerPoint files, instructor notes, and
demonstration guides and script files for a Course.
l. “Virtual Hard Disks” means Microsoft Software that is comprised of virtualized hard disks (such as
a base virtual hard disk or differencing disks) for a Virtual Machine that can be loaded onto a single
computer or other device in order to allow end-users to run multiple operating systems concurrently.
For the purposes of these license terms, Virtual Hard Disks will be considered “Trainer Content”.
m. “Virtual Machine” means a virtualized computing experience, created and accessed using
Microsoft® Virtual PC or Microsoft® Virtual Server software that consists of a virtualized hardware
environment, one or more Virtual Hard Disks, and a configuration file setting the parameters of the
virtualized hardware environment (e.g., RAM). For the purposes of these license terms, Virtual Hard
Disks will be considered “Trainer Content”.
n. “you” means the Authorized Learning Center or Trainer, as applicable, that has agreed to these
license terms.
2. OVERVIEW.
Licensed Content. The Licensed Content includes Software, Academic Materials (online and
electronic), Trainer Content, Student Content, classroom setup guide, and associated media.
License Model. The Licensed Content is licensed on a per copy per Authorized Learning Center
location or per Trainer basis.
3. INSTALLATION AND USE RIGHTS.
a. Authorized Learning Centers and Trainers: For each Authorized Training Session, you
may:
i. either install individual copies of the relevant Licensed Content on classroom Devices only for
use by Students enrolled in and the Trainer delivering the Authorized Training Session, provided
that the number of copies in use does not exceed the number of Students enrolled in and the
Trainer delivering the Authorized Training Session, OR
ii. install one copy of the relevant Licensed Content on a network server only for access by
classroom Devices and only for use by Students enrolled in and the Trainer delivering the
Authorized Training Session, provided that the number of Devices accessing the Licensed
Content on such server does not exceed the number of Students enrolled in and the Trainer
delivering the Authorized Training Session.
iii. and allow the Students enrolled in and the Trainer delivering the Authorized Training Session to
use the Licensed Content that you install in accordance with (ii) or (ii) above during such
Authorized Training Session in accordance with these license terms.
i. Separation of Components. The components of the Licensed Content are licensed as a single
unit. You may not separate the components and install them on different Devices.
ii. Third Party Programs. The Licensed Content may contain third party programs. These license
terms will apply to the use of those third party programs, unless other terms accompany those
programs.
b. Trainers:
i. Trainers may Use the Licensed Content that you install or that is installed by an Authorized
Learning Center on a classroom Device to deliver an Authorized Training Session.
ii. Trainers may also Use a copy of the Licensed Content as follows:
A. Licensed Device. The licensed Device is the Device on which you Use the Licensed Content.
You may install and Use one copy of the Licensed Content on the licensed Device solely for
your own personal training Use and for preparation of an Authorized Training Session.
B. Portable Device. You may install another copy on a portable device solely for your own
personal training Use and for preparation of an Authorized Training Session.
4. PRE-RELEASE VERSIONS. If this is a pre-release (“beta”) version, in addition to the other provisions
in this agreement, these terms also apply:
a. Pre-Release Licensed Content. This Licensed Content is a pre-release version. It may not
contain the same information and/or work the way a final version of the Licensed Content will. We
may change it for the final, commercial version. We also may not release a commercial version.
You will clearly and conspicuously inform any Students who participate in each Authorized Training
Session of the foregoing; and, that you or Microsoft are under no obligation to provide them with
any further content, including but not limited to the final released version of the Licensed Content
for the Course.
b. Feedback. If you agree to give feedback about the Licensed Content to Microsoft, you give to
Microsoft, without charge, the right to use, share and commercialize your feedback in any way and
for any purpose. You also give to third parties, without charge, any patent rights needed for their
products, technologies and services to use or interface with any specific parts of a Microsoft
software, Licensed Content, or service that includes the feedback. You will not give feedback that is
subject to a license that requires Microsoft to license its software or documentation to third parties
because we include your feedback in them. These rights survive this agreement.
c. Confidential Information. The Licensed Content, including any viewer, user interface, features
and documentation that may be included with the Licensed Content, is confidential and proprietary
to Microsoft and its suppliers.
i. Use. For five years after installation of the Licensed Content or its commercial release,
whichever is first, you may not disclose confidential information to third parties. You may
disclose confidential information only to your employees and consultants who need to know
the information. You must have written agreements with them that protect the confidential
information at least as much as this agreement.
ii. Survival. Your duty to protect confidential information survives this agreement.
iii. Exclusions. You may disclose confidential information in response to a judicial or
governmental order. You must first give written notice to Microsoft to allow it to seek a
protective order or otherwise protect the information. Confidential information does not
include information that
• becomes publicly known through no wrongful act;
• you received from a third party who did not breach confidentiality obligations to
Microsoft or its suppliers; or
• you developed independently.
d. Term. The term of this agreement for pre-release versions is (i) the date which Microsoft informs
you is the end date for using the beta version, or (ii) the commercial release of the final release
version of the Licensed Content, whichever is first (“beta term”).
e. Use. You will cease using all copies of the beta version upon expiration or termination of the beta
term, and will destroy all copies of same in the possession or under your control and/or in the
possession or under the control of any Trainers who have received copies of the pre-released
version.
f. Copies. Microsoft will inform Authorized Learning Centers if they may make copies of the beta
version (in either print and/or CD version) and distribute such copies to Students and/or Trainers. If
Microsoft allows such distribution, you will follow any additional terms that Microsoft provides to you
for such copies and distribution.
5. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
a. Authorized Learning Centers and Trainers:
i. Software.
ii. Virtual Hard Disks. The Licensed Content may contain versions of Microsoft XP, Microsoft
Windows Vista, Windows Server 2003, Windows Server 2008, and Windows 2000 Advanced
Server and/or other Microsoft products which are provided in Virtual Hard Disks.
A. If the Virtual Hard Disks and the labs are launched through the Microsoft
Learning Lab Launcher, then these terms apply:
Time-Sensitive Software. If the Software is not reset, it will stop running based upon the
time indicated on the install of the Virtual Machines (between 30 and 500 days after you
install it). You will not receive notice before it stops running. You may not be able to
access data used or information saved with the Virtual Machines when it stops running and
may be forced to reset these Virtual Machines to their original state. You must remove the
Software from the Devices at the end of each Authorized Training Session and reinstall and
launch it prior to the beginning of the next Authorized Training Session.
B. If the Virtual Hard Disks require a product key to launch, then these terms
apply:
Microsoft will deactivate the operating system associated with each Virtual Hard Disk.
Before installing any Virtual Hard Disks on classroom Devices for use during an Authorized
Training Session, you will obtain from Microsoft a product key for the operating system
software for the Virtual Hard Disks and will activate such Software with Microsoft using such
product key.
C. These terms apply to all Virtual Machines and Virtual Hard Disks:
You may only use the Virtual Machines and Virtual Hard Disks if you comply with
the terms and conditions of this agreement and the following security
requirements:
o You may not install Virtual Machines and Virtual Hard Disks on portable Devices or
Devices that are accessible to other networks.
o You must remove Virtual Machines and Virtual Hard Disks from all classroom Devices at
the end of each Authorized Training Session, except those held at Microsoft Certified
Partners for Learning Solutions locations.
o You must remove the differencing drive portions of the Virtual Hard Disks from all
classroom Devices at the end of each Authorized Training Session at Microsoft Certified
Partners for Learning Solutions locations.
o You will ensure that the Virtual Machines and Virtual Hard Disks are not copied or
downloaded from Devices on which you installed them.
o You will strictly comply with all Microsoft instructions relating to installation, use,
activation and deactivation, and security of Virtual Machines and Virtual Hard Disks.
o You may not modify the Virtual Machines and Virtual Hard Disks or any contents
thereof.
o You may not reproduce or redistribute the Virtual Machines or Virtual Hard Disks.
ii. Classroom Setup Guide. You will assure any Licensed Content installed for use during an
Authorized Training Session will be done in accordance with the classroom set-up guide for the
Course.
iii. Media Elements and Templates. You may allow Trainers and Students to use images, clip
art, animations, sounds, music, shapes, video clips and templates provided with the Licensed
Content solely in an Authorized Training Session. If Trainers have their own copy of the
Licensed Content, they may use Media Elements for their personal training use.
iv. iv Evaluation Software. Any Software that is included in the Student Content designated as
“Evaluation Software” may be used by Students solely for their personal training outside of the
Authorized Training Session.
b. Trainers Only:
i. Use of PowerPoint Slide Deck Templates. The Trainer Content may include Microsoft
PowerPoint slide decks. Trainers may use, copy and modify the PowerPoint slide decks only for
providing an Authorized Training Session. If you elect to exercise the foregoing, you will agree
or ensure Trainer agrees: (a) that modification of the slide decks will not constitute creation of
obscene or scandalous works, as defined by federal law at the time the work is created; and
(b) to comply with all other terms and conditions of this agreement.
ii. Use of Instructional Components in Trainer Content. For each Authorized Training
Session, Trainers may customize and reproduce, in accordance with the MCT Agreement, those
portions of the Licensed Content that are logically associated with instruction of the Authorized
Training Session. If you elect to exercise the foregoing rights, you agree or ensure the Trainer
agrees: (a) that any of these customizations or reproductions will only be used for providing an
Authorized Training Session and (b) to comply with all other terms and conditions of this
agreement.
iii. Academic Materials. If the Licensed Content contains Academic Materials, you may copy and
use the Academic Materials. You may not make any modifications to the Academic Materials
and you may not print any book (either electronic or print version) in its entirety. If you
reproduce any Academic Materials, you agree that:
• The use of the Academic Materials will be only for your personal reference or training use
• You will not republish or post the Academic Materials on any network computer or
broadcast in any media;
• You will include the Academic Material’s original copyright notice, or a copyright notice to
Microsoft’s benefit in the format provided below:
Form of Notice:
© 2008 Reprinted for personal reference use only with permission by Microsoft
Corporation. All rights reserved.
Microsoft, Windows, and Windows Server are either registered trademarks or
trademarks of Microsoft Corporation in the US and/or other countries. Other
product and company names mentioned herein may be the trademarks of their
respective owners.
6. INTERNET-BASED SERVICES. Microsoft may provide Internet-based services with the Licensed
Content. It may change or cancel them at any time. You may not use these services in any way that
could harm them or impair anyone else’s use of them. You may not use the services to try to gain
unauthorized access to any service, data, account or network by any means.
7. SCOPE OF LICENSE. The Licensed Content is licensed, not sold. This agreement only gives you some
rights to use the Licensed Content. Microsoft reserves all other rights. Unless applicable law gives you
more rights despite this limitation, you may use the Licensed Content only as expressly permitted in this
agreement. In doing so, you must comply with any technical limitations in the Licensed Content that
only allow you to use it in certain ways. You may not
• install more copies of the Licensed Content on classroom Devices than the number of Students and
the Trainer in the Authorized Training Session;
• allow more classroom Devices to access the server than the number of Students enrolled in and the
Trainer delivering the Authorized Training Session if the Licensed Content is installed on a network
server;
• copy or reproduce the Licensed Content to any server or location for further reproduction or
distribution;
• disclose the results of any benchmark tests of the Licensed Content to any third party without
Microsoft’s prior written approval;
• work around any technical limitations in the Licensed Content;
• reverse engineer, decompile or disassemble the Licensed Content, except and only to the extent
that applicable law expressly permits, despite this limitation;
• make more copies of the Licensed Content than specified in this agreement or allowed by applicable
law, despite this limitation;
• publish the Licensed Content for others to copy;
• transfer the Licensed Content, in whole or in part, to a third party;
• access or use any Licensed Content for which you (i) are not providing a Course and/or (ii) have not
been authorized by Microsoft to access and use;
• rent, lease or lend the Licensed Content; or
• use the Licensed Content for commercial hosting services or general business purposes.
• Rights to access the server software that may be included with the Licensed Content, including the
Virtual Hard Disks does not give you any right to implement Microsoft patents or other Microsoft
intellectual property in software or devices that may access the server.
8. EXPORT RESTRICTIONS. The Licensed Content is subject to United States export laws and
regulations. You must comply with all domestic and international export laws and regulations that apply
to the Licensed Content. These laws include restrictions on destinations, end users and end use. For
additional information, see www.microsoft.com/exporting.
9. NOT FOR RESALE SOFTWARE/LICENSED CONTENT. You may not sell software or Licensed
Content marked as “NFR” or “Not for Resale.”
10. ACADEMIC EDITION. You must be a “Qualified Educational User” to use Licensed Content marked as
“Academic Edition” or “AE.” If you do not know whether you are a Qualified Educational User, visit
www.microsoft.com/education or contact the Microsoft affiliate serving your country.
11. TERMINATION. Without prejudice to any other rights, Microsoft may terminate this agreement if you
fail to comply with the terms and conditions of these license terms. In the event your status as an
Authorized Learning Center or Trainer a) expires, b) is voluntarily terminated by you, and/or c) is
terminated by Microsoft, this agreement shall automatically terminate. Upon any termination of this
agreement, you must destroy all copies of the Licensed Content and all of its component parts.
12. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-
based services and support services that you use, are the entire agreement for the Licensed
Content and support services.
13. APPLICABLE LAW.
a. United States. If you acquired the Licensed Content in the United States, Washington state law
governs the interpretation of this agreement and applies to claims for breach of it, regardless of
conflict of laws principles. The laws of the state where you live govern all other claims, including
claims under state consumer protection laws, unfair competition laws, and in tort.
b. Outside the United States. If you acquired the Licensed Content in any other country, the laws
of that country apply.
14. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the
laws of your country. You may also have rights with respect to the party from whom you acquired the
Licensed Content. This agreement does not change your rights under the laws of your country if the
laws of your country do not permit it to do so.
15. DISCLAIMER OF WARRANTY. The Licensed Content is licensed “as-is.” You bear the risk of
using it. Microsoft gives no express warranties, guarantees or conditions. You may have
additional consumer rights under your local laws which this agreement cannot change. To
the extent permitted under your local laws, Microsoft excludes the implied warranties of
merchantability, fitness for a particular purpose and non-infringement.
16. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM
MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT
RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL,
INDIRECT OR INCIDENTAL DAMAGES.
This limitation applies to
• anything related to the Licensed Content, software, services, content (including code) on third party
Internet sites, or third party programs; and
• claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence,
or other tort to the extent permitted by applicable law.
It also applies even if Microsoft knew or should have known about the possibility of the damages. The
above limitation or exclusion may not apply to you because your country may not allow the exclusion or
limitation of incidental, consequential or other damages.
Please note: As this Licensed Content is distributed in Quebec, Canada, some of the clauses in
this agreement are provided below in French.
Remarque : Ce le contenu sous licence étant distribué au Québec, Canada, certaines des clauses
dans ce contrat sont fournies ci-dessous en français.
EXONÉRATION DE GARANTIE. Le contenu sous licence visé par une licence est offert « tel quel ». Toute
utilisation de ce contenu sous licence est à votre seule risque et péril. Microsoft n’accorde aucune autre
garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection dues
consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties
implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont
exclues.
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES
DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de
dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation
pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de
bénéfices.
Cette limitation concerne:
• tout ce qui est relié au le contenu sous licence , aux services ou au contenu (y compris le code)
figurant sur des sites Internet tiers ou dans des programmes tiers ; et
• les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte,
de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur.
Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel
dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages
indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne
s’appliquera pas à votre égard.
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits
prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de
votre pays si celles-ci ne le permettent pas.
Configuring and Troubleshooting Microsoft® Windows Server® 2008 Terminal Services xi
Contents
Module 1: Configuring Terminal Services Core Functionality
Lesson 1: Configuring the TS Server Role Service 1-3
Lesson 2: Configuring the TS Settings 1-20
Lab: Configuring TS Core Functionality 1-25
Course Description
This two-day instructor-led course introduces you to Microsoft® Windows Server®
2008 Terminal Services. The course prepares you for configuring and managing
the TS roles—TS licensing, Gateway, and Web Access—as well as monitoring and
troubleshooting a TS environment.
Audience
The primary audiences for this course include Technology Specialists in an
enterprise environment as well as individuals who are assuming a new role
requiring skills to manage connections served by a terminal server session over the
intranet, extranet, and Internet.
Student Prerequisites
This course requires that you meet the following prerequisites:
• Course 6420: Fundamentals of a Windows Server 2008 Network
Infrastructure and Application Platform
• Course 6421: Configuring and Troubleshooting a Windows Server 2008
Network Infrastructure
or
• Microsoft Windows Server 2003 Terminal Server experience in an enterprise
environment as follows:
• Minimum of one year of experience in administering and supporting TS
• Minimum of one year of experience in administering and supporting
Windows Server 2003 or Windows Server 2003 R2
• Minimum of one year of experience in administering certificate services
• Network + certification
xiv About This Course
Course Outline
This section provides an outline of the course:
Module 1, "Configuring Terminal Services Core Functionality" prepares you for
installing and configuring the TS role. The module also introduces the new core
functionality in TS, lists the considerations for using a standalone instance and a
farm, and briefly explains how to configure the TS settings.
Module 2, "Configuring and Managing Terminal Services Licensing" introduces
you to TS Licensing and covers how the license server and terminal server need to
be configured for issuing and managing licenses. The module also includes
installing Per User and Per Device TS Client Access Licenses (CALs) on the license
server as well as managing the licensing lifecycle.
Module 3, "Configuring and Troubleshooting Terminal Services Connections"
introduces the connection properties that can be set by using either the Terminal
Services Configuration snap-in or Group Policy. Besides setting these properties,
the module also covers configuring the authentication and encryption levels,
Desktop Experience and Plug and Play (PnP) Device Redirection Framework, and
Single Sign-On (SSO) for user profiles. The module ends with troubleshooting
connectivity issues.
About This Course xv
Note: To access the Course CD, insert the CD into the CD-ROM drive, and then in the
root directory of the CD, double-click StartCD.exe.
• Course evaluation. At the end of the course, you will have the opportunity to
complete an online evaluation to provide feedback on the course, training
facility, and instructor.
Important: At the end of each lab, you must close the virtual machine and must not save
any changes. To close a virtual machine without saving the changes, perform the
following steps:
1. On the host computer, click Start, point to All Programs, point to Microsoft Virtual
Server, and then click Virtual Server Administration Website.
2. Under Navigation, click Master Status. For each virtual machine that is running,
point to the virtual machine name, and, in the context menu, click Turn off
Virtual Machine and Discard Undo Disks. Click OK.
About This Course xvii
Software Configuration
The following software is installed on each virtual machine:
• Windows Server 2008 Enterprise
Classroom Setup
Each classroom computer will have the same virtual machine configured in the
same way.
Key Points
TS in Windows Server 2008 allows users to connect to a server running Windows-
based programs or the full Windows desktop.
In addition, Windows Server 2008 TS also provides:
• A secure and encrypted connection between remote users and the resources
on a local network.
• Support for Embedded Point of Service (POS) device redirection.
• Support for Network Access Protection (NAP) that enforces network
authentication.
• A new role management tool and an improved scalable spooler.
Configuring Terminal Services Core Functionality 1-5
Key Points
You can install the TS server role service by using the Server Manager, if no other
TS role services, such as TS Gateway and TS Licensing, are installed on the server.
If a TS role service is already installed on the server, the Terminal Services check
box will be selected and dimmed. You then need to select the "To install the
Terminal Server role server when Terminal Services is already installed" option.
For more information about installing the TS server role, see "Terminal
Server Installation" on the Microsoft TechNet Web site.
Configuring Terminal Services Core Functionality 1-7
Key Points
Two types of authentication modes can be used on a terminal server:
• User authentication supported by password, smart card, Windows NT LAN
Manager (NTLM), and one-time password (OTP) over encrypted channels
• Host level authentication supported by Kerberos and Secure Sockets Layer
(SSL) or Transport Layer Security (TLS) certificates
NTLM authentication is mostly used for stand-alone systems on the network. The
Kerberos authentication protocol provides a more secure network connection than
traditional authentication methods.
1-8 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Note: Besides providing the Basic authentication method, Windows Server 2008 also
provides Network Level Authentication. If you select this method, only clients running
Windows Server 2008 or Microsoft Windows Vista with RDC version 6.0, or later, will be
able to connect to the terminal server.
Key Points
The following are the requirements for configuring TS core functionality on the
client:
• High resolution monitors, such as super video graphics array (SVGA) or
1680 x 1050 or 1920 x 1200
• Windows portable devices
• Embedded POS for .NET devices
1-10 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
RDC 6.1:
• Is available with Windows Server 2008 and Windows Vista with SP1.
• Supports Remote Desktop Protocol (RDP) 6.1 on the client computer.
Key Points
Both RDC 6.0 and RDC 6.1 support higher-resolution desktops and provide for
spanning of multiple monitors horizontally to form a single large desktop.
You can also set a custom display resolution in a .rdp file using the RemoteApp
Microsoft Management Console (MMC) or at the command prompt.
To set a custom display resolution in a .rdp file by using a text editor, add or
change the following settings:
desktopwidth:i:<width>
desktopheight:i:<height>
To set a custom display resolution at the command prompt, use the mstsc.exe
command as follows:
You can enable spanning of the same session across multiple monitors by
changing the settings in a .rdp file or at the command prompt.
To set spanning in a .rdp file using a text editor, add or modify the following
setting:
Span:i:<num>
mstsc.exe /span
Question: In which scenarios, would custom display resolution and spanning help
in an organization?
Key Points
In Windows Server 2008 TS, you can further enhance the end-user’s experience of
connecting to a remote desktop with the Desktop Experience feature. This feature
provides the functionality of Windows Vista such as Windows Media® Player 11,
desktop themes, and photo management.
The TS client computers with Windows Vista include the Windows Aero™
interface that shows:
• Translucent glass windows
• Customized lightweight window colors
• Open windows in a three-dimensional stack on the desktop
• Subtle animations supporting the repositioning of windows
Configuring Terminal Services Core Functionality 1-15
Windows Server 2008 also provides the ClearType® feature that is now supported
over RDP. This feature works by smoothing the characters, thus making it easier to
read text on LCD screens. Because this feature was not supported over RDP prior
to Windows Server 2008, text over TS was displayed in low resolution.
The smoothing of fonts is also available on client computers having:
• Windows Vista
• Windows Server 2003 with SP1 and SP2 and RDC 6.0
• Windows XP with SP2 and RDC 6.0
1-16 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
The new PnP Redirection Framework provided in Windows Server 2008 enhances
the PnP device redirection over RDP. The PnP device redirection, however, is not
available for nested terminal server connections. For example, a client computer
with a PnP device is redirected to a session with terminal server 1. The client then
connects to another session with terminal server 2 from within the terminal server
1 session. The PnP device will not be available for this session with terminal server
2. Windows Server 2008 also redirects devices that use POS for .NET1.11.
Note: POS redirection is not supported if the terminal server has x86-based version of
Windows Server 2008.
Configuring Terminal Services Core Functionality 1-17
redirectposdevices:i <value>
In the above syntax, if <value> = 0, POS for .NET device redirection is disabled and
if the <value> =1, it is enabled.
For more information about device redirection, see "Plug and Play
Device Redirection for Media Players and Digital Cameras" and
"Microsoft Point of Service for .NET Device Redirection" on the Microsoft
TechNet Web site.
1-18 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
The TS sever role service can be installed on a single server as a standalone
instance. Alternatively, you can implement a TS farm comprising multiple terminal
servers to facilitate load balancing in a large organization. Windows Server 2008
provides the TS Session Broker role service that allows administrators to load
balance sessions between terminal servers in a farm. TS Session Broker stores
information related to the state of a session. This information is used to distribute
the sessions evenly between the terminal servers.
Question: What problems do you anticipate if a standalone instance is used as a
terminal server in an organization having many branches?
Configuring Terminal Services Core Functionality 1-19
After installing the TS server role service, you can start configuring the TS settings
according to your organization’s requirements. To take maximum advantage of TS,
you need to plan what type of applications you would require to run on the
terminal server. You can even configure a specific program to start when you start a
session on the terminal server. To enhance the performance of the terminal server,
you can restrict the number of simultaneous remote connection sessions on the
terminal server. You can configure these settings on TS by using the Terminal
Services Configuration snap-in.
Configuring Terminal Services Core Functionality 1-21
Question: Which program would you want to launch at the start of a TS session in
your organization?
1-22 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
It is a best practice to configure the maximum number of sessions that can connect
to the server by using Group Policy. Any modifications in Group Policy should be
validated before applying them to users and computers. As an administrator, you
can invoke Group Policy by using the Active Directory Users and Computers snap-
in on the computer that has the domain controller.
Question: What kind of problems do users encounter when there are too many
remote connections?
Configuring Terminal Services Core Functionality 1-23
Key Points
The Terminal Services Configuration snap-in can be used to edit settings such as
security, session timeouts, and encryption levels based on the connection. To
configure RDP-Tcp Connections, you can use the following tabs in the RDP-Tcp
Properties dialog box:
• General
• Log On Settings
• Sessions
• Environment
• Security
1-24 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
For more information about configuring TS, see "Windows Server 2008
RC0 TS Session Broker Load Balancing Step-by-Step Guide" and
"Configuring License Settings on a Terminal Services" on the Microsoft
TechNet Web site.
Configuring Terminal Services Core Functionality 1-25
Overarching Scenario
You are the Windows Application Platform Services technology specialist for
Woodgrove Bank, which has a presence in America, Europe, the Middle East, Africa
(EMEA), and Asia. Woodgrove Bank's information technology (IT) department is
responsible for maintaining the database, applications, user authentication, Group
Policy, and permissions. It is also responsible for the performance of the server and
enterprise infrastructure.
Currently, you are using simple RDP or any third party utility to control the remote
console. You install all programs on all client computers, which is time consuming.
It is also difficult to maintain and upgrade all the applications on every individual
machine. Therefore, the management has advised you to implement the Windows
Server 2008 TS environment. Installing TS would increase productivity and ensure
optimal utilization of the network bandwidth to access remote applications. As a
technology specialist in Woodgrove Bank’s IT department, you have been tasked
with installing and configuring the TS environment.
1-26 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will install and configure the TS core functionality at the New
York head office.
The main tasks for this exercise are as follows:
1. Start the 6428A-NYC-DC1-01 and 6428A-NYC-TS-01 virtual machines and log
on to these machines as Administrator.
2. Install the TS server role service.
3. Configure authentication on the terminal server.
4. Configure the default credentials to be used on the terminal server.
5. Create a .rdp file and configure custom display.
6. Enable ClearType and Font smoothing.
7. Enable support for PnP redirection.
8. Install and configure WSRM.
9. Install the Desktop Experience.
10. Remotely connect to TS by using RDC.
Configuring Terminal Services Core Functionality 1-27
Note: Wait for the domain controller virtual machine, 6428A-NYC-DC1-01, logon screen
to appear before starting 6428A-NYC-TS-01 VM.
Results: After this exercise, you should have configured the TS settings.
1-30 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will configure the TS settings and the session broker settings.
The main tasks for this exercise are as follows:
1. Specify the program to start when a user logs on to a remote session.
2. Configure the TS settings by using the Terminal Services Configuration snap-
in.
3. Modify the default permissions for built-in accounts.
4. Configure the Session Broker settings.
5. Shut down the virtual machines.
Note: After this exercise, you should have configured the TS settings.
Configuring Terminal Services Core Functionality 1-33
Key Points
In large organizations, the TS license server is different from the terminal server.
An organization needs to deploy at least one license server to issue licenses to
users and devices wanting to connect to the terminal server. A license server can
concurrently serve many terminal servers.
Note: A terminal server running Windows Server 2008 cannot communicate with a
license server running Windows Server 2003. A terminal server running Windows Server
2003 can, however, communicate with a license server running Windows Server 2008.
For more information about the TS Licensing role, see "TS Licensing" on
the Microsoft TechNet Web site.
Configuring and Managing Terminal Services Licensing 2-5
Key Points
The TS Licensing Manager snap-in requires minimum 10 MB of CPU memory for
its transactions. The license database increases by 5 MB with the issuance of every
6,000 TS CALs. The license server is active only when it receives a request for a TS
CAL from the terminal server.
For more information about the TS Licensing Manager snap-in, see "TS
Licensing" on the Microsoft TechNet Web site.
2-6 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
The two types of TS CALs, Per Device and Per User, are obtained as follows:
1. When a user or device connects to the terminal server, the terminal server first
determines whether a TS CAL is required.
2. If a TS CAL is required, then the terminal server requests the CAL from the
license server.
3. After receiving the TS CAL, the terminal server:
• Delivers the TS CAL to the client device in case of a Per Device TS CAL.
• Stores the information as part of the user account in the Active Directory
Domain Services in case of a Per User TS CAL.
Configuring and Managing Terminal Services Licensing 2-7
Note: Active Directory Domain Services can be based on either Windows Server 2008 or
Windows Server 2003, and no updates to its schema are required for generating tracking
reports of the Per User TS CALs.
2-8 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
The TS Licensing database should be located on the same computer on which the
TS licensing role service is being installed.
The TS Licensing Manager snap-in is automatically installed when you install the
TS licensing role service. You can also manage your license servers from a remote
computer running Windows Server 2008 by installing the TS Licensing Manager
snap-in on that computer.
You need to activate a license server only once. While waiting for the activation
process to complete, the license server can issue temporary TS CALs that allow
clients to use the terminal server for 120 days.
Configuring and Managing Terminal Services Licensing 2-9
Note: To install the TS Licensing role service, you should be a member of the
Administrators group.
For more information about installing the TS Licensing role service, see
"Activating a Terminal Services License Server" and "Terminal Services
License Server Discovery" on the Microsoft TechNet Web site.
2-10 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
The TS licensing mode, Per Device or Per User, can be set:
• During the installation of the TS server role service.
• By using the Terminal Services Configuration snap-in.
• By using Group Policy.
Note: The TS licensing mode on the terminal server should be the same as that on the
license server.
Note: A user connecting to a terminal server in a Per User licensing mode should have a
TS Per User CAL. If the user does not have TS Per User CAL for the terminal server, the
terminal server will contact the license server for the required Per User CAL.
Question: Can you change the TS Per Device CAL to a TS Per User CAL on your
license server?
For more information about configuring the terminal server for licensing,
see "Configuring License Settings on a Terminal Server" on the Microsoft
TechNet Web site.
2-12 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
After installing and configuring the TS licensing role service, you need to manage
the licensing lifecycle. For this, you will be required to track the issuance of the TS
Per User CALs.
You might also need to judiciously revoke device licenses and reallocate them, as
required. While managing the license server, you can troubleshoot licensing issues
related to the license server by using the Review Configuration snap-in.
Configuring and Managing Terminal Services Licensing 2-13
To manage the TS licensing, you can perform the following tasks by using the TS
Licensing Manager snap-in:
• Change the properties such as the connection method used to communicate
with the Microsoft Clearing House and the mandatory and optional
information about your organization.
• Change the discovery scope: domain or forest.
• Review the configuration of the license server.
• Control the issuance of TS CALs.
• Track the issuance of TS CALs.
• Revoke the Per Device TS CALs.
2-14 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Note: You cannot revoke a Per User TS CAL. After you have revoked a Per Device TS CAL,
it will be immediately available for issuance to another device. You must not revoke
licenses only to ensure that there are enough licenses available to support the
requirement.
Other generic tasks that you can perform to manage TS licensing are:
• Back up a TS license server
• Move TS licensing to a new server
• Uninstall the TS licensing role service
Key Points
You can use the Review Configuration tool to identify problems on the license
server related to the:
• Discovery scope
• Issuance of the TS CALs to devices or users
• Tracking and reporting of the issuance of the TS CALs
You can use the Licensing Diagnosis tool to analyze the following information on
the terminal server:
• Configuration of the terminal server
• License servers that the terminal server discovered
• Configuration information of the license servers
• Licensing issues with possible solutions
2-16 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Overarching Scenario
You have configured TS for Woodgrove Bank. To support the TS environment you
need to install the TS licensing role. The TS licensing role will enable you to
determine the TS client access licenses (CALs) that are required for each device or
user to connect to the terminal server. You need to use this role to install, issue,
and monitor the availability of TS CALs on a TS license server.
2-18 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
f Task 3: Activate the license server and install TS Per Device CALs by
using telephone
1. On the terminal server, activate the license server in the TS Licensing
Manager snap-in.
2. On the Connection Method page, select the connection method Telephone.
Configuring and Managing Terminal Services Licensing 2-19
The Status column for the TS Per Device CAL will show a status of Revoked when
the TS Licensing Manager display is refreshed.
Results: After this demonstration, you should have seen how to install the license
server and add a device to the HR group. Then you saw how to activate the license
server, and install TS CALs by using the telephone. Then you should have seen how to
configure the Per Device mode and the licensing server discovery mode on the
terminal server. Finally, you saw how to revoke a Per Device CAL.
Configuring and Managing Terminal Services Licensing 2-21
After configuring TS Licensing on the terminal server, you need to set the TS
connection properties on the terminal server as well as the clients. This module
introduces the connection properties that can be set by using either the Terminal
Services Configuration snap-in or Group Policy.
Besides setting these properties, it is also important to configure the authentication
and encryption levels for the TS connections between the terminal server and the
clients.
When configuring the client settings, you might also want to enhance the user
experience by enabling the Desktop Experience and Plug and Play (PnP) Device
Redirection Framework.
In addition, configuring Single Sign-On (SSO) for user profiles can be helpful in
reducing administrative effort.
As an administrator, you will also need to perform some checks to identify and
troubleshoot connectivity issues.
Configuring and Troubleshooting Terminal Services Connections 3-3
You can use the Terminal Services Configuration snap-in to configure and
administer TS connection properties such as the maximum number of
simultaneous connections and time-out and reconnection settings.
Using this snap-in, you can also configure authentication and encryption levels for
clients to minimize security risks over remote connections. Also, configuring the
Desktop Experience and enabling PnP device redirection help to enhance the user
experience on TS.
3-4 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
In a TS environment, you can configure the TS properties such as the TS
connection properties, device and resource redirection, remote session
environments, session time limits, and user profiles. These TS properties can be
configured both by administrators and standard users. The User Account Control
(UAC) feature of Microsoft Windows Server 2008 displays a prompt for the
credentials of an administrator or equivalent account.
If you are logged on as an administrator, you will be provided with two access
tokens: an administrator token and a standard user access token. The
administrator token is used only when you attempt to perform administrative
tasks.
Configuring and Troubleshooting Terminal Services Connections 3-5
Key Points
You can use either Group Policy or the Terminal Services Configuration snap-in to
configure the TS connection properties on the terminal server and clients. The TS
connection properties set by using Group Policy always override the settings
configured by using the Terminal Services Configuration snap-in.
The TS connection properties can be set for a specific user and at the server level. If
both user and server settings are configured, the server settings take precedence.
By using the Terminal Services Configuration snap-in, you can configure:
• A new connection
• Automatic logon to the server by a user
• Authentication of the terminal server
Configuring and Troubleshooting Terminal Services Connections 3-7
Key Points
The default TS settings allow an unlimited number of sessions to connect to the
server. This affects the performance of the terminal server as multiple sessions
demand system resources. To improve performance, therefore, you can restrict the
number of sessions.
When using the Terminal Services Configuration snap-in to perform this
procedure, you need to be a member of the administrators group on the local
computer.
Question: Which connection setting can result in the loss of data at the client side?
Key Points
To configure the authentication and encryption levels for clients, you will require a
certificate from a certification authority (CA).
In Windows Server 2008, the terminal server uses native Remote Desktop Protocol
(RDP) for encryption. However, RDP does not authenticate the identity of the
terminal server. You, therefore, need to configure the terminal server and clients to
use Transport Layer Security (TLS) 1.0 for server authentication and encryption of
the terminal server communications.
Note: You can enable TLS only by using the Terminal Services Configuration snap-in. You
cannot use Group Policy to enable TLS authentication.
Configuring and Troubleshooting Terminal Services Connections 3-11
You can configure four levels of encryption by using the Terminal Services
Configuration snap-in:
• Federal Information Processing Standard (FIPS)-compliant
• High
• Client Compatible
• Low
Key Points
To further enhance the user’s experience in TS, you can install and configure the
Desktop Experience. For features such as Windows Media® Player and Desktop
Themes, you will have to enable audio redirection. The audio redirection setting is
available on the Client Settings tab in the Properties page of the required
connection in the Terminal Services Configuration snap-in. You can also use Group
Policy to configure this setting.
Note: The Sound Recorder feature of Microsoft Windows Vista is not supported by RDP.
Desktop Experience does not enable any of the Windows Vista features automatically;
you need to enable them manually.
Configuring and Troubleshooting Terminal Services Connections 3-13
Key Points
You can control the PnP device redirection framework on the Client Settings tab in
the Properties page of the required connection in the Terminal Services
Configuration snap-in.
To redirect devices that use Microsoft Point of Service (POS) for .NET 1.11:
1. Install POS for .NET 1.11.
2. Install the .NET service objects or XML configuration files required by the POS
for .NET device.
3. Stop and start the Terminal Services UserMode Port Redirector service in the
Terminal Services Configuration snap-in.
Configuring and Troubleshooting Terminal Services Connections 3-15
Key Points
Although most TS connection properties can be set by using the Terminal Services
Configuration snap-in, you might want to set these by using Group Policy. The
choice of method can depend on the complexity of your TS environment. Using
Group Policy is often considered to be a simpler approach to configuring TS,
especially in an environment with multiple terminal servers and users.
By using Group Policy, you can configure properties such as the maximum
number of sessions, encryption level, automatic start program, remote control,
time-out and reconnection, and some other client settings such as connection
drives and printers. In addition, you can also configure the following settings:
• Specifying the interval for the session to be kept alive and keeping it consistent
with the client state
• Removing the Disconnect item from the Shut Down dialog box
• Disabling smart card device redirection
3-18 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
The security benefit provided by SSO is that a user needs to log on to the domain
only once by using a password. Subsequently, the user will be authenticated on
any server in the domain. For administrators, this feature minimizes the
administrative effort required to maintain a user account.
For more information about SSO, see "Single Sign-On for Terminal
Services" on the Microsoft TechNet Web site.
3-20 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
As an administrator, for configuring SSO, you need to ensure that the client
computers should be either Windows Vista-based or Windows Server 2008-based
computers, and the users have appropriate rights to log on to both the client and
server. SSO can also be used on the client computers and terminal server that are
part of a domain.
You also need to note that Windows Server 2008 provides Credential Security
Service Provider (CredSSP) that supports SSO. By using this feature, you can
securely save your credentials for later use.
Configuring and Troubleshooting Terminal Services Connections 3-21
Key Points
Depending on the connectivity problem, you can perform troubleshooting steps
such as checking the RDP settings, analyzing event and error logs, and verifying
licenses, policies, permissions, and encryption levels.
In addition, you can perform the following troubleshooting steps:
• Use the Terminal Services Manager to view users connected to the terminal
server.
• Identify and fix connectivity problems between the terminal server and
domain controller by using the ping command.
• Use the ping command to determine connectivity problems with other
computers.
• Start the Device Manager by using the devmgmt.msc command, and check the
status of the network adapter.
3-24 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
For example, if a user logon request is denied, as an administrator you can check if
the Allow all connections option is selected on the General tab in the Terminal
Services Configuration snap-in.
Another common connectivity issue is the failure of authentication when a user
tries to reconnect to the terminal server. In this case, you can verify the user
accounts connected to the terminal server on the Users tab in the Terminal
Services Configuration snap-in.
Configuring and Troubleshooting Terminal Services Connections 3-25
Overarching Scenario
You receive a service request from the enterprise administrator to configure the
connection settings for TS. As an administrator, you need to configure connection
permissions, SSO, client settings, and time-out and reconnection settings, as
defined in the service request. These connection settings will enable you to
efficiently manage connections to remote applications. To avoid overloading of the
terminal server, you need to set permissions for all users and restrict the number of
sessions.
3-26 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will configure the TS connection properties by using the
Terminal Services Configuration snap-in.
The main tasks for this exercise are as follows:
1. Start the 6428A-NYC-DC1-01 and the 6428A-NYC-TS- 03 virtual machines and
log on to these machines as Administrator.
2. Configure the TS connection properties by using the Terminal Services
Configuration snap-in.
Note: Wait for the domain controller, 6428A-NYC-DC1-01, logon screen to appear
before starting the 6428A-NYC-TS-03 virtual machine.
Configuring and Troubleshooting Terminal Services Connections 3-27
Results: After this exercise, you should have configured the connection properties.
3-28 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will configure the TS connection properties by using Group
Policy.
The main tasks for this exercise are as follows:
1. Configure the TS connection properties.
2. Verify that a maximum of two clients can connect to the terminal server.
Results: After this exercise, you should have configured the TS connection properties
by using server Group Policy.
3-30 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
The main task for this exercise is to configure SSO by using client Group Policy.
Results: After this exercise, you should have configured SSO by using client Group
Policy.
Configuring and Troubleshooting Terminal Services Connections 3-31
Exercise Overview
In this exercise, you will troubleshoot connectivity issues.
The main tasks for this exercise are as follows:
1. Verify the RDP settings and check the event logs.
2. Verify the user and group permissions and policy settings.
3. Verify that the users are able to log on with the updated settings.
4. Shut down the virtual machines.
f Task 1: Verify the RDP settings and check the event logs
1. On 6428A-NYC-TS-03, start TS RemoteApp Manager.
2. Verify that the RDP Port for NYC-TS.WoodgroveBank.Com is 3389.
3. Start Event Viewer by using the eventvwr command.
4. Check the details under Application.
f Task 2: Verify the user and group permissions and policy settings
1. On 6428A-NYC-DC1-01, start the Active Directory Users and Computers
snap-in.
2. Under Marketing, reset the password for Monika Buschmann to
Pass@word1.
3-32 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
f Task 3: Verify that users are able to log on with the updated settings
1. On 6428A-NYC-DC1-01, start Remote Desktop Connection by using the
mstsc command.
2. Connect to Nyc-ts and log on as Monika with the password as Pass@word1.
3. Log on as the second user, Dana with the password as Pa$$w0rd.
Results: After this exercise, you should have used troubleshooting techniques to
resolve connectivity issues.
Configuring and Troubleshooting Terminal Services Connections 3-33
Before installing programs on the terminal server, it is important that you are
familiar with the types of applications that can be installed and considerations for
installing these applications. This module provides an overview of TS RemoteApp
programs that can be remotely accessed through TS, advantages of using these
programs, and the methods used to deploy them.
The module also introduces TS Easy Print, which facilitates printer redirection over
a TS session.
Configuring Terminal Services Core Functionality 4-3
Key Points
Terminal servers support off-the-shelf, custom, and line of business (LOB)
applications. You can also install applications that use application virtualization
technologies.
Application virtualization isolates an application from the underlying operating
system. The application runs in a virtualized environment and does not need to be
installed on or interact with the underlying operating system.
Windows Server 2008 TS provides a functionality that facilitates central hosting of
client applications by using a virtualization technique called presentation
virtualization. Using this technique, the keyboard and mouse inputs are directed to
the server, and the video output is sent to the client over a network connection.
Configuring Terminal Services Core Functionality 4-5
Key Points
Although all Windows-based applications run on a terminal server, you need to
remember that some 16-bit applications require more RAM than others. These
applications may affect the performance of other applications.
Also note that all applications on the terminal server should be installed by using
the Windows installer.
Note: Most programs have been tested for compatibility, and scripts are available for
those that require some minor changes to the installation. These scripts are located in
the System root, in the following path: \Application Compatibility Scripts\Install. You
need to run these scripts after the installation of the program is completed.
4-6 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
In Windows Server 2008 TS, a RemoteApp program is integrated with the client's
desktop and runs in its own resizable window with its own entry on the taskbar. A
RemoteApp program that uses a notification area icon displays the icon in the
client's notification area.
Using RemoteApp programs, the popup windows can be redirected to the local
desktop and the local drives and printers can be redirected to appear in the
RemoteApp program.
Configuring Terminal Services Core Functionality 4-9
Key Points
Using TS RemoteApp programs minimizes the overall administrative effort,
enhances user experience, and facilitates running different programs on multiple
desktops.
You can use TS RemoteApp programs in the following scenarios:
• For users who need to access applications from remote locations
• In an organization having many branches with limited local IT support and
bandwidth
• In companies that have LOB applications, which need to be deployed on
computers with different configurations
Configuring Terminal Services Core Functionality 4-11
Question: What is the scenario in your organization and how will the
implementation of RemoteApp programs assist you?
4-12 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
Depending on the deployment method used—TS Web Access, .msi file, or .rdp file—
you can access RemoteApp programs by:
• Clicking a link to the program on a Web site
• Double-clicking a .rdp file created by the administrator through a file share
• Double-clicking a program icon created by an administrator on the desktop or
in the Start menu of the client computer
• Double-clicking a file with a file name extension that is associated with the
RemoteApp program through a file share
Key Points
TS Web Access provides access to RemoteApp programs through a Web page over
the Internet or an intranet.
When using TS Web Access to deploy RemoteApp programs, you first need to
install the required RemoteApp programs and verify the remote connection
settings on the terminal server. Then, you need to add the programs to the
RemoteApp Programs list in the TS RemoteApp Manager. The TS RemoteApp
Manager is then used to configure the following global settings that will apply to
all RemoteApp programs:
• Terminal server
• TS Gateway
• Common Remote Desktop Protocol (RDP)
4-14 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
You can then install the TS Web Access role service by using the Server Manager
snap-in.
If the TS Web Access server is different from the terminal server that hosts the
RemoteApp programs, then you need to add the computer account of the TS Web
Access server to the TS Web Access Computers security group on the terminal
server. You can add the computer account by using the Computer Management
administrative tool on the terminal server.
Finally, you can specify the data source or the terminal server from which to
populate the RemoteApp programs list. For this you can connect to the TS Web
Access Web site. By using the Configuration tab on the site, you can enter the name
of the terminal server that you want to use as the data source.
Note: You can use a digital signature to sign .rdp files for connecting RemoteApp
programs to the terminal server. The client must be running RDC 6.1.
Note: Windows Installer packages or MSI packages are made available by using a file
share, Microsoft Systems Center Configuration Manager, or Active Directory software
distribution. These methods enable you to make RemoteApp programs available to users
without using TS Web Access.
Key Points
Clients connecting to TS Web Access must be running Windows Server 2008,
Windows Vista, or Windows XP and must have the TS ActiveX client control
approved by a standard user.
In case of any problems in connecting to TS Web Access from the client computer,
you can use the Manage Add-ons tool available on the Tools menu of Internet
Explorer. The add-on will be displayed as Microsoft Terminal Services Client
Control.
On Windows XP SP3, you might need to modify the registry to enable the ActiveX
control.
Question: Why is it important to view the associated file name extensions for
programs on the terminal server?
Configuring Terminal Services Core Functionality 4-17
TS Easy Print is a new feature in Windows Server 2008 TS. This feature enables
users to print to the correct printer on the client computer from a RemoteApp
program or from a remote desktop connection to a terminal server. TS Easy Print
simplifies printer redirection as it requires only Group Policy to be configured.
4-18 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
TS Easy Print redirects all print jobs from a TS session to the client computer
without the need to install any printer driver on the terminal server.
In addition, it provides enhanced enumeration performance by listing only the
printers that are available for a particular session instead of all the redirected
printers.
Note: The Group Policy setting applies to both TS Easy Print and legacy fallback. TS Easy
Print is the default behavior, however, it coexists with the legacy fallback behavior of
Windows Server 2003 RTM.
Key Points
Client computers using TS Easy Print must be running either Windows Vista or
Windows XP. If, however, these computers do not support Easy Print, then the
local and network printer drivers will have to be installed on the terminal server. If
you are using a third-party printer driver, then that driver needs to be signed by
Windows Hardware Quality Labs (WHQL). The third-party printer driver should
be compatible with Windows Server 2008 to run without any connectivity
problems.
On client computers that do not support TS Easy Print, printing defaults to the behavior
in Windows 2003 and prior to Windows 2000.
4-20 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
Windows Server 2008 has introduced a new Group Policy that is available in the
Group Policy Management snap-in. The policy is located under the Administrative
Templates\Windows Components\Terminal Services\Terminal Server\Printer
Redirection node. The policy is named Redirect only the default client printer.
The possible values for this Group Policy setting are:
• Enabled or Not Configured
• Disabled
By enabling this policy, you can ensure that only the TS client’s default printer is
redirected on the terminal server. This policy will function from any version of the
TS client.
Configuring Terminal Services Core Functionality 4-21
Overarching Scenario
Woodgrove Bank is launching a new investment scheme to benefit the
underprivileged. The management has prepared a presentation that needs to be
distributed to all the members of the Marketing group. The IT department is
responsible for deploying the presentation on the terminal server so that it is
accessible to all the members of the Marketing group.
As a technology specialist in Woodgrove Bank’s IT department, you have been
tasked with installing Microsoft PowerPoint Viewer on the terminal server and
making it available as a RemoteApp program. You also need to ensure that
members are able to print the presentation if required.
4-22 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will install TS Web Access and create a link to PowerPoint
Viewer for the Marketing group.
The main tasks for this exercise are as follows:
1. Start the 6428A-NYC-DC1-01 and 6428A-NYC-TS-03 virtual machines and log
on to these machines as Administrator.
2. Install the TS Web Access role service.
3. Add the computer account of the TS Web Access server to the security group.
4. Specify the data source.
5. Install PowerPoint Viewer.
6. Add the PowerPoint Viewer program in the RemoteApp Programs list.
7. Configure an RDP file from the PowerPoint Viewer RemoteApp program.
8. Determine if the RemoteApp program is enabled for TS Web Access.
9. Configure the TS Web Access server to allow access from the Internet.
f Task 3: Add the computer account of the TS Web Access server to the
security group
1. On 6428A-NYC-TS-03, start the Computer Management snap-in.
2. Under the Local Users and Groups node, select the group TS Web Access
Computers, and add the computer NYC-TS.
Results: After this exercise, you should have installed the PowerPoint program and
created a link to C:\Program Files\Packaged Programs.
4-26 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
The main tasks for this exercise are as follows:
1. Configure the printer redirection settings.
2. Shut down the virtual machines.
Results: After this exercise, you should have configured TS Easy Print and the client
print driver should have been redirected to TS.
Configuring Terminal Services Core Functionality 4-27
With TS Web Access, you can easily access a list of RemoteApp programs from a
Web site on the Internet or intranet. When you start a RemoteApp program, a TS
session is started on the terminal server that hosts the application.
The TS Web Access page includes the TS Web Access Web part that displays the
list of RemoteApp programs. This Web part can be included on a customized Web
page of an organization or can be incorporated in a Microsoft Windows SharePoint
Services (WSS) Web site.
5-4 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
TS Web Access in Windows Server 2008:
• Allows users to run multiple RemoteApp programs on the same terminal
server in the same TS session
• Provides for centralized and easy remote administration and maintenance
TS Web Access in Windows Server 2008 also includes the Remote Desktop Web
Connection feature, which enables users to connect to the desktop of remote
computers.
This feature is available as a Remote Desktop tab on the TS Web Access Web page.
Remote Desktop Web Connection is installed as part of the TS Web Access role
service and is not an optional component of Microsoft Internet Information
Services (IIS) 7.0.
Configuring Terminal Services Web Access and Session Broker 5-5
For more information about TS Web Access, see “Terminal Services Web
Access (TS Web Access)" on the Microsoft TechNet Web site.
5-6 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
TS Web Access in Windows Server 2008 replaces the TS Web Connection software
available with Microsoft Windows Server 2003. An important point to note is that
accessing TS Web Access does not require a separate ActiveX control to be
downloaded. The required Active X control is included in Remote Desktop
Connection (RDC) 6.1.
Configuring Terminal Services Web Access and Session Broker 5-7
Key Points
Before installing TS Web Access in Windows Server 2008, you need to ensure that
the client computers are running either Windows Server 2008 or Microsoft
Windows Vista with SP1.
RDC 6.1, a necessary component for running TS Web Access, is included with
Windows Server 2008 and Windows Vista with SP1.
5-8 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
The list of RemoteApp programs that appears on the TS Web Access Web part is
taken from a single terminal server that is specified by an administrator. This list is
dynamically updated.
You can deploy the Web part as part of a customized Web page by using an
ActiveX control and Active Server Pages (ASP).
Configuring Terminal Services Web Access and Session Broker 5-9
For more information about the steps used to add the TS Web Access
Web part to a WSS Web site, see the document “Customizing TS Web
Access by Using Windows SharePoint Services" on the Microsoft Web
site.
5-10 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
All remote programs on the terminal server or farm configured for TS Web Access
appear on the TS Web Access Web site.
Key Points
If you are an administrator, you can specify whether the Remote Desktop tab on
the TS Access Web page is available to users by using the IIS Manager. You can
also configure settings such as the TS Gateway server, authentication method, and
default device and resource redirection options.
By default, server authentication is enabled for the Remote Desktop Web
connection.
To connect to the remote computer:
• The computer must be configured to accept Remote Desktop connections.
• The user must be a member of the Remote Desktop Users group on the
remote computer.
Configuring Terminal Services Web Access and Session Broker 5-13
Question: What are the advantages of using the Remote Desktop Web connection
in a branch scenario?
5-14 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
In a farm environment, you can use the TS Session Broker role service to balance
the load among the terminal servers. By using TS Session Broker, you can
distribute the sessions such that the more powerful terminal servers take more
load than the less powerful terminal servers.
Configuring Terminal Services Web Access and Session Broker 5-15
Key Points
In Windows Server 2008, TS Session Broker provides session-based load balancing
as compared to connection-based Network Load Balancing (NLB) in Windows
Server 2003. However, Windows Server 2008 continues to support third party
NLB configurations of Windows 2003.
TS Session Broker works through the following two phases:
• In the first phase, the connections are distributed to the terminal servers by
using a load balancing mechanism such as Domain Name System (DNS)
round robin. The terminal server in turn then queries TS Session Broker for
redirection.
• In the second phase, the terminal server redirects the user connections to the
terminal server specified by TS Session Broker.
5-16 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
Windows Server 2003 terminal servers cannot use the TS Session Broker load
balancing feature.
As a best practice, you should install the TS Session Broker role service on a back-
end infrastructure server, such as a file server. This ensures that the service will not
be affected when you need to perform maintenance on the terminal servers in the
farm.
To use the TS Session Broker role service, the terminal servers should be members
of the Session Directory Computers local group. This group is located on the TS
Session Broker server.
5-18 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Overarching Scenario
The Marketing group of Woodgrove bank has prepared a presentation about a new
product by using Microsoft PowerPoint. This presentation should be available on a
Web site to all users of this group. The Finance group has also prepared a
presentation on the current financial position of the organization. The
management wants users from the Finance group to access this presentation from
the WSS Web site.
To manage all the traffic on the Web servers in the farm, the enterprise
administrator wants to implement TS Session Broker.
5-20 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will install and configure the TS Web Access role service on
the terminal server and create a .msi file for PowerPoint Viewer. A link for this .msi
file needs to be created so that the marketing group can access it through a Web
browser.
The main tasks for this exercise are as follows:
1. Start the 6428A-NYC-DC1-01, 6428A-NYC-TS-05, and 6428A-NYC-WEB-05
virtual machines and log on to these machines as Administrator.
2. Install the TS Web Access role service.
3. Determine if the RemoteApp program is enabled for TS Web Access.
4. Create an MSI file.
5. Create a link to the TS RemoteApp program on the terminal server.
6. Verify that the link is functional and available through the Web browser.
f Task 6: Verify that the link in functional and available through the
Web browser
1. On 6428A-NYC-WEB-05, verify that you are logged on as
WoodgroveBank\Administrator with the password Pa$$w0rd.
2. Start Internet Explorer and type the URL as http://NYC-TS/ts.
3. In the Connect to NYC-TS dialog box, provide the user name as
WoodgroveBank\Bernard and password as Pa$$w0rd.
4. Observe that Microsoft Office PowerPoint is listed in the remote application
programs list.
Results: After this exercise, you should have installed TS Web Access on the terminal
server, created an MSI file for the remote program, created a link to the remote program,
and verified that the link is functional through Internet Explorer.
Configuring Terminal Services Web Access and Session Broker 5-23
Exercise Overview
In this exercise, you will create a customized Web part and export it to a WSS Web
site.
The main tasks for this exercise are as follows:
• Add a Web Part to a WSS site.
Results: After this exercise, you should have added a customized Web part by using TS
Web Access, and exported it to a WSS site.
5-24 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will install the TS Session Broker role service and configure
the Session Broker settings for servers in a TS farm.
The main tasks for this exercise are as follows:
1. Install the TS Session Broker role service.
2. Add each server in the farm to the Session Directory Computers local group.
3. Configure the TS Session Broker settings by using Group Policy.
4. Shut down the virtual machines.
Results: After this exercise, you should have configured TS Session Broker load balancing
for a farm.
5-26 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
TS Gateway is a role service that provides access to the terminal servers, computers
running RemoteApp programs as well as the computers and servers that have
Remote Desktop enabled.
By using TS Gateway, remote users can access resources on an internal network
with minimum security risks.
This module covers configuring the TS Gateway role service as well as monitoring
and troubleshooting the TS Gateway connections.
Configuring and Troubleshooting Terminal Services Gateway 6-3
Key Points
TS Gateway uses Remote Desktop Protocol (RDP) tunneled over Hypertext
Transfer Protocol over Secure Socket Layer (HTTPS). By using TS Gateway, you
can make secure and encrypted connections between users on the Web and the
remote production application computers. The connection is made by using port
443. This connection works even if the remote computers are located behind a
network address translation (NAT) traversal-based router in a network.
The TS Gateway secure remote connection can also be used by TS Web Access. By
integrating TS Web Access with TS Gateway, you can ensure transport-level SSL
security for all terminal server traffic. Remote users can also access RemoteApp
programs through TS Gateway securely.
Configuring and Troubleshooting Terminal Services Gateway 6-5
Key Points
To install TS Gateway, you need to be a member of the administrator group on the
server.
You also need to obtain an SSL certificate from a trusted third party. Alternatively,
you can obtain a self-signed certificate.
It is recommended that you use HTTPS with a certificate for TS Web Access. You
can use the TS Web Access certificate if TS Gateway is installed on the same server
as TS Web Access. You can also use wildcard SSL certificates.
In addition, TS Gateway requires some role services and features to be installed
and functioning.
Configuring and Troubleshooting Terminal Services Gateway 6-7
Note: TS Gateway does not require any change in code when routing connections to a
TS-based session with Microsoft Windows Server 2003, Microsoft Windows Vista, or
Microsoft Windows XP-based computers.
6-8 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
You can configure TS Gateway by using the Server Manager snap-in. You can use
an existing certificate for SSL encryption or create a self-signed certificate. You can
also select an option that will allow you to obtain the certificate later.
Note: If you select an existing certificate, only certificates that can be used to
authenticate the TS Gateway server with the appropriate Enhanced Key Usage (EKU) will
be displayed in the list of certificates.
You need not map a self-signed certificate if you have created it by using:
• The Add Remove Roles Wizard during the installation of the TS Gateway role
service
• The TS Gateway Manager after the installation of the TS Gateway role service
Configuring and Troubleshooting Terminal Services Gateway 6-9
Key Points
You can generate and submit a certificate request by using various methods
depending on the policies and configuration of your organization. It is
recommended that you use self-signed certificates for evaluation and testing
purposes only.
An organization can have the following certificates:
• A stand-alone or enterprise certificate authority (CA)-issued certificate that
must be cosigned by a trusted public CA. This CA must participate in the
Microsoft Root Certification Program Members program. You need to install
this certificate on the TS Gateway server and then map the certificate.
• A certificate from a trusted public CA that participates in the Microsoft Root
Certificate Program Members program. You need to install this certificate on
the TS Gateway server and then map the certificate.
Configuring and Troubleshooting Terminal Services Gateway 6-11
Note: The Windows Server 2003 Certificate Services Web enrollment feature depends on
an ActiveX control named Xenroll.
Question: Which certificate enables users to connect from home computers and
kiosks to a TS Gateway server?
6-12 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
TS CAPs enhance security by regulating access to TS Gateway and are stored on
the network policy server. Using these policies, you can specify user groups, and
optionally client computer groups, that can connect to the TS Gateway server. You
can also specify conditions that a user needs to meet to connect to the server—for
example, whether a user should use a password or a smart card to access the
server. TS CAPs can be created by using the TS Gateway Manager.
Tasks involved in managing TS CAPs include:
• Enabling or disabling TS CAPs
• Modifying or removing a local TS CAP
• Specifying a new central TS CAP
• Evaluating the permissions of the user and computer groups that connect to
TS Gateway
Configuring and Troubleshooting Terminal Services Gateway 6-13
Note: The enforcing of device redirection feature on a client cannot provide guaranteed
security even for RDC clients.
For more information about TS CAPs, see "TS Gateway Overview" on the
Microsoft TechNet Web site.
6-14 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
TS RAPs allow you to regulate access by specifying the internal network resources
that users can connect to through TS Gateway. You can create a computer group
and associate it with a TS RAP. You can also create a group of computer accounts
in Active Directory and associate it with a TS RAP.
When you associate a TS Gateway-managed computer group with a TS RAP, you
can use both the fully qualified domain names (FQDNs) and NetBIOS names by
adding them separately to the computer group.
When you associate an Active Directory security group to a TS RAP, both FQDNs
and NetBIOS computer names are automatically supported, if the computer to
which you are connecting is in the same domain as the TS Gateway server. If the
client computer is in a different domain from the TS Gateway server, then the
FQDN of the client computer needs to be specified.
Configuring and Troubleshooting Terminal Services Gateway 6-15
Note: Remote users should meet the conditions specified in at least one TS CAP and one
TS RAP to be able to connect to resources on the internal network through TS Gateway.
6-16 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
TS Gateway has monitoring capabilities that allow you to view the information
about active connections from the TS clients to the internal network resources.
Furthermore, the TS Gateway server can be configured to use Network Access
Protection (NAP). NAP is a feature of Microsoft Windows Server 2008 that allows
administrators to maintain computer health.
Although TS Gateway provides these tools to monitor connections and enforce
compliance with health requirement policies for network access, you will still need
to resolve connectivity issues. You can use the TS Gateway Manager to
troubleshoot the TS Gateway connections.
Configuring and Troubleshooting Terminal Services Gateway 6-17
Key Points
You can use the TS Gateway Manager to monitor the active connections from TS
clients to network resources.
You can specify the events to be logged, such as successful or unsuccessful
connection attempts to an internal network computer through the TS Gateway
server. When an event occurs, you can monitor the event by using the Windows
Event Viewer.
Key Points
Configuring TS Gateway to use NAP allows administrators to enforce system
health requirements, security update requirements, required computer
configurations, and other settings.
NAP controls network resources based on the identity of a computer and
compliance with corporate governance policy.
NAP presents an application programming interface (API) that allows developers
to create solutions for validation of health status, limitation of network access or
communication, and ongoing compliance.
In addition, NAP allows administrators to define granular levels of network access
based on the identity of the client, the group the client belongs to, and the degree
of compliance with corporate governance policy.
Configuring and Troubleshooting Terminal Services Gateway 6-19
Key Points
To ensure that client computers successfully connect through TS Gateway, the TS
Gateway server must be configured correctly. You need to ensure that the server is
configured to use an appropriate SSL-compatible X.509 certificate, and the TS
CAPs and RAPs are correctly configured.
In addition, you need to:
• Check the authentication method used for the connection.
• Check the number of simultaneous connections being made.
• Check the traffic of ports used for TS on the firewall.
6-22 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Overarching Scenario
The enterprise administrator of Woodgrove Bank wants you to configure TS
Gateway so that remote users in the HR group can securely access the internal
network resources of the organization. You need to install the TS Gateway role on
the terminal server and create the connection and resource authorization policies
for the HR group.
6-24 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Exercise Overview
In this exercise, you will install and configure the TS Gateway server role on the
terminal server and create a CAP and a RAP for the HR group.
The main tasks for this exercise are as follows:
1. Start the 6428A-NYC-DC1-06 and 6428A-NYC-TS-05 virtual machines and log
on to these machines as Administrator.
2. Install the TS Gateway role.
3. Install the certificate.
4. Create a CAP for the HR group.
5. Select the pre-configured Active Directory Security group HR.
6. Create a RAP for the HR group.
Results: After this exercise, you should have installed the TS Gateway Server role
service and created a TS CAP and TS RAP for the HR group.
Configuring and Troubleshooting Terminal Services Gateway 6-27
Exercise Overview
In this exercise, you need to verify that the TS Gateway server certificate has not
expired. You also need to check the TS CAP and RAP for the HR group. In
addition, you need to verify the existence of the user Baris in the HR group and
add a new user Bernard to the HR group.
The main tasks for this exercise are as follows:
1. Verify that the TS Gateway Server certificate has not expired.
2. Verify that the TS CAP is accurate.
3. Verify that the TS RAP is accurate.
4. Verify that the user Baris exists in the HR group.
5. Add Bernard to the HR group.
6. Verify that the TS RAP is functional.
7. Shut down the virtual machines.
f Task 1: Verify that the TS Gateway Server certificate has not expired
1. On 6428A-NYC-TS-05, in the TS Gateway Manager, in the properties page of
NYC-TS, on the SSL Certificate tab, verify that Select an existing certificate
for SSL encryption (recommended) is selected.
2. Install the certificate for NYC-TS.woodgrovebank.com.
3. Verify validity of certificate has not expired.
6-28 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Results: After this exercise, you should have verified that the configuration of TS
Gateway is correct and the user Baris exists in the HR group. In addition, you should
have added a new user Bernard to the HR group.
6-30 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
To remotely manage the TS connections, you need to be a member of the
administrators group. You can enable, disable, rename, or delete the TS
connections.
Key Points
You can use the TS Gateway Manager to audit specific events such as the
unsuccessful attempts to connect to the TS Gateway server by the client. These
events can then be monitored by using the Event Viewer.
You can monitor the TS Web Access outbound traffic by using the Microsoft®
Internet Security and Acceleration (ISA) Server Management tool, and check the
ISA Server log to determine which rule is denying the outbound traffic to the
Internet.
The Performance and Reliability Monitor provides the following new features in
Windows Server 2008:
• A data collector set that groups portable data collectors used with different
performance monitoring scenarios
Managing and Monitoring Terminal Services 7-7
With WSRM, you can manage your resources such that all resources are provided
evenly to all processes. Alternatively, you can make resources available to high-
priority services, applications, or users.
7-10 Configuring and Troubleshooting Microsoft Windows Server 2008 Terminal Services
Key Points
The condition for WSRM to function is that the combined processor load should
be greater than 70%. In case of a conflict among processor resources, resource
allocation policies are used to ensure minimum resource availability. This
availability is based on the management profile defined by the administrator.
For more information about WSRM, see "Terminal Services and Windows
System Resource Manager" on the Microsoft TechNet Web site.
Managing and Monitoring Terminal Services 7-11
Key Points
WSRM can be used to collect resource usage data from multiple servers and store
it on a single computer running WSRM.
The benefits of using WSRM are:
• Improved availability of services on a single server through dynamically
managed resources
• Improved accessibility of the system for high-priority users or administrators
during maximum resource load
Key Points
Equal_Per_Session is the new and recommended resource allocation policy for
configuring WSRM in Windows Server 2008 TS.
While monitoring the performance of the terminal server, it is also recommended
that you collect data before and after implementing the Equal_Per_Session
resource allocation policy.
There are some applications and processes that dynamically change their own
memory limits. As a best practice, you should not specify the memory limits in
WSRM for such applications and processes.
You must also note that excessive limitation of memory for an application can slow
down the working of the application and increase disk usage.
Managing and Monitoring Terminal Services 7-13
Overarching Scenario
You receive a service request from the Network Operations Center (NOC) claiming
that there is an overload of resource utilization. Therefore, you have been asked to
configure the NOC technicians’ client computers to connect to TS through TS
Gateway and manage these connections.
The enterprise administrator has also tasked you with installing WSRM on the TS.
You need to configure WSRM to monitor the performance of the terminal server.
You are also required to configure the resource allocation policies.
Managing and Monitoring Terminal Services 7-15
Exercise Overview
In this exercise, you will configure the TS Gateway settings on the client computer.
You will then disconnect the NOC technician’s computer and reset the connection.
The main tasks for this exercise are as follows:
1. Start the 6428A-NYC-DC1-06 and 6428A-NYC-TS -07 virtual machines and
log on to these machines as Administrator.
2. Start the 6428A-NYC-WEB-05 virtual machine and log on as Susan.
3. Configure the TS Gateway settings on the client.
4. Manage the TS connections on the terminal server.
Results: After this exercise, you should have configured the TS Gateway settings on the
client and managed the TS connections remotely.
Managing and Monitoring Terminal Services 7-17
Exercise Overview
In this exercise, you need to monitor TS connections by using the TS Gateway
Manager and specify the TS Gateway events to be logged.
The main tasks for this exercise are:
1. Connect to the remote computer.
2. Monitor TS Gateway.
3. Specify the TS Gateway events to be logged.
Results: After this exercise, you should have monitored the TS Gateway connections
and specified the events to be logged for TS Gateway.
Managing and Monitoring Terminal Services 7-19
Exercise Overview
The main tasks for this exercise are as follows:
1. Install WSRM on TS.
2. Configure the TS resource allocation policy for per session.
3. Monitor TS performance by using Resource Monitor.
4. Configure the TS resource allocation policy for per user.
5. Shut down the virtual machines.
Results: After this exercise, you should have configured WSRM, configured the
resource allocation policies, and monitored the TS performance by using the Resource
Monitor.
Managing and Monitoring Terminal Services 7-21
Your evaluation of this course will help Microsoft understand the quality of your
learning experience.
Please work with your training provider to access the course evaluation form.
Microsoft will keep your answers to this survey private and confidential, and will
use your responses to improve your future learning experience. Your open and
honest feedback is valuable and appreciated.
Lab: Configuring TS Core Functionality L1-1
Logon Information:
• Virtual Machine1: 6428A-NYC-DC1-01
• Virtual Machine 2: 6428A-NYC-TS-01
• User Name: Administrator/Baris
• Password: Pa$$w0rd
Note: Wait for the domain controller, 6428A-NYC-DC1-01, logon screen to appear
before starting 6428A-NYC-TS-01 virtual machine. If the virtual machine is not properly
shut down, the Shutdown Event Tracker dialog box will be displayed. Select the
Security issue option from the drop-down list and click OK.
Result: After this exercise, you should have installed and configured the TS server role
service.
Lab: Configuring TS Core Functionality L1-9
Exercise Overview
The main tasks for this exercise are as follows:
1. Specify the program to start when user logs on to a remote session.
2. Configure the TS settings by using the Terminal Services Configuration snap-
in.
3. Modify the default permissions for built-in accounts.
4. Configure the Session Broker settings.
5. Shut down the virtual machines.
Logon Information:
• Virtual Machine1: 6428A-NYC-DC1-01
• Virtual Machine 2: 6428A-NYC-TS-03
• User Names: Administrator/Bernard/Baris/Anton/Monika/Dana
• Password 1: Pa$$w0rd
• Password 2: Pass@word1
Note: Wait for the domain controller 6428A-NYC-DC1-01 logon screen to appear before
starting the 6428A-NYC-TS-03 virtual machine.
Results: After this exercise, you should have configured the connection properties.
Lab: Configuring and Troubleshooting TS Connections L3-17
Note: If the Remote Desktop Connection is disconnected perform the following steps to
create the remote connection:
Results: After this exercise, you should have configured the TS connection properties
by using Server Group Policy.
Lab: Configuring and Troubleshooting TS Connections L3-21
Results: After this exercise, you should have configured SSO by using client Group
Policy.
L3-22 Module 3: Configuring and Troubleshooting Terminal Services Connections
f Task 1: Verify the RDP settings and check the event Logs
1. On 6428A-NYC-TS-03, click Start, point to Administrative Tools, point to
Terminal Services, and then click TS RemoteApp Manager.
2. In the TS RemoteApp Manager page, under the Overview section for RDP
Settings, click the Change link.
3. In the RemoteApp Deployment Settings dialog box, click the Terminal
Server tab.
4. On the Terminal Server tab, ensure that the Server name box has NYC-
TS.WoodgroveBank.Com.
5. Ensure that the port number in RDP Port is 3389, and then click OK to close
the RemoteApp Deployment Settings dialog box.
6. Close the TS RemoteApp Manager.
7. To display the Event Viewer dialog box, click Start, click Run, in the Open
box type eventvwr, press ENTER.
8. In the Event Viewer dialog box, expand the Windows Logs node.
9. Click Application, and check the details of any error in the events.
10. Close Event Viewer.
Lab: Configuring and Troubleshooting TS Connections L3-23
Note: If the Remote Desktop Connection is disconnected, perform the following steps to
create the remote connection:
Results: After this exercise, you should have used troubleshooting techniques to
resolve connectivity issues.
MCT USE ONLY. STUDENT USE PROHIBITED
Lab: Configuring TS RemoteApp and Easy Print L4-27
Logon Information:
• Virtual Machine1: 6428A-NYC-DC1-01
• Virtual Machine 2: 6428A-NYC-TS-03
• User Names: Administrator/Baris
• Password: Pa$$w0rd
Note: Wait for the domain controller 6428A-NYC-DC1-01 logon screen to appear before
starting the 6428A-NYC-TS-03 virtual machine.
f Task 3: Add the computer account of the TS Web Access server to the
security group
1. On 6428A-NYC-TS-03, click Start, point to Administrative Tools, and then
click Computer Management.
2. In the left pane, click the Local Users and Groups node, and then click the
Groups node.
3. In the middle pane, double-click the group name TS Web Access Computers.
4. In the TS Web Access Computers Properties dialog box, to add members in
the group, click the Add button.
5. In the Select Users, Computers, or Groups dialog box, click Object Types.
6. In the Object Types dialog box, select the Computers check box, and then
click OK.
7. In the Enter the object names to select {examples} box, type NYC-TS as the
computer account of the TS Web Access server, click Check Names, and then
click OK.
8. Click OK to close the TS Web Access Computers Properties dialog box.
L4-30 Module 4: Configuring Terminal Services RemoteApp and Easy Print
Note: If you are already logged on to the computer, you are not prompted for the
credentials. You need to add the Web site as a trusted Web site only the first time you
access the site.
f Task 9: Configure the TS Web Access Server to allow access from the
Internet
1. On 6428A-NYC-TS-03, click Start, point to Administrative Tools, and then
click Internet Information Services (IIS) Manager.
2. In the left pane of Internet Information Services (IIS) Manager, click the
NYC-TS(WOODGROVEBANK\Administrator) node, click the Sites node,
click the Default Web Site node, and then click TS.
Lab: Configuring TS RemoteApp and Easy Print L4-33
Results: After this exercise, you should have installed the PowerPoint program and
created a link to C:\Program Files\Packaged Programs.
Results: After this exercise, you should have configured TS Easy Print and the client
print driver should have been redirected to TS.
Lab: Configuring TS Web Access and Session Broker L5-35
Logon Information:
• Virtual Machine1: 6428A-NYC-DC1-01
• Virtual Machine 2: 6428A-NYC-TS-05
• Virtual Machine 3: 6428A-NYC-WEB-05
• User Name: Administrator\Bernard
• Password: Pa$$w0rd
Note: If you are already logged on to the computer, you are not prompted for the
credentials. You need to add the Web site as a trusted Web site only the first time you
access the site.
f Task 6: Verify that the link is functional and available through the Web
browser
1. On 6428A-NYC-WEB-05, verify that you are logged on as
Woodgrovebank\Administrator with the password Pa$$w0rd.
2. Click Start, click All Programs, and then click Internet Explorer. In the URL
box, type http://NYC-TS/ts, and then click Go.
3. In the Connect to nyc-ts dialog box, type the user name as
WoodgroveBank\Bernard and the password as Pa$$w0rd. Then click OK.
4. The Trusted Sites message box is displayed. Click Add. Close the Trusted Sites
message box.
5. Observe that Microsoft Office PowerPoint is listed in the remote application
program list.
Results: After this exercise, you should have installed TS Web Access on the terminal
server, created an MSI file for the remote program, created a link to the remote
program, and verified that the link is functional through Internet Explorer.
Lab: Configuring TS Web Access and Session Broker L5-41
Results: After this exercise, you should have added a customized Web part by using TS
Web Access, and exported it to a WSS site.
Lab: Configuring TS Web Access and Session Broker L5-43
Results: After this exercise, you should have configured TS Session Broker load
balancing for a farm.
MCT USE ONLY. STUDENT USE PROHIBITED
Lab: Configuring and Troubleshooting TS Gateway L6-47
Logon Information:
• Virtual Machine1: 6428A-NYC-DC1-06
• Virtual Machine 2: 6428A-NYC-TS-05
• User Name: Administrator
• Password: Pa$$w0rd
Results: After this exercise, you should have installed the TS Gateway Server role
service and created a TS CAP and TS RAP for the HR group.
Lab: Configuring and Troubleshooting TS Gateway L6-53
f Task 1: Verify that the TS Gateway Server certificate has not expired
1. In the TS Gateway Manager, in the console tree, right-click NYC-TS (Local),
and then click Properties.
2. In the NYC-TS Properties dialog box, click the SSL Certificate tab, verify
Select an existing certificate for SSL encryption (recommended) is selected,
and then click Browse Certificates.
3. In the Install Certificate dialog box, click NYC-TS.WoodgroveBank.com.
4. Click View Certificate and verify that the validity of certificate has not expired
in the valid from field.
5. Click OK, click Cancel, and then click OK.
L6-54 Module 6: Configuring and Troubleshooting Terminal Services Gateway
Results: After this exercise, you should have verified that the configuration of TS
Gateway is correct and the user Baris exists in the HR group. In addition, you should
have added a new user Bernard to the HR group.
Lab: Managing and Monitoring TS L7-57
Logon Information:
• Virtual Machine1: 6428A-NYC-DC1-06
• Virtual Machine 2: 6428A-NYC-TS-07
• Virtual Machine 3: 6428A-NYC-WEB-05
• User Names: Administrator/Susan
• Password : Pa$$w0rd
Note: Wait for the domain controller, 6428A-NYC-DC1-06, logon screen to appear
before starting 6428A-NYC-TS-07 virtual machine.
Note: If the Remote Desktop Connection is disconnected, perform the following steps to
create the remote connection:
Results: After this exercise, you should have configured the TS Gateway settings on the
client and managed TS connections remotely.
L7-62 Module 7: Managing and Monitoring Terminal Services
Results: After this exercise, you should have monitored TS Gateway and specified the
events to be logged for TS Gateway.
L7-64 Module 7: Managing and Monitoring Terminal Services
Results: After this exercise, you should have configured WSRM, configured resource
allocation policies, and monitored the TS performance by using the Resource Monitor.