Limit the Maximum Number of Simultaneous Connections Through a TS Gateway Server

Applies To: Windows Server 2008

By default, with the exception of TS Gateway servers that are running on Windows ServerĀ® 2008 Standard, no limit is set for the number of simultaneous connections that Terminal Services clients can make to internal network resources (computers) through a TS Gateway server. You can optimize TS Gateway server performance by setting a limit for the number of simultaneous connections that clients can make to internal network resources through a TS Gateway server.

Note

For TS Gateway servers that are running on Windows Server 2008 Standard, a maximum of 250 simultaneous connections is supported.

Membership in the local Administrators group, or equivalent, on the TS Gateway server that you plan to configure, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).

To limit the maximum number of simultaneous connections through a TS Gateway server

  1. Open TS Gateway Manager.

  2. In the console tree, click to select the node that represents your TS Gateway server, which is named for the computer on which the TS Gateway server is running.

  3. In the console tree, expand Monitoring.

  4. With the Monitoring folder selected, right-click the Monitoring folder, and then click Edit Connection Limit.

  5. On the General tab, under Maximum Connections, do one of the following:

    • To set a limit for the maximum number of simultaneous connections that Terminal Services clients can make to network resources through TS Gateway, click Limit maximum allowed simultaneous connections to, and then specify the number of allowable connections.

    • To set no limit on the number of allowable connections between clients and internal network resources through TS Gateway, click Allow the maximum supported simultaneous connections. This is the default option. Keep in mind that for TS Gateway servers that are running on Windows Server 2008 Standard, a maximum of 250 simultaneous connections is supported.

    • To prevent new connections from being made between clients and network resources through TS Gateway, click Disable new connections. If you select this option, only new connection attempts will be rejected. Current connections will not be ended by TS Gateway.

  6. Click OK.

Additional references