Policy
Limit number of connections
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
Specifies whether Remote Desktop Services limits the number of simultaneous connections to the server. You can use this setting to restrict the number of Remote Desktop Services sessions that can be active on a server. If this number is exceeded, addtional users who try to connect receive an error message telling them that the server is busy and to try again later. Restricting the number of sessions improves performance because fewer sessions are demanding system resources. By default, RD Session Host servers allow an unlimited number of Remote Desktop Services sessions, and Remote Desktop for Administration allows two Remote Desktop Services sessions. To use this setting, enter the number of connections you want to specify as the maximum for the server. To specify an unlimited number of connections, type 999999. If the status is set to Enabled, the maximum number of connections is limited to the specified number consistent with the version of Windows and the mode of Remote Desktop Services running on the server. If the status is set to Disabled or Not Configured, limits to the number of connections are not enforced at the Group Policy level. Note: This setting is designed to be used on RD Session Host servers (that is, on servers running Windows with Remote Desktop Session Host role service installed).
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
RD Maximum Connections allowed ID TS_Maximum_Connections_allowed | decimal | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\MaxInstanceCount Type REG_DWORD | Range: 1 to 999999 |
Other policies in this category
Explore related policies at the same level.
- ComputerAllow remote start of unlisted programsWindowsServer2008
- ComputerAllow users to connect remotely by using Remote Desktop ServicesAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerAutomatic reconnectionAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerConfigure keep-alive connection intervalAt least Windows Server 2003
- ComputerDeny logoff of an administrator logged in to the console sessionAt least Windows XP and Windows Server 2003 only
- ComputerRestrict Remote Desktop Services users to a single Remote Desktop Services sessionAt least Windows Server 2003
- ComputerSelect network detection on the serverAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerSelect RDP transport protocolsAt least Windows Server 2012, Windows 8 or Windows RT
- UserSet rules for remote control of Remote Desktop Services user sessionsWindows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, and Windows XP
- ComputerSet rules for remote control of Remote Desktop Services user sessionsWindows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, and Windows XP
- ComputerSuspend user sign-in to complete app registrationAt least Windows 8 Enterprise or Windows Server 2012
- ComputerTurn off Fair Share CPU SchedulingAt least Windows Server 2008 R2