RDS: The RD Gateway server should be configured to allow an adequate number of simultaneous connections

Updated: April 27, 2010

Applies To: Windows Server 2008 R2, Windows Server 2012

This topic is intended to address a specific issue identified by a Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the Remote Desktop Services Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.

If the RD Gateway server is configured to limit the number of simultaneous connections allowed, users making new connections will be unable to connect to internal network resources (computers) through the RD Gateway server when the limit is exceeded.

Monitor the performance of the RD Gateway server to determine the maximum number of connections that the RD Gateway server can support. If necessary, use the RD Gateway Manager tool to reconfigure the maximum number of simultaneous connections allowed.

Use the following to help achieve better performance from your RD Gateway server:

By using RD Gateway Manager, you can specify the types of events that you want to monitor, such as unsuccessful or successful connection attempts to internal network resources (computers) through an RD Gateway Manager server.

When these events occur, you can monitor the corresponding events by using Windows Event Viewer. RD Gateway Manager server events are stored in Event Viewer under Application and Services Logs\Microsoft\Windows\Terminal Services-Gateway\.

On the RD Gateway server open RD Gateway Manager. To open RD Gateway Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click RD Gateway Manager.

In the console tree, right-click the node that represents your RD Gateway server, which is named for the computer on which the RD Gateway server is running, and then click Properties.

On the Auditing tab, select or clear the appropriate check boxes to specify the events that you want to monitor for RD Gateway, and then click OK.

View active connection details through an RD Gateway server.

You can use RD Gateway Manager to view information about active connections from Remote Desktop Services clients to internal network resources (computers) through RD Gateway.

On the RD Gateway server open RD Gateway Manager. To open RD Gateway Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click RD Gateway Manager.

In the console tree, expand the node that represents your RD Gateway server, which is named for the computer on which the RD Gateway server is running.

In the console tree, click Monitoring.

The RD Gateway Manager results pane displays a summary of the number of connections from remote users to computers on the internal network. Specific connections, if any, are listed below the summary.

When you click a connection, the connection details appear in the lower pane. If necessary, you can disconnect a specific connection or all RD Gateway connections for a user.

To refresh the display of connection status, in the Actions pane, click Refresh.

By default, the display of RD Gateway connection status is refreshed automatically every 30 minutes. You can modify the refresh interval or specify that the display of this information not be refreshed automatically.

Important

Setting the refresh interval to a value of less than 10 minutes can adversely impact the performance of the RD Gateway server.

On the RD Gateway server open RD Gateway Manager. To open RD Gateway Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click RD Gateway Manager.

In the console tree, expand the node that represents your RD Gateway server, which is named for the computer on which the RD Gateway server is running.

In the console tree, click Monitoring.

Right-click Monitoring, and then click Set Automatic Refresh Options.

In the Set Automatic Refresh Options dialog box, do either of the following:

To specify that the display of RD Gateway connection information not be refreshed automatically, click Do not refresh automatically.

To specify that the display of RD Gateway connection information be refreshed automatically, click Refresh automatically, and then specify a value as needed.

On the RD Gateway server open RD Gateway Manager. To open RD Gateway Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click RD Gateway Manager.

In the console tree, expand the node that represents your RD Gateway server, which is named for the computer on which the RD Gateway server is running.

In the console tree, right-click Monitoring, and then click Edit Connection Limit.

On the General tab, under Maximum Connections select one of the following:

To set a limit for the maximum number of simultaneous connections that Remote Desktop Services clients can make to network resources by using RD 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 RD Gateway, click Allow the maximum supported simultaneous connections. This is the default option.

Important

A maximum of 250 simultaneous connections is supported on RD Gateway servers that are running on Windows Server 2008 R2 Standard.