180

I am trying to perform port forwarding to connect two emulators using TCP protocol on Windows. Although I have enabled TCP client program from control Panel, "telnet" command is not recognized in Command Prompt. Could anyone help me to fix this?

U. Windl
  • 3,480
  • 26
  • 54
Nikesh Devaki
  • 2,091
  • 2
  • 16
  • 24

5 Answers5

462

You have to go to Control Panel>Programs>Turn Windows features on or off. Then, check "Telnet Client" and save the changes. You might have to wait about a few minutes before the change could take effect.

damat-perdigannat
  • 5,780
  • 1
  • 17
  • 33
83
  1. Open "Start" (Windows Button)
  2. Search for "Turn Windows features On or Off"
  3. Check "Telnet client" and check "Telnet server".
Altay Akkus
  • 325
  • 1
  • 10
sajad
  • 1,012
  • 7
  • 13
43

You can also try dism /online /Enable-Feature /FeatureName:TelnetClient

Run this command with "Run as an administrator"

Reference

tenbits
  • 7,568
  • 5
  • 34
  • 53
Parul Abrol
  • 483
  • 5
  • 7
  • 1
    In my case the "Telnet client" was already checked in "Windows Features". Running this dism command worked like a charm to restore functionality - thanks! – Geek Stocks Nov 22 '16 at 13:08
  • This was the only way that worked for me, as selecting "Turn Windows features On or Off" kept opening Server Manager, which didn't have the option of enabling the telnet client. – Jonathan E. Landrum Dec 07 '22 at 21:21
5

You can try using Putty (freeware). It is mainly known as a SSH client, but you can use for Telnet login as well

Altay Akkus
  • 325
  • 1
  • 10
4

If your Windows 7 machine is a member of an AD, or if you have UAC enabled, or if security policies are in effect, telnet more often than not must be run as an admin. The easiest way to do this is as follows

  1. Create a shortcut that calls cmd.exe

  2. Go to the shortcut's properties

  3. Click on the Advanced button

  4. Check the "Run as an administrator" checkbox

    After these steps you're all set and telnet should work now.

Community
  • 1
  • 1
Felix
  • 85
  • 2