title | description | ms.topic | ms.assetid | ms.author | author | manager | ms.date |
---|---|---|---|---|---|---|---|
tlntadmn |
Reference article for the tlntadmn command, which administers a local or remote computer, running the telnet Server Service. |
reference |
78b61e8d-b953-44bb-8d57-f3b42da9e7a8 |
jgerend |
JasonGerend |
mtillman |
10/16/2017 |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Administers a local or remote computer that is running the telnet Server Service. If used without parameters, tlntadmn displays the current server settings.
This command requires you to log on to the local computer with administrative credentials. To administer a remote computer, you must also provide administrative credentials for the remote computer. You can do so by logging on to the local computer with an account that has administrative credentials for both the local computer and the remote computer. If you can't use this method, you can use the -u and -p parameters to provide administrative credentials for the remote computer.
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}]] [-?]
Parameter | Description |
---|---|
<computername> |
Specifies the name of the server to connect to. The default is the local computer. |
-u <username> -p <password> |
Specifies administrative credentials for a remote server that you want to administer. This parameter is required if you want to administer a remote server to which you are not logged on with administrative credentials. |
start | starts the telnet Server Service. |
stop | Stops the telnet Server Service |
pause | Pauses the telnet Server Service. No new connections will be accepted. |
continue | Resumes the telnet Server Service. |
-s `{ | all}` |
-k `{ | all}` |
-m `{ | all} ` |
config dom = <domain> |
Configures the default domain for the server. |
config ctrlakeymap = `{yes | no}` |
config timeout = <hh>:<mm>:<ss> |
Sets the time-out period in hours, minutes, and seconds. |
config timeoutactive = `{yes | no}` |
config maxfail = <attempts> |
Sets the maximum number of failed logon attempts before disconnecting. |
config maxconn = <connections> |
Sets the maximum number of connections. |
config port = <number> |
Sets the telnet port. You must specify the port with an integer smaller than 1024. |
config sec `{+ | -}NTLM {+ |
config mode = `{console | stream}` |
-? | Displays help at the command prompt. |
To configure the idle session timeout to 30 minutes, type:
tlntadmn config timeout=0:30:0
To display active telnet sessions, type:
tlntadmn -s