How to Login Remotely To a Server With The Following Error: Terminal Server Has Exceeded the Maximum Number of Connections
If you remotely support Windows Servers then you have come across this error more than once. The terminal server has exceeded the maximum number of allowed connections. The system can not log you on. The system has reached its licensed logon limit. Please try again later.
Solution
In Windows Server by default you can only have two remote connections at any time. In order to solve this error we need to logout of one of the sessions without using RDP. Therefore we will have to use a command.
- From Windows 2003 (This program is not available from XP etc.) open a command prompt windows (You will need to be logged in to an account with Domain Admin access)
- Type in the following command where servername is the name of your server
query session /server:servername
- The program will output a list of the currently connected sessions
- Choose the session ID that you wish to disconnect and type in the following
reset session ID /server:servername
- Replace ID with the ID you wish to logoff and servername with the servername!
- This command will not show any output but you can run the first command to check if it worked. Or you can now login to the server with RDP


Sample Config for WordPress Running on Varnish 2.1
Are you using 32 bit or 64 bit Office 2010?
Have Outlook 2010 Automatically Close a Message After Replying or Forwarding
How to Start Outlook 2010 in a Different Folder
Do you get Error Code 80071392 Using Windows Live Messenger?
How To Image, Sysprep and Deploy Windows 7 a Complete Guide – Using sysprep and Imagex
How to Disable Auto Renewal for Xbox Live
Installing Windows 7 From a USB Stick From Windows XP (Bootable USB) 