21

Is there a simple telnet command line utility for Windows 7? I am used to the telnet command that is built into UNIX, but I can't seem to find one for Windows that can be used similarly.

5 Answers 5

29

The Telnet client in Windows 7 is disabled by default, and needs to be enabled via Windows' Programs and Features:

Control Panel --> Programs --> Turn Windows features on or off, in the dialog that pops up check-mark "Telnet Client".

For more info see: Why isn't Telnet enabled by default in Windows 7?

And at MS's site you can check out Telnet: frequently asked questions.

1
  • 1
    For windows server its under 'add roles and features wizard'
    – n00b
    Commented Mar 17, 2017 at 20:32
20

PuTTY is a free implementation of Telnet and SSH for Windows and Unix. Download the latest PuTTy for telnet.

2
  • 1
    +1 PuTTY is much better than the built-in telnet Commented Oct 21, 2011 at 20:13
  • 5
    While PuTTY is useful, and can serve the purpose well, What is needed, as stated above, is a utility that allows me to connect directly from the command line, rather than having to run a GUI.
    – ewok
    Commented Oct 26, 2011 at 18:28
9

If you want to test a network connection, you can use with Powershell :

Test-NetConnection google.com -port 80
1
3

A much better (and FOSS) Telnet client is PuTTY.

2

If you need to connect using telnet from the command line, take a look at Plink. Its by the same people that make PuTTY. Plink allows you to script connections to anything PuTTY can connect to. I used plink with simple batch files and perl files on windows with fairly good results (of course you results may vary). If you are just looking to get a telnet connection from command line then the vanilla telnet client in Windows should be okay.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .