182

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?

5 Answers 5

466

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.

2
  • 19
    Or just type "Windows features" in the search box
    – the_nuts
    Jun 12, 2019 at 10:04
  • 3
    I had to reboot after activation, so if it's still not working, try a reboot.
    – Rami Nour
    Sep 10, 2022 at 7:37
85
  1. Open "Start" (Windows Button)
  2. Search for "Turn Windows features On or Off"
  3. Check "Telnet client" and check "Telnet server".
1
  • 6
    Why are you enabling Telnet server ? Isn't client enough for this question ?
    – MasterJoe
    Aug 14, 2019 at 19:10
45

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

Run this command with "Run as an administrator"

Reference

2
  • 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! Nov 22, 2016 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. Dec 7, 2022 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

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.

1
  • 3
    are you sure? The command "telnet" in disabled by defualt in windows.
    – apm
    Jul 31, 2015 at 6:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.