11.2.1 Windows operating system-provided telnet client
This procedure applies to the following cases:
32-bit Internet Explorer on a 32-bit operating system
32-bit Firefox on a 32-bit operating system
64-bit Internet Explorer on a 64-bit operating system
-
64-bit Microsoft Edge on a 64-bit operating system
To configure the telnet client provided by the operating system for use by a Web browser, follow these steps:
Windows 7, Windows 10, Windows Server 2012, Windows Server 2016 or Windows server 2019 only: Install the operating system's telnet client on the computer by following the steps appropriate to the operating system.
- Windows 7 or Windows 10:
a. In the Control Panel, click Programs, and then click Programs and Features.
b. Under Tasks, click Turn Windows features on or off.
c. In the Windows Features dialog box, select the Telnet Client check box, and then click OK.
- Windows Server 2012, or Windows Server 2016 or Windows Server 2019:
a. In the Server Manager, under Dashboard, click Add roles and features.
b. In the Add Roles and Features Wizard, select the Telnet Client check box, click Next, and then click Install.
Internet Explorer only: Enable Internet Explorer to use the telnet protocol.
a. Back up the Windows registry.
b. Use the Windows registry editor to add the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_DISABLE_TELNET_PROTOCOL] key with the following values:
Name
Type
Data
iexplore.exe
REG_DWORD
0
Set file association for the URL:Telnet protocol file type.
a. Back up the Windows registry.
b. Use the Windows registry editor to modify the [HKEY_CLASSES_ROOT\telnet\shell\open\command] key with the following values:
Name
Type
Data
(default)
REG_SZ
rundll32.exe url.dll,TelnetProtocolHandler %l
%l (with a lowercase L) is the argument passed to telnet, usually an IP address or the fully-qualified domain name of a node.
For tighter control, you can encode the paths to the binaries in the key (as a single line). For example:
"C:\Windows\system32\rundll32.exe" "C:\Windows\system32\url.dll",TelnetProtocolHandler %l
Restart the Web browser, and then, in the browser address bar, enter the telnet command:
telnet://node
node is the IP address or fully-qualified domain name of a node that runs the telnet server. If you are prompted with a security warning, permit the action. In Firefox, select the Remember my choice for telnet links check box.