TECHNIG
Gateway for IT Experts and Tech Geeks

How to Enable Telnet In Windows 10 and Server 2012 R2?

Controlling Windows Servers remotely is a daily activity of a network and system administrators, whether with command line or remote desktop. Here I’m using Telnet command Line tool. Telnet is a protocol that enables you to connect remotely to computers. By default the telnet services is not enabled on Windows Server and Clients. I’m going to show you how to enable telnet in Windows 10 and Windows Server 2012 R2 or vNext Server. So you need to know the telnet port also. The default port of telnet is 23 and when you enable telnet on Windows, you make sure that the port 23 is not blocked by Windows Firewall or Anti Virus

Telnet is not a good chose to control a system over the internet. Because it is not secure and the communication is occurred on a non encrypted mode. If you want to secure Telnet communications, you must do it with Internet security protocol (IPSec). Securing telnet is out of scope of this topic, we simply enable telnet in Windows 10 client and Windows Servers. It work the same on Windows Server 2008, Windows 7, 8 and Windows 8.1.

Enable Telnet In Windows 10 Client Side

Firstly, we must enable telnet in Windows 10 and next on Windows Server. To work perfectly, telnet client must installed on client side and telnet Server must be installed on Server side. In order to enable telnet, go to control panel -> Programs and Features -> and click Turn Windows Features on or off.

For an expert it is a very long way, so just type “optionalfeatures” on the Run and press enter to open Windows Features page.

Enable Telnet in Windows 10
Enable Telnet in Windows 10

On the Windows Features page, tick the Telnet Client and click on to install it. It take a minute and when the installation complete successfully, close the page. That is it, Telnet installed successfully on Windows 10.

Enable Telnet on Windows Server 2012 R2

OK the next step is enabling telnet on Windows Server. No matter which server you are using. In Server side it is not enabled like Windows client, you must enabled trough Server Manager. Becuase it is Feature base and all are controlling with Server Manager console.

Server Manager
Server Manager

On the Server Manager‘s of Windows Server, click Manage and then click Add Roles and Features.

Add Roles and Features - Windows Server 2012 R2
Add Roles and Features – Windows Server 2012 R2

On the Installation Type page select Role-based or feature-base installation and click Next.

Destination Server
Destination Server

Select the Server you want to install telnet on the destination Server page. In this test environment, we have only one server and by default it has been selected. Don? So click Next.

On the Server Role page, do nothing and just click Next. So we want to install features not Roles. And I don’t take Screenshot, it is going to make heavy my article.

Enable Telnet in Windows 10 and Server
Enable Telnet in Windows 10 and Server

So on the Windows Feature tick both Telnet Server and Telnet Client then click Next to install it and go to Confirmation page.  On the Confirmation page click Next and it takes a few minutes, so be patient.

Feature Installation Process
Feature Installation Process

Finally, when the installation finished successfully, click Close and go to enable Telnet service from Services. To open Services on Windows Server, search for Services to find it.

Telnet Properties
Telnet Properties

On the Services page find Telnet and click twice to open telnet properties. Now select Automatic and click Start button then click OK and close the services console.

 Test Telnet Services on Windows

Try to test the telnet whether it work or not. In order to test telnet, go to Windows 10 and open command prompt or PowerShell. and type the following command.

Telnet 192.168.100.2

It is the IP Address of Server that I want to control it with Telnet.

Telnet Command
Telnet Command

So when you press enter, the system ask you about sending password to a remote computer trough internet.

Telnet authentication
Telnet authentication

This is about sending your user name and password trough a non secure internet line which I told you about securing telnet with IPsec. So type “Y” and press enter.

Telnet Password
Telnet Password

Type user name and password correctly and press enter.

Control Server with Telnet
Control Server with Telnet

Welcome to the telnet session from Windows 10 to Windows Server 2012 R2 that work perfectly. Now the Server 2012 R2 is completely under your control. Test and run some command for test.

Leave A Reply

Your email address will not be published.