Number of remote connections under Windows Server

Source: Internet
Author: User

This afternoon remote login to the desktop for a software program operation, unable to operate the software. The database, memory, process, and configuration files are viewed separately, and it is not the result of any of them to restart the server.

Finally, the way to log off the remote Desktop is resolved by the following method:

(1), cmd into the console

(2), enter the following command

c:\user\administrator> Query User

We found 8 connections.

(3), kill process

C:\user\administrator> logoff 3 (ID number)

Then, the remote connection is made again.

After this battle, I immediately had the idea of changing the maximum number of connections. I changed him to 3.

The following describes how to modify the maximum number of remote connections:

(1) Forcing remote connection to the server: command-line input

C:\user\administrator> Mstsc/v:192.168.1.1/console

(2) Run box input: gpedit.msc

(3) Open the Policy Editor and turn on Computer Configuration, Administrative Templates, Windows components, Remote Desktop Services, Remote Desktop Session host, connections. Our server version is WindowsServer 2008R2. Different servers, this step may differ slightly. Double-click to modify. Here I have changed to 3.


Now the problem comes again, if the colleague is logged in, often reported more than the maximum number of connections, what to do? I intend to modify the time that a disconnected session exists.

(1) Look for steps similar to above. Open the Policy Editor, open Computer Configuration, Administrative Templates, Windows components, Remote Desktop Services, Remote Desktop Session Host, Session time love you limit.

(2) Double click to modify. Here I'll change to 15 minutes.


Number of remote connections under Windows Server

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.