Telnet is not in the list of windows 8 components. What is Telnet and how to use the utility.  What does it all give us

Telnet is not in the list of windows 8 components. What is Telnet and how to use the utility. What does it all give us

Any System Administrator uses the system utility built into Windows - telnet.exe. This program allows you to connect to local and remote servers at the address and port specified in the startup parameters. A useful thing for checking the possibility of connecting to the server by port and executing commands. Also, quite often this utility is indicated in the help of various programs and services. However, it often turns out that telnet is not installed by default.

How to install telnet.exe via command line

The easiest way is with Administrator rights and execute the following command:

dism / online / Enable-Feature / FeatureName: TelnetClient

Press "Enter" and wait a little, the message "Operation completed successfully" should appear. This completes the installation.

Installing Telnet Client on Windows Components

The second method, for those who do not want to use the command line or the first method did not work. Go to "Control Panel -> Programs and Features -> Turn Windows features on or off" and put a tick on "Telnet Client".

Installation may be required Windows disk... If the list of components is empty, then you need to fix one value in the Windows registry. To do this, start the registry editor with the command:

regedit

and follow the path:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Windows

In the "CSDVersion" parameter, replace the value with 100 or 0 ... Reboot.

Few computer users today are aware of the existence of various special protocols on a computer that allow you to perform various actions without using a graphical interface and third-party programs. Therefore, the desire to know how to use the TELNET service immediately arises when they learn about the corresponding protocol.

Next, a little theory will be presented about what TELNET is, for the sake of which many people strive to master it: the capabilities of the service, as well as a list of basic commands that allows these capabilities to be implemented on Windows.

TELNET is a means of communication that establishes a transport connection between terminal devices, clients, that is, your computer and someone else's machine, a server that supports this connection standard. This is not a special program, but only network protocol, but also the word TELNET (terminalnetwork) refers to various utilities that also use this protocol. Today Telnet is present almost everywhere, all operating systems, one way or another, use it, in

TELNET implements a textual interface, which differs from the graphical one familiar to an ordinary user in that all commands must be entered manually.

What does all this give us?

Previously, this service was one of the few ways to connect to the network, but over time it has lost its relevance. Today there are much more convenient programs that do all the work for the user, and do not force him to memorize various commands in order to perform the simplest actions. However, some things can be done with the help of Telnet even now.

Network connections

With Telnet you can:

  • connect to remote computers;
  • check the port for access;
  • use applications that are available only on remote machines;
  • use various directories that can only be accessed in this way;
  • send emails without using special programs (clients);
  • understand the essence of the work of many protocols in use today, and derive some benefit from this;
  • provide other users with access to data located on their computer.

We start using

Launch

It is quite easy to run TELNET on Windows 7 and any other Windows. To do this, you first need the client, if it is not already installed:

  • Go to the Control Panel.

  • Select the "Programs" item.
  • Select the "Turn Windows features on or off" tab.

  • Find a Telnet client and put a marker in front of it, if it is not already installed.

Then we press "OK" and wait a minute while the client is installed.

The terminal is launched in Windows through the command line, if you have not installed any special utilities for working with Telnet. But since you are reading this article, it means that you are just starting your acquaintance with this topic, and for a start it would be nice to master the basics of command line management.

  1. Run the command line as administrator.
  2. We enter "telnet".

The command line restarts, and now the TELNET command line will open, in which we will work.

Checking the port

One of the simplest things TELNET does is check the port. You can check the port to see if it can be accessed from your computer. To do this, you need to do the following:

V command line, opened by the method above, we enter: telnetip address port number

For example, if your IP address is 192.168.0.1, and the port number is 21 (FTP port), then we enter:

telnet 192.168.0.1 21

If the command gives an error message, then the port is not available. If a blank window appears or if you are asked to enter additional data, then the port is open. For Windows, this method of checking the port can be quite convenient.

Commands

TELNET commands form the basis for using the terminal. With their help, you can control a computer that uses this protocol, if access is allowed for you, as well as perform other various actions. As mentioned above, on Windows they are entered in the command line of the Telnet application.

In order to see the main list of commands, enter in the line help and press "Enter". Basic commands:

  1. Open- connection to a remote server. You must enter this command along with the managed server name and port number, for example: openredmond 44... If no parameters are specified, the local server and default port are used.
  2. Close- disconnecting from a remote server. The parameters are similar.
  3. Set- setting of a remote server, used with the name of the managed server. Together with Set the following commands are used:
    1. - is used to specify a terminal of the specified type.
    2. - specifies a control character.
    3. - sets the operating mode.
  4. Unset [parameter]- disables the previously set parameter.
  5. Start- starts the Telnet server.
  6. Pause- pauses the server.
  7. Continue- resumes work.
  8. Stop- stops the server.

TELNET is one of the oldest protocols, but it is still used today. This means that you can start using it for your own purposes. All you need to do is learn the syntax and list of commands and start practicing. You can learn a lot, and at the same time start looking at the Internet and at the usual actions on the network in a completely different way.

Not all computer users are aware of the presence of hidden services that allow you to perform various operations without using special software... In operating rooms Windows systems and Linux Telnet service is present. This material will discuss in detail the purpose of the service, commands, capabilities and how to work with it correctly.

