2013-05-03

Fix Windows Remote Desktop error: The terminal server has exceeded the maximum number of allowed connections

When log into Windows server, sometimes you will get error: "The terminal server has exceeded the maximum number of allowed connections"

This is because the Remote Desktop connection will stay alive until user select "Log Off". So if user just close the Remote Desktop window without Log Off, the user will remain logged in.

How to solve this situation. First at all, you need to use admin channel to log into this machine, Start-->Run, execute:
mstsc /v:00.00.00.00 /admin
On XP or VISTA
mstsc.exe /admin 
Replace 00.00.00.00 to your windows server's IP

After logged into the server, enter Task Manager, select the Users tab, you will see all of the users currently connected to the server. Select a disconnected user, and then click the 'Log off' button at the bottom to clear it.

No comments: