text
stringlengths
0
4.23k
Parameters
Parameter
Description
<string>
Specifies the text to appear as the title of the Command Prompt window.
/?
Displays help at the command prompt.
<string>
Remarks
To create window title for batch programs, include the title command at the beginning of a batch program.
After a window title is set, you can reset it only by using the title command.
Examples
To change the Command Prompt window title to Updating Files while the batch file executes the copy command, and then to return the title back to Command Prompt, type the following script:
@echo off
title Updating Files
copy \\server\share\*.xls c:\users\common\*.xls
echo Files Updated.
title Command Prompt
tlntadmn
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.
Syntax
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
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 {<sessionID> | all}
Displays active telnet sessions.
-k {<sessionID> | all}
Ends telnet sessions. Type the Session ID to end a specific session, or type all to end all the sessions.
-m {<sessionID> | all} <message>
Sends a message to one or more sessions. Type the session ID to send a message to a specific session, or type all to send a message to all sessions. type the message that you want to send between quotation marks.
config dom = <domain>
Configures the default domain for the server.
config ctrlakeymap = {yes | no}
Specifies if you want the telnet server to interpret CTRL+A as ALT. Type yes to map the shortcut key, or type no to prevent the mapping.
config timeout = <hh>:<mm>:<ss>
Sets the time-out period in hours, minutes, and seconds.
config timeoutactive = {yes | no}
Enables the idle session timeout.
config maxfail = <attempts>
Sets the maximum number of failed logon attempts before disconnecting.