Two ways to resolve Terminal server limitation error

Error : The terminal server has exceeded the maximum number of allowed connections

Windows servers can establish only two remote desktop connections simultaneously. But if the session is in Disconnected mode ( If its close without log off  ) you can access this session again. But if any two sessions are logged in you cannot get a new RDP Connection. And you will get the above error.   You can terminate any sessions. Find the following two ways to get a connections. Before that try to access the console using following command. for both methods you should try as an administrative account. if it is a different user gain the access using “net use” command

Here 192.168.0.1 is the example Ip address

mstsc /v 192.168.0.1 /f –console

Using Terminal service manager ( tsadmin)

Do it from a windows server which is under same work group or domain.

  • Go to RUN and type “tsadmin”

It will open the terminal service admin console. and you can see the local RDP sessions here.

  • Now you go to actions >> Connect to computer in the menu bar
  • Give IP address of the server which you want to connect

1 tsadmin

Once you get the connection you can see the list of sessions in the right panel of the window

  • right click the session which you want to terminate

There you can see features like connect, Disconnect, Send message, remote control, Reset, status, log Off,

( Do the action depends your environment, You can see User name, session Id, state and Logon time )

2 remote servers

Using Command line

query session /server:192.168.0.1

For windows Xp reffer this Article : link

Now identify the session id from the result and replace “ID” with your corresponding id in following command

reset session “ID” /server:192.168.0.1

3 remote session from cmd

About Albin Sebastian

I am a Technology Blogger, System Administrator by profession and webmaster by passion. Technology blogger, Active in Online and offline tech communities.

Check Also

Nslookup correct reply

NSlookup incorrectly appending domain name in windows 10

Noticed this problem in Windows 7 and windows 10 systems after adding the system to …

Comments