If you want to accept an incoming Telnet connection, you must enable and run the Telnet Server service that will have access to the TCP port 23. However, in Windows Vista, the Telnet Server is not installed by default in an effort to minimize security risks and thus, you have to install it manually if you want to use it. The Telnet Server in Vista is similar to the one comes with Windows Server 2003, where it provides ASCII terminal sessions to Telnet clients, and supports two types of authentication plus four types of terminals: ANSI, VT-100, VT-52, and VTNT.

To enable the Telnet Server in Vista, simply carry out the following steps.

Enabling the Telnet Server

  1. Go to Start -> Control Panel -> Programs.
  2. In the Programs and Features section, click Turn Windows features on or off. If the User Account Control permission warning pops up, click onContinue. And if you are prompted for an administrator password, type it in.
  3. In the Windows Features dialog box, select the Telnet Server check box.
  4. Click OK and wait for the installation to finish.

Starting the Telnet Server

Method A

  1. Go to Control Panel, and then go to System -> Administrator Tools.
  2. Click on the Services applet (services.msc if you prefer to use Run command or Start Search).
  3. Locate the “Telnet” service, right-click on it and select Properties.
  4. In the Startup Type drop down menu, select “Automatic” instead of “Disabled”.
  5. Click on Apply button.
  6. Right-click on the “Telnet” service again, but this time select Start option on right-click context menu. Telnet Server service should be running after this.
  7. Click OK.

Method B

    1. Run an elevated command prompt.
    2. To set Telnet service to run automatically on every system startup, enter the following commands
      1. sc config TlntSvr start=auto (Set Start Type option to Auto).
      2. sc start TlntSvr
        net start TlntSvr (Start the Telnet Server immediately.)

Configuration Options for Telnet Server

There are several commands that let you configure the Telnet Server. For instance, o start, stop, pause or continue Telnet server, the command syntax is:

tlntadmn [\\RemoteServer] [start] [stop] [pause] [continue] [-u UserName-p Password]

Again, to deactivate and disable NTLM authentication and switch to use only password authentication, you can use the following tlntadmin command:

tlntadmn config sec=-NTLM

Further, to make Telnet session switch to streams mode for better display of Unix/Linux clients, enter:

tlntadmn config mode=stream

You can look up more command references from the Microsoft Telnet page.



Please enter your comment!
Please enter your name here