Tlntadmn Command in Windows Server 2008

In this article I am going to explain about Tlntadmn command in windows server 2008 operating system.
  • 2634

Introduction

The operating system tlntadmn command is used to administers a local or remote computer that is running the Telnet Server Service.

Syntax of Tlntadmn command

tlntadmn [<ComputerName>] [-u <UserName>] [-p <Password>] [{start | stop | pause | continue}] [-s {<SessionID> | all}] [-k {<SessionID> | all}] [-m {<SessionID> | all} "<Message>"] [config [dom = <Domain>] [ctrlakeymap = {yes | no}] [timeout = <hh>:<mm>:<ss>] [timeoutactive = {yes | no}] [maxfail = <Attempts>] [maxconn = <Connections>] [port = <Number>] [sec {+ | -}NTLM {+ | -}passwd] [mode = {console | stream}]] [-?]


Parameters in Tlntadmn command

It contains following parameter, which is given below:
 
Parameter Description
<ComputerName> It specifies the name of the server to connect to and by default it is local computer.
-u <UserName>] [-p <Password> It specifies administrative credentials for a remote server that you want to administer.
start It starts the Telnet Server Service.
stop It stops the Telnet Server Service.
pause It pauses the Telnet Server Service. No new connections will be accepted.
continue It resumes the Telnet Server Service.
-s {<SessionID> | all It display active Telnet sessions.
-k {<SessionID> | all ends Telnet sessions.
-m {<SessionID> | all} "<Message>" It sends a message to one or more sessions.
config [dom = <Domain> It configures the default domain for the server.
ctrlakeymap = {yes | no} It specifies if you want the Telnet server to interpret CTRL+A as ALT.
timeout = <hh>:<mm>:<ss> It set the time-out period in hours, minutes, and seconds.
timeoutactive = {yes | no} It enables the idle session timeout.
maxfail = <Attempts> It set the maximum number of failed logon attempts before disconnecting.
maxconn = <Connections> It sets the maximum number of connections.
port = <Number> It sets the Telnet port.
sec {+ | -}NTLM {+ | -}passwd It specifies whether you want to use NTLM, a password, or both to authenticate logon attempts. To use a particular type of authentication, type a plus sign (+) before that type of authentication. To prevent using a particular type of authentication, type a minus sign (-) before that type of authentication.
mode = {console | stream} It specifies the mode of operation.

Example of Tlntadmn command

tlntadmn config timeout=0:20:0

Note: The idle session timeout to 20 minutes.

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.