Solved

Windows Admin - Terminal remote connection

Posted on 2011-03-01
7
353 Views
Last Modified: 2012-05-11
I am getting an error message while trying to remote to the terminal server error: "server exceeded maximum number of connections"
I contacted the admin and he refreshed the connections and now I am able to login. But he told me that previously also I was an admin in the local admin group on the server and I have rights to kill the other user sessions that are not properly logged off... usings tsadmin console. But I am not able to remote to the server to open that console when it reached maximum connections.
How to connect to the terminal server as admin when it reached maximum connections?
My PC is Vista and server is Windows 2003 Server
0
Comment
Question by:Shamanth
7 Comments
 
LVL 9

Accepted Solution

by:
rawinnlnx9 earned 167 total points
Comment Utility
At most you are granted to Terminal Service Licenses for Administration Only. That means if two people log on and do not *EXPLICITLY* log off then nobody but those two people can connect. So if you are only going to have the 2 licenses just make sure that under the Terminal Services Configuration stale connections are disconnected after 15 minutes or some such interval. That way you won't exceed your licenses. Of course I recommend that you use http://www.logmein.com (Free Version) which uses the console session to connect so you never exceed your licenses with LMI.
0
 
LVL 10

Assisted Solution

by:Alan_White
Alan_White earned 166 total points
Comment Utility
If you need to see how many connections are in and the usernames logged in remotely, from a command line use:

QUSER /Server:<servername>

eg QUSER /Server:myserver

To log off a particular session to allow you to RDP to it:

LOGOFF /Server:<servername> <sessionnumber>

eg LOGOFF /server:myserver 1

Quser and Logoff are build in Vista and upwards.  There are there on XP too but you have to know where to look.
0
 

Author Comment

by:Shamanth
Comment Utility
I spoke to admin. He told me that if the server has reached maximum connections, the only way to kill the other user sessions is logon to a different server and from that server connect to the server that reached maximum connections and then we can kill the process from the tsadmin console.  Is this the only way it works?!!
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 95

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 167 total points
Comment Utility
Two things you can do:

1. Install the administration tools (in XP it's the 2003 adminpak.Msi typically found on a 2003 server in the windows directory and also downloadable.  Then you can use the terminal services manager (connecting remotely) to disconnect/end other sessions. (For vista you have to download and follow the directions for the remote server administration)

2. Connect to the server by launching the remote desktop client via the command line and tell it to connect to the console.  You have the potential to then knock off another admin if you have to.  Run

Mstsc /v:serverName /admin
0
 

Author Closing Comment

by:Shamanth
Comment Utility
Thanks!
0
 
LVL 95

Expert Comment

by:Lee W, MVP
Comment Utility
So why the "B" grade?
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now