How to Fix Telnet is not Recognized

Telnet (short for TELetype NETwork) is one of the remote login protocols on the internet. Through Telnet, you can easily access another user’s computer remotely. However, when users try to use any Telnet command, they get an error “telnet is not recognized” or “telnet: command not found“. In this article, we will discuss this particular error and provide some verified solutions.

Error Message

What is Causing the Telnet is not Recognized Error?

The error message indicates that Telnet is not installed on your system. You cannot use commands for a specific software or utility which is not installed on your system. Simply the command not found means there is no result for what you are trying to access or call through command.

Method 1: Enabling the Telnet Executable in Windows

Some of the features are disabled on Windows because it will slow down the performance of the system. Telnet is disabled by default in Windows. However, it is really easy to enable it from the control panel on your system by following the steps below:

  1. Hold Windows key and Press R to open Run, then type “appwiz.cpl” and Enter.
    Opening Programs and Features
  2. Click on Turn Windows feature on or off in the left bar.
    Opening Turn Windows features on or off option
  3. Find Telnet Client in the list and tick it to install, then click OK.
    Enabling/Installing Telnet feature
  4. Now go try the Telnet command again in command prompt.

Method 2: Installing Telnet through Command Prompt in Windows

You can also install Telnet by using a single command in command prompt. Many users were unable to install Telnet by using the control panel method and this worked for them.

  1. Hold Windows key and Press S to open search function, then type “cmd” to search.
  2. Right-click on Command Prompt and choose Run as administrator (or you can just press Shift+Ctrl+Enter keys together while command prompt is highlighted).
    Opening command prompt as an administrator
  3. Type the following command and Enter:
    dism /online /Enable-Feature /FeatureName:TelnetClient
    Command to install telnet
  4. It will take few minutes for enabling the feature and after completing you will see a message for successful operation.
    Telnet successfully installed

Method 3: Installing Telnet for macOS

To install Telnet in macOS you must have homebrew installed on your system. Because of this, we have divided this method into two steps. If you already have homebrew installed then skip step 1 and directly apply step 2 to install Telnet.

Step 1: Installing Homebrew on macOS

  1. Hold Command key and Press Space to open spotlight, then type Terminal and Enter.
    Opening Terminal
  2. Type the following command to install Homebrew on macOS:
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    Installing homebrew
  3. It will ask Return (Enter) key and password for confirmation.
  4. Once it is installed, you will see a message like the one shown below:
    Successfully installed message

Step 2: Installing Telnet through Homebrew

  1. Hold Command key and Press Space to open spotlight, then type Terminal and Enter.
    Opening Terminal
  2. Type the following command to install Telnet on macOS:
    brew install telnet
    Installing telnet on macOS
  3. Homebrew will download and install Telnet. Then you can easily run any Telnet command without any errors.

Method 4: Alternatives of Telnet

Telnet is not safe, your login data is transmitted in plaintext and anyone can steal your credentials with Wireshark in no time. So using SSH as an alternative will be a better choice to get good experience and safe usage. These are some of the worth mentioning alternatives as stated below:

PuTTy: PuTTy is terminal emulation software that runs on Microsoft Windows. It allows you to connect to remote server and provides a platform to execute your commands on the server. It supports both SSH and Telnet protocols.

PuTTy

Download Link: PuTTy

TeraTerm: TeraTerm (or Tera Term) is a free open-source terminal emulator program that emulates different types of computer terminals. It supports SSH 1 & 2, Telnet and serial port connections.

TeraTerm

Download Link: TeraTerm

ZOC: ZOC is a powerful and professional SSH, Telnet client and terminal emulator for Windows and macOS. It has some special features like hex view, REXX scripting but its not free.

ZOC

Download Link: ZOC

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.