Windows 7 / Getting Started

Prepare GPOs for Terminal Services

There are 80 Group Policy Object settings for Terminal Services. They fall into several different categories that control many of the settings for users, PCs, and servers when connecting to remote applications.

As you can see, most every TS setting can be managed through GPOs. Like the user folder information outlined in file sharing services, user Terminal Service information is no longer entered in the user account properties in ADDS because if you do it there, you must do it on a per-user basis. User parameters are now set through the user configuration of a GPO. Server and PC settings are set through the computer configuration of a GPO. Table 9-4 outlines the settings you should apply to each section.

TIP: If you use GPO settings to control the behavior of your TS sessions, you will not need to configure them in either the user account properties or in Terminal Server Configuration Manager. You will also ensure that all systems are configured in exactly the same manner.
TABLE-4 Terminal Services GPO Settings
LocationSettingsApplied to...Comments
Computer Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Remote Desktop Connection ClientAllow .rdp files from unknown publishersPCDisable to provide a more secure TS environment.
Allow .rdp files from valid publishers and users' default .rdp settingsPCEnable to provide a more secure TS environment.
Configure server authentication for clientPCEnable: Do not connect if authentication fails Ensures the TS server is the authorized.
Do not allow passwords to be savedMakes connections easier because passwords are stored in the .rdp file.
Prompt for credentials on the client computerKeep default setting.
Specify Secure Hash Algorithm Version 1.0 (SHA1) thumbprints of certificates representing trusted .rdp publishersPCEnable and include certificate thumbprints if you enabled valid publishers previously.
Computer Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Terminal Server | ConnectionsAllow reconnection from original client onlyServerDisable if you want to use Session Broker for fault tolerance.
Allow remote restart of unlisted programsServerDisable if you want to control the programs users can run when linked to the Remote Desktop.
Allow users to connect emotely using Terminal ServicesPCEnable to allow Remote Desktop.
Automatic reconnectionPCEnable.
Configure keep-alive connection intervalServerEnable to synchronize the client and the server connection state.
Deny logoff of an administrator logged in to the console sessionKeep default setting.
Limit number of connectionsServerCould be used to monitor server loads.
Restrict Terminal Services users to a single remote sessionPCEnable to control resource use on servers.
Set rules for remote control of Terminal Services user sessionsServerEnable full remote control with user's permissions.
Terminal Server | Device and Resource RedirectionAllow audio redirectionServerEnable to limit bandwidth use.
Allow time zone redirectionServerIf required in multiple time zones.
Do not allow Clipboard redirectionKeep default setting.
Do not allow COM port redirectionKeep default setting.
Do not allow drive redirectionKeep default setting.
Do not allow Local Printer Terminal (LPT) port redirectionKeep default setting.
Do not allow smart card device redirectionKeep default setting.
Do not allow supported Plug and Play device redirectionKeep default setting.
Terminal Server | LicensingHide notifications about TS licensing problems that affect the terminal serverKeep default setting.
Set the Terminal Services licensing modeKeep default setting.
Use the specified Terminal Services license serversKeep default setting.
Terminal Server | Printer RedirectionDo not allow client printer redirectionKeep default setting.
Do not set default client printer to be default printer in a sessionKeep default setting.
Redirect only the default client printerPCEnable to avoid potential printer error messages on the server when print drivers are not available.
Specify terminal server fallback printer driver behaviorKeep default setting.
Use Terminal Services Easy Print driver firstKeep default setting.
Terminal Server | ProfilesSet path for TS roaming profilesServerEnable. Create a share for user profiles and home folders, and map it.
Set TS user home directoryServerEnable. Create a share for user profiles and home folders, and map it.
Use mandatory profiles on the terminal serverServerUse only if you have a strict environment.
Terminal Server | Remote Session EnvironmentAlways show desktop on connectionKeep default setting. Not required if you use RemoteApps.
Enforce removal of Remote Desktop wallpaperKeep default setting. Not required if you use RemoteApps.
Limit maximum color depthKeep default setting. Not required if you use RemoteApps.
Remove Disconnect option from Shut Down dialog boxKeep default setting.
Remove Windows Security item from Start menuKeep default setting. Not required if you use RemoteApps.
Start a program on connectionKeep default setting. Not required if you use RemoteApps.
Keep default setting. Not required if you use RemoteApps.Always prompt for password upon connectionServerUse only if you have a highly secure environment or for protected applications.
Do not allow local administrators to customize permissionsKeep default setting.
Require secure Remote Procedure Call (RPC)ServerEnable to secure communications.
Require use of specific security layer for Remote Desktop Protocol (RDP) connectionsServerEnable. SSL (TLS 1.0) will provide the most secure connection.
Require user authentication using RDP 6.0 for remote connectionsServerEnable only if all your clients use Vista.
Server authentication certificate templateServerEnable along with the SSL security layer in previous setting.
Set client connection encryption levelServerKeep default setting. Encryption is set to high by default.
Terminal Server | Session Time LimitsSet a time limit for active but idle Terminal Services sessionsServerEnable and set to 60 minutes. Long idle times can use server resources when no one is actually working.
Set a time limit for active Terminal Services sessionsKeep default setting.
Set a time limit for disconnected sessionsServerEnable and set to 30 minutes. Long disconnected times can use server resources when no one is actually connected.
Terminate session when time limits are reachedKeep default setting.
Terminal Server | Temporary FoldersDo not delete temp folder upon exitKeep default setting.
Do not use temporary folders per sessionKeep default setting.
Terminal Server | TS Session BrokerJoin TS Session BrokerServerEnable to support high availability.
TS Session Broker farm nameServerEnable and list farm name.
TS Session Broker load balancingServerEnable to make best resource usage of the TS farm.
TS Session Broker ServerServerEnable and list server name.
Use IP address redirectionKeep default setting.
Computer Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | TS LicensingLicense server security groupServerEnable. Create a security group containing all TS server computer accounts, and list it here. This ensures that licenses only go to authorized TS servers.
Prevent license upgradeKeep default setting. Only required when you have a mix of server operating systems running TS.
User Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Remote Desktop ClientUser Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Remote Desktop ClientSet at the PC level.
Allow .rdp files from valid publishers and users' default .rdp settingsSet at the PC level.
Do not allow passwords to be savedSet at the PC level.
Specify SHA1 thumbprints of certificates representing trusted .rdp publishersSet at the PC level.
User Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Terminal Server | ConnectionsAllow reconnection from original client onlyKeep default setting if you have users roaming from PC to PC.
Set rules for remote control of Terminal Services user sessionsSet at the PC level.
User Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Terminal Server | Device and Resource RedirectionAllow time zone redirectionSet at the PC level.
Do not allow Clipboard redirectionKeep default setting, unless you are sharing a secure application with confidential data.
User Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Terminal Server | Printer RedirectionRedirect only the default client printerSet at the PC level.
Use Terminal Services Easy Print driver firstKeep default setting.
User Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Terminal Server | Remote Session EnvironmentAlways show desktop on connectionSet at the PC level.
Enforce removal of Remote Desktop wallpaperSet at the PC level.
Start a program on connectionSet at the PC level.
User Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | Terminal Server | Session Time LimitsSet a time limit for a ctive but idle Terminal Services sessionsSet at the PC level.
Set a time limit for active Terminal Services sessionsSet at the PC level.
Set a time limit for disconnected sessionsSet at the PC level.
Terminate session when time limits are reachedSet at the PC level.
User Configuration | Policies | Administrative Templates | Windows Components | Terminal Services | TS GatewayEnable connection through TS GatewayUserEnable only for specific user groups that connect from external sessions.
Set TS Gateway authentication methodUserEnable and use locally logged on credentials for single sign-on.
Set TS Gateway server addressUserEnable and list TS Gateway server address.
NOTE: While many of the load-balancing settings for Terminal Services required at least the Enterprise edition of Windows Server 2003 to function, they only require the Standard edition in WS08.

GPO settings for WS08 are set at three levels:

  • Server
  • PC
  • User

The Server settings should be applied to a GPO that is targeted to the Virtual Service Offerings | Terminal Services Servers OU, which contains all of the computer accounts for your TS servers. The PC settings should be set to a global PC GPO that will affect all PCs. The User settings should be assigned to a special GPO that affects all users, but is filtered through a security group that contains users that access TS servers remotely.

CAUTION: Remember that Group Policy only affects users and PCs that are members of your domain. Keep this in mind, especially for the settings for the TS Gateway. If users connect to remote applications from public systems, these GPO settings will not affect them.
[Previous] [Contents] [Next]