Microsoft KB Archive/309523

= Failure in initializing the telnet session. Shell process may not have been launched. Telnet... =

Article ID: 309523

Article Last Modified on 12/1/2007

-

APPLIES TO


 * Microsoft Windows XP Professional x64 Edition

-



This article was previously published under Q309523



SYMPTOMS
When you try to use the Telnet client to connect to a Windows XP 64-Bit Professional computer that is running the Telnet service, you may receive the following error message:

Failure in initializing the telnet session. Shell process may not have been launched.

Telnet Server has closed the connection.

Connection to host lost.



RESOLUTION
To resolve this problem, follow these steps:
 * 1) At a command prompt on the Windows XP 64-bit Professional host that is running the Telnet service, type cd %systemroot%\system32, and then press ENTER.
 * 2) Type net stop tlntsvr, and then press ENTER.
 * 3) Type tlntsvr /unregserver, and then press ENTER.
 * 4) Type tlntsvr /service, and then press ENTER.
 * 5) Type net start tlntsvr, and then press ENTER. Telnet connections to the Telnet service should now be accepted.

Note Do not follow these steps on a Microsoft Windows Server 2003-based domain controller because the tlntsvr /service command to reinstall the service will not work. The command calls the \Telnetclient group, but this group does not exist on domain controllers. In Windows Server 2003, you must demote the domain controller to a member server, run the tlntsvr /service command to reinstall the service, and then repromote the server to a domain controller.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
Tlntsvr.exe is located in the %SYSTEMROOT%\System32 folder.

Additional query words: access

Keywords: kberrmsg kbprb KB309523

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.