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 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 session or the user is logged on to a terminal session without the settings specified in the targeting item.

Type or protocol

  • Any: Any type of terminal session.

  • Remote Desktop Services: A Remote Desktop Protocol (RDP) based Remote Desktop Services session, including Remote Desktop.

Note

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

Parameter

  • 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 Remote Desktop 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.

    Note

    IPv6 addresses are not supported.

Parameter value

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

Additional considerations

  • 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.

Additional references