JSI Tip 7142. Registry entries for the Telnet Server service.

The Windows 2000 Telnet Server service can be configured by modifying the registry values at

Name                   Data type         Values
AllowTrustedDomain     REG_DWORD         0x00: Prevent users from logging
                                         in with a trusted domain account. 

                                         0x01: Allow logging in with a trusted
                                         domain account (default)
AltKeyMapping          REG_DWORD         0x00: Press CTRL+A
                                         to sent ALT key combinations
                                         to programs running on SFU Telnet 

                                         0x19: Press CTRL+Z
                                         to sent ALT key combinations
                                         to programs running on SFU Telnet 
DefaultDomain          REG_EXPAND_SZ     Use the default Windows domain for 
                                         login authentication.
DefaultShell           REG_EXPAND_SZ     Specifies the full path of
                                         the shell or command interpreter that runs
                                         when a Telnet user logs on. The default is 
                                         CMD.EXE, but can be set to a UNIX shell.
LoginScript            REG_EXPAND_SZ     Sets the full path of a batch
                                         file than runs when a Telnet user logs on. 

MaxConnections         REG_DWORD         Unless you purchase a license through 
                                         Services for UNIX, the hard coded limit is 
                                         two simultaneous connections.
MaxFailedLogins        REG_DWORD         Determines the number of 
                                         failed logons before a user
                                         is disconnected. (the default is 3)

NTLM                   REG_DWORD         0x00: Disables Windows NT
                                         LAN Manager (NTLM) authentication.

                                         0x01: Attempts NTLM first, and
                                         then uses clear text authentication.
                                         0x02: Uses NTLM authentication only.

TelnetPort             REG_DWORD         Defines the TCP port for Telnet
                                         connections. (the default is 23)
TermCap                REG_EXPAND_SZ     Sets the full path to the 
                                         "terminal capabilities" file that
                                         defines standard layouts and key mappings 
                                         for common emulation types (for 
                                         example, VT52, VT100, and ANSI). 

NumThreadsPerProcessor REG_EXPAND_SZ     At HKEY_LOCAL_MACHINE\Software\Microsoft\TelnetServer\1.0\Performance
                                         this value determines the number of threads 
                                         assigned to each processor for execution. The default value is 10.
                                         The minimum value is 2.
NOTE: If you change any values, you must stop and start the telnet service. Open a CMD.EXE prompt and type:

net stop telnet
net start telnet

NOTE: See The tlntadmn.exe command-line tool for Telnet Server service configuration.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.