Telnet is not recognized as internal or external command, even after activation [closed]
Asked Answered
M

5

183

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?

Microfarad answered 30/7, 2014 at 7:30 Comment(0)
B
470

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.

Batrachian answered 30/7, 2014 at 8:34 Comment(2)
Or just type "Windows features" in the search boxSkateboard
I had to reboot after activation, so if it's still not working, try a reboot.Tremulous
T
88
  1. Open "Start" (Windows Button)
  2. Search for "Turn Windows features On or Off"
  3. Check "Telnet client" and check "Telnet server".
Tabu answered 16/10, 2015 at 18:43 Comment(1)
Why are you enabling Telnet server ? Isn't client enough for this question ?Creatinine
G
46

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

Run this command with "Run as an administrator"

Reference

Guilder answered 12/10, 2015 at 19:47 Comment(2)
In my case the "Telnet client" was already checked in "Windows Features". Running this dism command worked like a charm to restore functionality - thanks!Regularize
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.Albrecht
S
5

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

Sorority answered 30/7, 2014 at 7:35 Comment(0)
R
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.

Rosenfeld answered 7/2, 2015 at 4:40 Comment(1)
are you sure? The command "telnet" in disabled by defualt in windows.Krug

© 2022 - 2024 — McMap. All rights reserved.