As an IT Consultant for several different firms, you deal a lot with remote support and administration. Sometimes you may have more than one admin working on such sites. A lot of times when we RDP into a server we tend to forget to properly log off and just click the “X” to close the window. This leaves the current user logged in and sometimes will not end the session. Depending on your policy, you may only have a certain limit of users who can be logged in at the same time.
Accidentally closing the box and having multiple remote desktop connections connected can create a situation where you cannot remote in due to the “Maximum Connections Reached” or, “Terminal Server Has Exceeded Maximum Number of Allowed Connection” message.
There is a simple work around to fix this. Microsoft has allowed a “console” mode which can be used to log in even if there are maximum number of connections reached. This will allow you to log in and close those remote sessions and free it up.
Here’s how you do it:
- Open Command Prompt (Start > Run > Type CMD > Enter)
- Type “mstsc -v:0.0.0.0 /f -console” WITHOUT the quotes (replace 0.0.0.0 with the Destination hostname or IP Address
- Your standard Remote Desktop Connection window should now pop up. Log in as normally with your administrator account
- Once logged in you can now start Task Manager (taskmgr) and log off the users in the Users Tab.
- Log off properly by going to Start > Log Off and re-login with your account.
Now you will never get locked out of your system remotely with this easy work-around!
Comments are closed.