Partager via


Using Group Policy Settings

Applies To: Windows Server 2008

Terminal Services-specific Group Policy settings can be used to automate the application of a standard configuration to one or more terminal servers or to a group of users. Terminal Services-specific Group Policy settings can be found in the following locations in either the Local Group Policy Editor or the Group Policy Management Console (GPMC):

  • Computer Configuration\Administrative Templates\Windows Components\Terminal Services

  • User Configuration\Administrative Templates\Windows Components\Terminal Services

Terminal Services settings configured by using Group Policy take precedence over the following:

  • User account properties that have been configured in the Local Users and Groups snap-in or the Active Directory Users and Computers snap-in

  • Per-connection settings configured by using the Terminal Services Configuration snap-in

The following is a list of some of the Terminal Services-specific Group Policy settings that are related to the Terminal Services settings that can be configured on a user account.

Group Policy setting name Group Policy setting location

Set TS User Home Directory

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Profiles

Set path for TS Roaming User Profile

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Profiles

Start a program on connection

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Remote Session Environment

User Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Remote Session Environment

Do not allow drive redirection

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Device and Resource Redirection

Do not allow client printer redirection

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Printer Redirection

Set time limit for disconnected sessions

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

User Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

Set time limit for active but idle Terminal Services sessions

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

User Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

Set time limit for active Terminal Services sessions

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

User Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

Terminate session when time limits are reached

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

User Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Session Time Limits

Set rules for remote control of Terminal Services user sessions

Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Connections

User Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Connections

For more information about Terminal Services-specific Group Policy settings, see the Terminal Services Technical Reference (https://go.microsoft.com/fwlink/?Linkid=89673).

Additional references