How To Enable Telnet Client in Windows Server 2022

Here are 3 easy ways you can quickly install the Telnet client in Microsoft’s Windows Server 2022. I’ll show examples with command prompt, PowerShell, and of course using the graphical user interface.

3 Ways to Enable 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.

C:\>telnet 80
'telnet' is not recognized as an internal or external command, operable program or batch file.

You can enable the telnet client either by command line or through the graphical interface.

1. 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.

dism /online /Enable-Feature /FeatureName:TelnetClient

That’s it, after a few seconds telnet should be ready to use.

2. Enabling the telnet client through PowerShell

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.

Install-WindowsFeature -name Telnet-Client

Once complete, you should see the following output returned:

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    No             Success        {Telnet Client}

3. Enabling the telnet client through the graphical user interface (GUI)

  1. Open Server Manager.
  2. From Server Manager click “Add roles and features”.
    Windows Server 2022 - Server Manager Dashboard
  3. The Add Roles and Features Wizard opens to the Before you Begin screen, click next.
    Windows Server 2022 Before You Begin
  4. On the Installation Type screen, leave Role-based or Feature-based installation selected and click next.
    Windows Server 2022 Select Installation Type
  5. On the server selection screen, select the server to install on. By default it should be the local server itself, click next.
    Windows Server 2022 Select Destination Server
  6. On the Server Roles screen, click next. We are installing a feature rather than a role so don’t select anything here.
    Windows Server 2022 Select Roles
  7. On the Features screen, tick the check box next to Telnet Client.
    Windows Server 2022 Install Telnet Client Feature
  8. On the Confirmation screen, click Install.
    Windows Server 2022 server manager confirmation
  9. Once the installation succeeds, click the Close button. The telnet client is now installed and ready for use.
    Windows Server 2022 Server Manager Installation Complete

Verifying that the telnet client is enabled

Simply open command prompt or powershell, type ‘telnet’ and press enter. If this was successful you should have a prompt similar to the below:

Welcome to Microsoft Telnet Client

Escape Character is 'CTRL+]'

Microsoft Telnet>

This confirms that you have successfully turned on and enabled the telnet client in Windows Server 2022.

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 installed telnet in Windows Server 2022 you should be able to start issuing commands with it and using it to troubleshoot TCP connectivity problems.

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>