Windows – Install Telnet Client using PowerShell & CMD

Telnet is an application protocol provides command line interface to establish communication with remote host. Telnet is disabled by default on version of windows operating system like Windows 10, Windows Server 2012,Windows Server 2016 or Windows Server 2019. We will check different options to install telnet client using PowerShell or cmd.

If telnet client not enabled on your local system and if you run telnet command on PowerShell, it will error message as ‘Telnet’ is not recognized as the name of cmdlet, function, script file, or operable program.

In this article, I will explain you how to use PowerShell script to install Telnet client on Windows server or windows operating system and how to enable it using cmd (command prompt)

Install Telnet Client on Windows

You can install telnet client on windows operating system using PowerShell or cmd.

I will explain with PowerShell script or command to install or enable telnet client on windows.

PowerShell Script to Install Telnet Client

PowerShell Install-WindowsFeature cmdlet used to install one or more role services or features on local or specified remote computer.

Using Install-WindowsFeature cmdlet –Name parameter to specify Telnet-Client feature, it can be install on windows server.

Install-WindowsFeature cmdlet require ServerManager to be installed. Install module using below command

Import-Module ServerManager

Use below PowerShell script or command to install telnet client

Install-WindowsFeature -name "Telnet-Client"

Note: You will need to open PowerShell terminal or ISE with run as administrator privilege.

Install Telnet Client using CMD

To install Telnet client on windows 10 or windows server 2016, open command prompt with run as administrator privilege.

dism command line tool is used to repair or modify windows installation media. Use below command to enable telnet client using cmd on Window server or operating system.

C:\> dism /online /Enable-Feature /FeatureName:TelnetClient


I hope above article will help you to install telnet client on Windows Server 2019 or any windows operating system using PowerShell script or command prompt.

If you don’t want to enable telnet client using PowerShell or cmd in windows, you can use telnet alternatives option to test connection with remote computer.

You can find more topics about PowerShell Active Directory commands and PowerShell basics on ShellGeek home page.

Leave a Comment