Red Hat Certified System Administrator (RHCSA EX200) Study Guide
Red Hat Certified Engineer (RHCE) 7 EX300 Study Guide
Microsoft 70-744 Securing Windows Server 2016 Study Guide
Guides, tutorials, reviews and news for System Administrators.
How to enable the Telnet Client in Windows 10
By default the telnet client in Microsofts 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 is great when youre 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 whats going on.
Update October 21st 2015:I have also created a video showing the process:
Firstly you need to enable the telnet client, if you dont enable it youll get a result similar to the below message when trying to use it.
You can enable the client either by command line or through the graphical interface.
Run the below command in command prompt with administrator permissions.
Thats it, after a few seconds telnet should be ready to use.
Enabling the telnet client through the graphical user interface
Right click the start button and select Programs and Features.
Simply open command prompt or powershell, type telnet and press enter. If this was successful you should have a prompt similar to the below:
Already have telnet installed but still failing?
In some cases you must run command prompt or powershell as administrator in order to issue the telnet command, otherwise it will give the same error as if it was not enabled at all.
Now that you have enabled telnet you should be able to start issuing commands with it and using it totroubleshoot TCP connectivity problems.
Click to share on Facebook (Opens in new window)
Click to share on Twitter (Opens in new window)
Click to share on Google+ (Opens in new window)
Click to share on LinkedIn (Opens in new window)
Click to share on Tumblr (Opens in new window)
Click to share on Reddit (Opens in new window)
Click to share on Pinterest (Opens in new window)
Click to share on Pocket (Opens in new window)
Click to email this to a friend (Opens in new window)
Free Virtualization Software for Windows
Great, this tutorial helped me a lot.
Great tutorial thanks for posting it.
thanks for useful post! Whiners will blather on about how insecure telnet is bla di bla di bling blong. Nobody is going to spy on my in my wired, off-the-internet development network. What kind of lamer leaves their desktop PC connected to the internet when they are gone anyway?
Thanks, glad you found it useful! Theres definitely nothing wrong with installing the telnet client and using it fortroubleshooting purposes. Installing the telnet server however is another subject entirely.
PkgMgr has been deprecated and should not be recommended anymore. One should use Deployment Image Servicing and Management (DISM) tool instead
dism /online /Enable-Feature /FeatureName:TelnetClient
Thanks for the tip, Ive updated the post to reflect this.
Thank you! a quick resolution for my problem
This was extremely helpful! We were trying to figure it out and at first resolved it by loading it from the MS Store which was an app with a trial.
This allowed us to install the actual native command.
No problem, good to hear its all working now.
Enable-WindowsOptionalFeature -Online -FeatureName TelnetClient
What OS did you try this in? It does not work for me in Windows 10 running PowerShell as Administrator.
I am the admin of my home network, and need to enable the telnet client for public access, and I keep getting error 740 when I use your dism command. Do you know why the error;s happening, and if so how do I fix it? Please shoot me an e-mail A.S.A.P.
I get Error: 740 when I run the command without administrator privileges in PowerShell, when you go to open PowerShell right click it and select run as administrator.
Dont have Powershell on my main computer or on any of them.
PowerShell is available by default since Windows 7/2008 R2 so you will likely have it unless youre using a very old version of Windows.
In any case Error 740 in Windows typically points to a problem with permissions, your account needs administrator permissions in order to complete this process.
Why dont they just leave this enabled what harm does it do?
Im not completely sure why telnet isnt enabled by default, probably because they try to keep things most people dont need as optional add ons, perhaps their justification is to reduce the attack surface by having less moving parts?
I just want to say thank you for the step by step directions on getting the telnet to run correctly.
how can we get telnet server for windows 10?
Officially it has been deprecated, and for good reason:
You may be able to find some sort of third party option however.
omg so im trying to play this new game skyforge and having random freezing issues blah blah etc so the support team wants me to send the a picture of telnet after i input this code telnet 220.127.116.11 9273 they say its the us server for telnet so i went and did all of that but when i click enter on the admin cmd it literally does nothing and im in telnet in the cmd. any ideas why its not working i already have it enabled and everything.
Are you able to provide a screenshot of what happens after you enter telnet 18.104.22.168 9273 and then press enter? If it connects properly the window will go black. If you are not able to connect it will just sit there saying connecting to 22.214.171.124 and eventually time out.
I have an issue while trying to enable the telnet client on Windows 10 (x64, French version). The process ended with this message:
La fonction a tent dutiliser un nom dont lutilisation est rserve une autre transaction.
Which can be approximatively translated as:
The function attempted to use a name whose use is reserved for another transaction.
And the telnet client is still not enabled.
Please, can somebody help me fix that.
I can see telnet client, but is there a way to install Telnet Server?
No, I believe its been removed from the most recent version of Windows.
Please advise how to elevate the command telnet. Running command, CMD, give you the window, but error received (to run as administrator, despite the fact that the calling user, IS the administrator) Thanks
What version of Windows are you running? This information may help:
Personally I just right click CMD and select run as administrator in Windows 10 and that works for me.
I followed your advice and enabled TelnetClient. I now need to go to the next step and delete a handful of e-mails on my Outlook account that seem to keep duplicating themselves with each Send/Receive. My POP server is sympatico.ca
Ive not personally done this, however this appears to list the commands required:
Many thanks Jarrod. Im struggling to get this to work in Windows 10 but will advise if and when I make a breakthrough.
This helped a lot. Excellent instructions. THANK YOU!!!
thanks for your tip, Advance Merry christmas and happy new year
Thank you! FYI this command works on Windows 7 Enterprise as well.
Thanks great article!!! My NAS does not respond, but I could test that with telnet activated!
No problem, glad to hear you were able to test the connectivity 🙂
Great little article. It worked exactly as described. Solved my problem in minutes
In the Creators Update (Version 1703, Build 15063.540), there is no Programs and Features when you right-click the area where the Start button was 3 major releases ago in Windows.
To get to the dialog you want, press theWindows Logokey on the keyboard (or click the Windows Logo button thats typically in the lower-left corner), then type in turn win (sans quotes) by the time you type in the second n it should be down to a couple choices select the Turn Windows features on or off option.
this is awesome. respect from pakistan
Thanks for the assistance. Running the command line as administrator in Powershell completed the task easily.
NOTE – You can use theseHTMLtags and attributes:
a href= title= abbr title= acronym title= b blockquote cite= cite code del datetime= em i q cite= s strike strong
Notify me of follow-up comments by email.
Receive new post notifications by email for free! Unsubscribe any time.
2x Intel Xeon E5-2670 vs AMD 1950X Threadripper CPU Benchmark
Ruxcon CTF 2017 Unix2 Write-up
Ruxcon CTF 2017 Unix1 Write-up
Manage EFS and BitLocker Certificates, Including Backup and Restore
onHow To Join CentOS Linux To An Active Directory Domain
onHow To Configure Network Teaming In Linux
onHow To Configure Network Teaming In Linux
onHow To Configure Network Teaming In Linux