The terminal server has exceeded the maximum allowed connection

Sometimes when you log in to the remote desktop, you will encounter the problem that "the terminal server exceeds the maximum allowable connection" when you log in. What is the reason? The reason for this problem is that the default number of links in the terminal service is 2, and if you log in to the remote desktop instead of logging out, you can directly close the remote desktop window. How to solve it? Let's have a look.

Solution:

1. On the local computer win7, press Win + R to call up operation, and then enter: mstsc / Admin enter;

Win7 remote prompt terminal server exceeds the maximum allowable connection processing method

2. Then the remote desktop connection interface will appear. We can forcibly connect to the remote server by pressing normal login.

Win7 remote prompt terminal server exceeds the maximum allowable connection processing method

3. After logging in to the server, we also need to cancel the connection "stuck" in the server. Open the task manager in the server and log off several users in the "user" column. The following figure is an example. I have logged off! (rest assured that cancellation in the task manager will not affect the server)

Win7 remote prompt terminal server exceeds the maximum allowable connection processing method

4. After that, we can log in normally.

Supplement: server introduction

Servers, also known as servers, are devices that provide computing services. Since the server needs to respond to service requests and process them, generally speaking, the server should have the ability to undertake services and ensure services.

The composition of the server includes processor, hard disk, memory, system bus, etc., which is similar to the general computer architecture. However, due to the need to provide highly reliable services, it requires high processing capacity, stability, reliability, security, scalability, manageability and so on.

In the network environment, according to the different types of services provided by the server, it is divided into file server, database server, application server, web server, etc.

Related reading: what are the server FAQs

  1. System blue screen, frequent crash, restart, slow response

The of the server is very similar to our ordinary computer, whether it is hardware structure or running system. Therefore, just like our computers, they may be infected with viruses, crash, blue screen, restart and other failures due to system vulnerabilities, software conflicts and hardware failures, and slow response due to too much garbage cache information.

  2. The remote desktop connection exceeds the maximum number of connections

Since the server allows 2 connections by default, if you forget to log off after logging in and directly close the remote desktop, the server recognizes that the login is still on the server side. In this case, the most common is to restart the server. However, if it is the peak period, the loss caused by restarting the server is obvious. At this time, you can use the mstsc / console command to forcibly log in. Open the "run" box and type "mstsc / V: xxx.xxx.xxx.xxx (server IP) / console" to forcibly log in to the remote desktop.

  3. How to clean up files that cannot be deleted

In this case, it may be that the file is still running. You can restart and delete it, or run CMD, enter the name of the folder arrtib-a-s-h-r you want to delete, and finally enter the name of the folder del wants to delete. It cannot be recovered after running this command. Please use it with caution.

  4. Hidden trouble of system port

For the server, the first thing is to ensure stability and security. Therefore, we only need to ensure the most basic functions of the server, just like the sound card is prohibited by default. We don't need too many functions and port support. For example, some unnecessary and high-risk ports can be blocked. For some necessary and risky ports, such as ports 3389 and 80, we can set them as non-special secret ports by modifying the registry, so that the security hidden dangers of server ports no longer exist.