How to solve the problem that the terminal server exceeds the maximum number of allowed connections during Remote Desktop Connection

Source: Internet
Author: User

There are many ways to solve this problem. If you need to log on to the server immediately, the easiest way is: CopyCodeThe Code is as follows: Start-run input: mstsc/console/V: 192.168.12.241: 3389

Cause: When you log on to the terminal server through a Remote Desktop Connection, you will often encounter an error such as "the maximum number of connections allowed on the terminal server", which leads to the failure to log on to the terminal server, the cause of this problem is that the default connections of terminal services are two links. If you log on to the Remote Desktop and exit without logout, the remote desktop window is closed directly, in fact, the session is not released, but is retained on the server. This will occupy the total number of connections. When the maximum number is reached, the above prompt will appear. How to avoid it?

Start -- run -- gpedit. msc Computer Configuration -- manage template -- Windows component -- Terminal Service

1. Modify the Terminal Service

2. Increase the maximum number of connections

3. Change the remote terminal mode (this configuration is not recommended)

The maximum number of connections remotely exceeded
Run services. MSC to enable license logging.

Open "authorize" in the control panel of win2k3, click "add license", and enter the number of connections to change.

Don't forget to disable License Logging after adding it.

Start-run-gpedit. MSC-Computer Configuration-management template-Windows Components-Terminal Services-session
In the window on the right, set the time limit for Disconnected Sessions-select Enabled and select a time

TIPS:
For personal use, you can create a user for each user. When you exit, use the logout method instead of directly disabling the user.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.