The use of protocols in operating systems has been around for a long time and they allow administrators and users to access various extra functions either for files or for both internal and external communication, one of these protocols is Telnet. Telnet (Teletype Network) is a protocol that works as a command line interface to allow direct communication with a remote device or server to perform various administrative or support tasks there..
Telnet connections make use of the Transmission Control Protocol (TCP) which allows the connection to transmit data with Telnet control interleaved between the devices to be used in the process, with Telnet it is possible:
Telnet connections
- Manage networks and servers centrally
- Act with programs and applications on other computers and servers
Telnet in Windows Server 2022
When using Telnet in Windows Server 2022 it is possible to use commands such as:
- logout: is responsible for closing the current Telnet session
- mode type: set the transfer mode (text file, binary file)
- open hostname: it will open another connection for the host selected remotely
- quit: exits the Telnet client and all currently active connections
- Close: close the current Telnet session
- display argument: allows to display the parameters for the current connection (port, terminal type and more)
- send argument: your task is to send the telnet strings to the host
- set argument: Set connection parameters
- unset: this value loads the default connection parameters
TechnoWikis will explain to you how to install enable Telnet in Windows Server 2022 since by default it is uninhabited.
To stay up to date, remember to subscribe to our YouTube channel! SUBSCRIBE
How to enable Telnet in Windows Server 2022
Step 1
We validate the version of Windows Server with "winver":
Step 2
Now we access the command prompt and there in the console we execute "telnet google.com: 80":
Step 3
We can see that Telnet is not recognized as a command on the server.
We access PowerShell as administrators:
Step 4
In the PowerShell console we execute:
Install-WindowsFeature -name Telnet-Client
Step 5
When the process comes to an end we will see the following:
Step 6
Now we go to the Server Manager and there we click on "Add roles and characteristics":
Step 7
The following wizard will open:
Step 8
We activate the box "Installation based on characteristics or roles":
He passed
Now we select the server:
He passed
We go to the "Features" section and there we validate that the "Telnet Client" box is active, if not, activate it and complete the process:
If it is not active, we must enable it and complete the process..
He passed
After this we go back to the command prompt console and execute "telnet", we will see the following:
We can see how we have access to Telnet and from this point it will be possible to manage the connections as necessary.