How To Enable Telnet Client in Windows Server
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Telnet is a protocol that allows you to connect to remote computers (called hosts) over a TCP/IP network (such as the internet). Using telnet client software on your computer, you can make a connection to a telnet server (that is, the remote host). Telnet clients are available for all major operating systems.
Telnet is helpful when you’re trying to troubleshoot network connectivity problems, for example, say we have a web server which should be listening on port 80 to serve HTTP traffic but we are not able to load a web page, by using telnet to connect to the web server on port 80 we can verify the connectivity.
It may be that the connectivity is fine but there is a problem with the web server, or that the web server is stopped and the port is not listening at all, for instance. With telnet, we can get a better understanding of what’s going on.
By default the telnet client in Microsoft’s Windows operating systems is disabled, this is unfortunate as it is an extremely useful tool which can be used for testing TCP connectivity to external hosts on a specified port.
This article will show you how to install the telnet client in Microsoft’s Windows Server. Below are the examples with command prompt, PowerShell, and graphical user interface.
Enabling the Telnet Client
Firstly you need to enable the telnet client, if you don’t enable it you’ll get a result similar to the below message when trying to use it.
1 2 3 |
C:\>telnet google.com 80 'telnet' is not recognized as an internal or external command, operable program or batch file. C:\> |
You can enable the telnet client either by command line or through the graphical interface.
Enabling the telnet client through command prompt
Using the command line is the easiest and fastest way to install the telnet client. Run the below command in command prompt with administrator permissions.
1 |
dism /online /Enable-Feature /FeatureName:TelnetClient |
after run this command, telnet should be ready to use.
Enabling the telnet client through PowerShell
Again we can also do this instead with PowerShell, we can run the below cmdlet in a PowerShell console with administrator permissions which will install the telnet client.
1 |
Install-WindowsFeature -name Telnet-Client |
Once complete, you should see the following output returned:
1 2 3 |
Success Restart Needed Exit Code Feature Result ------- -------------- --------- -------------- True No Success {Telnet Client} |
Enabling the telnet client through the graphical user interface
Open Server Manager.
From Server Manager click “Add roles and features”.
The Add Roles and Features Wizard open to the Before You Begin screen, click next.
On the Installation Type screen, leave Role-based or Feature-based installation selected and click next.
On the server selection screen, select the server to install on. By default it should be the local server itself, click next.
On the Server Roles screen, click next. We are installing a feature rather than a role so don’t select anything here.
On the Features screen, tick the check box next to Telnet Client.
On the Confirmation screen, click Install.
Once the installation succeeds, click the Close button. The telnet client is now installed and ready for use.
Verifying that the telnet client is enabled
Simply open the command prompt or PowerShell, type ‘telnet’ and press enter. If this was successful you should have a prompt similar to the below:
1 2 3 4 5 |
Welcome to Microsoft Telnet Client Escape Character is 'CTRL+]' Microsoft Telnet> |
I very lucky to find this web site on bing, just what I was searching for : D likewise saved to favorites.
It’s a pity you don’t have a donate button! I’d without a doubt donate to this fantastic blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will talk about this blog with my Facebook group. Talk soon!
Heya i am for the first time here. I came across this board and I find It truly useful & it helped me out a lot. I hope to give something back and aid others like you helped me.
a excellent info
There is obviously a lot to identify about this. I feel you made some good points in features also.
Appreciation to my dad who told me concerning this blog, this weblog is really remarkable.
This website is my breathing in, really fantastic style and perfect subject matter.
Hi there, just became aware of your blog through Google, and found that it is really informative. I am going to watch out for brussels. I’ll appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!
This is balm to my soul. A timely reminder. Thank you for doing what you do do well. Love you! Kerianne Tuckie Tobe
Like!! Thank you for publishing this awesome article. Carissa Dwain Estella
I used to be able to find good advice from your articles. Melesa Francisco Isahella
Very informative blog article. Thanks Again. Want more. Kalina Saleem Henning
You have made some good points there. I checked on the net to learn more about the issue and found most individuals will go along with your views on this website. Koo Colet Wessling
Amazing blog! Is your theme custom made or did you download it from somewhere? Jessamine Corney Berne
I like reading through an article that can make men and women think. Also, thanks for allowing for me to comment! Myrtia Edouard Balcke