Telnet Server Registry Settings

The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system continually references during operation. The protected registry contains named values for telnetd configuration.

Note   The default registry values vary depending on which features are included in your platform. For more information, see Default Registry Settings.

The Telnet server settings are located under the HKEY_LOCAL_MACHINE\Comm\TELNETD registry key.

Note   HKEY_LOCAL_MACHINE\COMM\TELNETD is a protected (access-restricted) registry key on some devices that run Windows CE 3.0 or later.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\TELNETD key.

Value Description
IsEnabled : REG_DWORD To disable the sample Telnet server, set this value to 0; otherwise, set it to nonzero. If the Telnet sample is started and this value is not present, this value defaults to accepting connections.
UseAuthentication : REG_DWORD To require a password check on the user, set this value to 1; otherwise, set it to 0. By default, the Telnet sample requires authentication.
UserList : String Provides a comma-separated list of allowed users. Requires UseAuthentication to be enabled.
Security Note   Microsoft recommends that you set this value. Setting this value requires that potential clients supply both a valid username and a password to access the Telnet service.

The Telnet sample reads the values in the registry before servicing each request. Therefore, changes made to the registry take affect immediately and do not require the Telnet sample to be restarted.

See Also

Telnet Server

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.