text
stringlengths
0
4.23k
Example
Turn off logging.
u logging
telnet
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Communicates with a computer running the telnet server service. Running this command without any parameters, lets you enter the telnet context, as indicated by the telnet prompt (Microsoft telnet>). From the telnet prompt, you can use telnet commands to manage the computer running the telnet client.
Important
You must install the telnet client software before you can run this command. For more information, see Installing telnet.
Syntax
telnet [/a] [/e <escapechar>] [/f <filename>] [/l <username>] [/t {vt100 | vt52 | ansi | vtnt}] [<host> [<port>]] [/?]
Parameters
Parameter
Description
/a
Attempts automatic logon. Same as /l option, except that it uses the currently logged on user's name.
/e <escapechar>
Specifies the escape character used to enter the telnet client prompt.
/f <filename>
Specifies the file name used for client side logging.
/l <username>
Specifies the user name to log on with on the remote computer.
/t {vt100 | vt52 | ansi | vtnt}
Specifies the terminal type. Supported terminal types are vt100, vt52, ansi, and vtnt.
<host> [<port>]
Specifies the hostname or IP address of the remote computer to connect to, and optionally the TCP port to use (default is TCP port 23).
/?
Displays help at the command prompt.
<escapechar>
<filename>
<username>
{vt100 | vt52 | ansi | vtnt}
<host> [<port>]
Examples
To use telnet to connect to the computer running the telnet Server Service at telnet.microsoft.com, type:
telnet telnet.microsoft.com
To use telnet to connect to the computer running the telnet Server Service at telnet.microsoft.com on TCP port 44 and to log the session activity in a local file called telnetlog.txt, type:
telnet /f telnetlog.txt telnet.microsoft.com 44
tftp
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Transfers files to and from a remote computer, typically a computer running UNIX, that is running the Trivial File Transfer Protocol (tftp) service or daemon. tftp is typically used by embedded devices or systems that retrieve firmware, configuration information, or a system image during the boot process from a tftp server.
[IMPORTANT]
The tftp protocol doesn't support any authentication or encryption mechanism, and as such can introduce a security risk when present. Installing the tftp client is not recommended for systems connected to the Internet. A tftp server service is no longer provided by Microsoft for security reasons.
Syntax
tftp [-i] [<host>] [{get | put}] <source> [<destination>]
Parameters
Parameter
Description
-i
Specifies binary image transfer mode (also called octet mode). In binary image mode, the file is transferred in one-byte units. Use this mode when transferring binary files. If you don't use the -i option, the file is transferred in ASCII mode. This is the default transfer mode. This mode converts the end-of-line (EOL) characters to an appropriate format for the specified computer. Use this mode when transferring text files. If a file transfer is successful, the data transfer rate is displayed.
<host>
Specifies the local or remote computer.
get
Transfers the file destination on the remote computer to the file source on the local computer.
put
Transfers the file source on the local computer to the file destination on the remote computer. Because the tftp protocol doesn't support user authentication, the user must be logged onto the remote computer, and the files must be writable on the remote computer.
<source>
Specifies the file to transfer.
<destination>
Specifies where to transfer the file.
<host>