Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I can't believe how bad I am at googling windows stuff. How can I list the users connected via telnet to a windows machine? It seems such a basic question, yet I couldn't find a answer. X-(

Also, after I list the users, is there a way to kill a specific user's connection? how?

I'm on a windows server 2003.

share|improve this question
1  
In before "ZOMG TELNET" comments!! –  Wesley Jul 8 at 2:09

1 Answer 1

up vote 4 down vote accepted

The command tlntadmn -s will list information about the current Telnet sessions. This will display something like the following:

C:\Windows\system32>tlntadmn -s
1 telnet session(s)

ID    Domain     UserName      Client     LogonDate LogonTime   IdleTime
                                                               (hh:mm:ss)
--------------------------------------------------------------------------
2396  HORACE     jscott        ::1        7/7/2014 10:02:43 PM  0:01:04

You can end the session using tlntadmn -k ID. Using the above example tlntadmn -k 2396. tlntadmn -k all to terminate all telnet sessions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.