Share via


Switch Between Session Mode and Command Mode

Applies To: Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Vista

There are two modes of operation in the Telnet Client service: Telnet command mode and Telnet session mode.

After you are connected to a Telnet server, Telnet Client automatically enters Telnet session mode. This mode is the most common. In session mode, all of your keystrokes are sent over the network to the Telnet server, where they are processed by whatever program you are running there.

Telnet command mode allows you to issue commands locally to the Telnet Client service itself, such as to open a connection to a remote host, close a connection to a remote host, display operating parameters, set terminal options, print the status, and quit the program.

The Telnet Client Escape character is the key combination that switches from session mode to command mode . This is not the same thing as the ESC key on your keyboard, but is a user-definable key combination. By default, the Telnet Client Escape key combination is CTRL + ]. To change the key combination, see Change the Telnet Client Escape Character.

Any user account can be used to complete this procedure.

Switching between session and command modes

You can perform this switch using the following procedures:

  • To change from Telnet session mode to Telnet command mode

  • To change from Telnet command mode to Telnet session mode

To change from Telnet session mode to Telnet command mode

  • Press CTRL + ] to enter command mode. This is the default Telnet Client Escape character. If you have changed the Escape character, then press the key combination that you assigned.

    Telnet command mode displays the Microsoft Telnet> command prompt.

To change from Telnet command mode to Telnet session mode

  • At the Microsoft Telnet> command prompt, press ENTER.

See Also

Concepts

Configure the Telnet Terminal Type
Change the Telnet Client Escape Character
Disconnect from a Telnet Server
Control Which Environment Variables Can Be Viewed by a Telnet Server
Use Asian Languages with Telnet