Pages

Friday, April 17, 2015

Terminal Server Has Exceeded the Maximum Number of Allowed Connections

To overcome the console restriction in windows.


This exception cause when there are more than 2 or three opened session. two ways are there to overcome this issue

Step - 1:
For users with XP SP3, Vista, or terminal services client =>6.1:
Start > Run > mstsc /v:0.0.0.0 /admin
Start > Run > mstsc /v:0.0.0.0 /f /admin
Otherwise:
Start > Run > mstsc /v:0.0.0.0 /f /console
Start > Run > mstsc /v:0.0.0.0 /f -console



Step - 2:

To disconnect from a session

  1. Open Terminal Services Manager.
  2. Right-click the session you want to disconnect, and then click Disconnect.
Notes
  • You can always disconnect from your own sessions, but you must have Full Control permission to disconnect a session belonging to another user.
  • To open Terminal Services Manager, click Start, click Control Panel, double-click Administrative Tools, and then double-click Terminal Services Manager.
  • When you disconnect a session, the session remains attached to the terminal server in the disconnected state and any applications that are running continue to run. The applications remain running when the session is reconnected, with no loss of data.
  • You can also use the tsdiscon command to disconnect a session.
  • You can reset a session that is in the disconnected state, deleting the session from the server. You must have Full Control permission to do this.
Step - 3:

To disconnect a user from a session
  1. In Remote Desktop Services Manager, in the left pane, click the Remote Desktop Session Host (RD Session Host) server on which the user session is running.
  2. To disconnect the user from the session, do either of the following:
    • On the Users tab, right-click the user session, and then click Disconnect.
    • On the Sessions tab, right-click the user session, and then click Disconnect.
  3. Click OK to disconnect the user from the session.

No comments:

Post a Comment