Export (0) Print
Expand All

Terminal Session Targeting

Updated: September 29, 2014

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

A Terminal Session targeting item allows a preference item to be applied to users only if the processing user is logged on to a terminal services session with the settings specified in the targeting item. If Is Not is selected, it allows the preference item to be applied only if the user is not logged on to a terminal services session or the user is logged on to a terminal services session without the settings specified in the targeting item.


Type or protocol

  • Any: Any type of terminal services session.

  • Terminal Services: An RDP-based terminal services session, including Remote Desktop.

Terminal Session targeting is not available when configuring computer Group Policy settings.


  • Any: Targeting is not restricted by parameter.

  • Application name: The published name of the application.

  • Client name: The name of the computer from which the user is connecting to the terminal session.

  • Initial program: The path and name of the initial program.

  • Session name: The name of the terminal session used by the user. A typical Terminal Services session name begins with "RDP_tpc" and is immediately followed by a numerical value.

  • Working directory: The working directory for the session, which is located on the server.

  • Client TCP/IP address: The address range of the client computer's TCP/IP address.

Parameter value

The value required for the Parameter. If the Parameter is Any, this option is not available.

  • To reposition a targeting item within the list of targeting items that you have applied to a preference item, either drag the targeting item to a new position, or select the targeting item and then click the Move Up arrow or Move Down arrow.

  • Boxes in Computer Name (NetBIOS only), Domain, Site, Terminal Session, and User (if not matched by SID) targeting items accept single character (?) and multiple character (*) wildcards.

  • Preference items are available only in domain-based GPOs.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft