Monday, July 01, 2019

Telnet is not recognized as an internal or external command, operable program, or batch file in windows


Alternate commands to telnet in windows or Alternatives to telnet:

Error : 

Telnet is not recognized as an internal or external command, operable program, or batch file in windows environment.




Cause:  Telnet is a utility to check the listening state of a server/remote host port, also to check if the ports are open between two hosts. However, if the telnet utility is not installed in the windows system, You will see the above mentioned error.

Solution:

Use the alternatives:

Curl :  curl -I "url"

 

*****************************************************************************

Open the windows power shell from the run promt.

 

use tnc commands:

tnc syntax : tns Hostname -port portnumber
 
PS C:\Users\User> tnc google.com -port 80

 

****************************************************************************
or

Install the telnet client:  you can install the telnet utility using the following instructions.

  • In the windows run section, search for "Add or remove programs" 
    
  •  Click on the Apps & Features section as seen in the left panel.
 
  •  Scroll down to the Related settings and click on "Programs and Features".
  •  This opens up the control panel section.
 
 
  • Click turn windows features on or off.
 
  • Scroll down and click on the Telnet Client check box and click ok.

  • It might need a windows reboot to enable the telnet client.
  • Once the windows system is rebooted, You can use the telnet client.

0 comments:

Post a Comment