Configure TS Gateway Settings

Applies To: Windows Server 2008

To define whether users will connect to the terminal server across a firewall through Terminal Services Gateway (TS Gateway), you can configure TS Gateway deployment settings.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (

To configure TS Gateway settings

  1. In the Actions pane of TS RemoteApp Manager, click TS Gateway Settings. (Or, in the Overview pane, next to TS Gateway Settings, click Change.)

  2. On the TS Gateway tab, configure the desired TS Gateway behavior. You can configure whether to automatically detect TS Gateway server settings, to use TS Gateway server settings that you specify, or to not use a TS Gateway server.

    If you select Automatically detect TS Gateway server settings, the client tries to use Group Policy settings to determine the behavior of client connections to TS Gateway.


For more information about client Group Policy settings, see the Help topic "Using Group Policy to Manage Client Connections Through TS Gateway." (To open TS Gateway Help, click Start, click Run, type hh ts_gateway.chm, and then click OK.)

If you select **Use these TS Gateway server settings**, do the following:

1.  Configure the TS Gateway server name and the logon method.  


The server name must match what is specified in the Secure Sockets Layer (SSL) certificate for the TS Gateway server.

2.  If you want the connection to try to use the same user credentials to access both the TS Gateway server and the terminal server, select the **Use the same user credentials for TS Gateway and terminal server** check box. However, users may still receive two prompts for credentials if conflicting credentials exist from any source such as Group Policy settings, and those credentials do not work. They may also receive two prompts for credentials if default credentials are used for the connection and those credentials do not work.  
3.  If you want the client computer to automatically detect when TS Gateway is required, select the **Bypass TS Gateway server for local addresses** check box. (Selecting this option optimizes client performance.)  
    To always use a TS Gateway server for client connections, clear the **Bypass TS Gateway server for local addresses** check box.  
  1. When you are finished, click OK.

Additional references