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