What is Telnet

Telnet is a means of communication that is established between terminal devices. An example of such a connection is quite simple: a personal computer and a server that supports this type of connection. Telnet is not any software, it is communication protocol... But it should be noted that there are some utilities that work through the "terminalnetwork" protocol.

In the recent past, Telnet was one of the main ways to connect to the network. Now utility practically not used... Today, more advanced protocols are installed in operating systems, excluding any additional actions from the user.

This communication protocol is used in some operations:

  • connection to a remote desktop;
  • examination ports for connectivity;
  • usage software that is only available on remote machines;
  • application system catalogs that can only be opened using this type of protocol;
  • dispatch Email without using additional software;
  • users using this protocol allows other users get access to your personal computer.

Installation and launch

You do not need to download the utility, Telnet is built into Windows 7/8/10 by default.

Installation and launch instructions:

In order to start the client, you need to open the command line:

We offer you to watch the video on installing Telnet in Windows:

Port check

Checking the network port for access to it by a personal computer in Telnet:

  • in the window you must enter the telnetip command;
  • followed by to introduceIP address computer, for example 192.168.1.1. You can view the address in the settings of the network router;
  • at the end we enter the FTP port "21". Thus, the command will look like this: telnet 192.168.0.1 21;
  • after that it will appear error message if the port is not available or asking for additional information if the port is open.

Telnet Commands

Utility commands are a way to interact with it. To display list of all teams, you must enter "help". Next, let's take a closer look at the main commands:

  • "Open" - the request allows connect to a remote server;
  • "Close" - process interruption connections to a remote server;
  • "Set" - customization server connection parameters;
  • "Term" - the request is intended for terminal type indication;
  • "Escape" - sets control character;
  • "Mode" - selection operating mode;
  • "Unset" - discharge previously entered parameters;
  • "Start" - launch server;
  • "Pause" - temporary stop server operation;
  • "Continue" - continuation of work server after a pause;
  • "Stop" - full termination of work server.

Telnet on Linux

Like Windows, Telnet is built into operating system Linux. Previously used as the standard Telnet protocol, it has now been replaced by improved SSH. As with the previous OS, the utility in Linux is used to check ports, routers, etc.

Let's consider the main modes of operation:

  • « line by line". This operating mode is recommended. In this case, the request is edited on the local PC and is sent to the server only when it is ready;
  • « character by character". Each character typed in the console window is sent to the remote server. You cannot edit the text here. When you delete a character using "Backspace", it will also be sent to the server.

Basic Linux commands:

  • "Close" - interruption of the connection;
  • "Encrypt" - enable encryption;
  • "Logout" - turn off the utility and close the connection;
  • "Mode" - selection of the operating mode;
  • "Status" - connection status;
  • "Send" - sending a telnet request;
  • "Set" - setting the server parameters;
  • "Open" - connection to a remote server;
  • "Display" - display of special characters.
  • in the console window, enter a request for server availability checks for example, "telnet 192.168.1.243";
  • Next, check access to the port by entering the request "telnet localhost 122" and "telnet localhost 21". A message will appear on the console screen whether the connection is accepting any of the ports;
  • example of remote control via telnet. To do this, enter the request "telnet localhost 23" in the main window. "23" is the default port. To perform remote control, it is necessary to install “telnet-server” on the local computer. After that, a message will appear asking you to enter your username and password.

Disadvantages of Telnet

The main disadvantage of this protocol is - remote connection without using encryption... The only point of security is the authorization of users in the telnet session. But nevertheless, the login and password are also transmitted in unencrypted form, thus access to them can be obtained in one way or another. It is strongly discouraged to transfer any important data on local networks.

By default the telnet client in Microsoft's Windows operating systems is disabled, this is unfortunate as it is an extremely useful tool which can be used for testing TCP connectivity to external hosts on a specified port.

This is great when you're trying to troubleshoot network connectivity problems, for example, say we have a web server which should be listening on port 80 to serve HTTP traffic but we are not able to load a web page, by using telnet to connect to the web server on port 80 we can verify the connectivity.

It may be that the connectivity is fine but there is a problem with the web server, or that the web server is stopped and the port is not listening at all, for instance. With telnet we can get a better understanding of what’s going on.

Enabling the telnet client

Firstly you need to enable the telnet client, if you don’t enable it you’ll get a result similar to the below message when trying to use it.

C: \> telnet google.com 80 "telnet" is not recognized as an internal or external command, operable program or batch file. C: \>

You can enable the client both by command line or through the graphical interface.

Enabling the telnet client through command line

Run the below command in command prompt with administrator permissions.

Pkgmgr / iu: "TelnetClient"

That’s it, after a few seconds telnet should be ready to use.

Enabling the telnet client through the graphical user interface

Verifying that the telnet client is enabled

Simply open command prompt or powershell, type 'telnet' and press enter. If this was successful you should have a prompt similar to the below:

Welcome to Microsoft Telnet Client Escape Character is "CTRL +]" Microsoft Telnet>

Already have telnet installed but still failing?
In some cases you must run command prompt or powershell as administrator in order to issue the telnet command, otherwise it will give the same error as if it was not enabled at all.