Use App Paths in Telnet session
Hello. Is it possible to force Windows Server 2008 Telnet Server to use HKEY_LOCAL_MACHINE\Software\Microsoft\CurrentVersion\App Paths\ registry hive while probing entered command by a Telnet client? I mean verifying that entered command is an executable file. It uses %PATH% envelopment variable, but registry - not. I hope I'm clear. Thanks in advance.
October 2nd, 2009 12:16am
Hi Abatishchev, Thank you for posting in windows server forum, AFAIUnderstood , you have configured windows server 2008 as telent server and you want the clients to authenticate to the server using the NTLM authentication ( thinking that you do not the clear text passowrds to be sent on wire ) I am unsure from here, do you want to change the telent server path ? , if so may i ask the reason Because telnet gets installed as a service and during installation the corresponding registry keys gets added to the path ( HKLM\software\microsoft\telenetserver , HKLM\system\ccs\services\tlntsrv) AFAIK if you change these path, i am afraid telent client would be able to communicateto the server, if i misunderstood your design , please do post back.sainath
!analyze
Free Windows Admin Tool Kit Click here and download it now
October 2nd, 2009 5:28am
Hello. Thanks for quick answer! You understood right the first part of my question: Yes, I have configured my Windows Server 2008 as Telnet Server. But without NTLM authentication. How can I do that? I don't want to sent a plain text password like I do it know. I can login on server. It's working properly. My question was: When a user types a command in his Telnet session console, server checks is it a console command (like dir), or an executable (like ping) - for this it checks current directory and environment variable %PATH%. But doesn't check registry hive 'App Paths' like it does when a user types a command in Start -> Run textbox. I'm using open source utility called Reg2Run that addes chosen executable's path to that registry hive so makes possible to call it from Run easily. Also this works for calling it from console like cmd or Far Manager. But doesn't work in Telnet session console. Is it possible to configure Telnet Server to do that?
October 2nd, 2009 10:27am
Hi Abatishchev, And as a caution you need to always turn on the NTLM authentication or the communication between the clients and server falls into clear text whcih can be spoofed easily . With respect to your original question , in a telnet session you cannot invoke GUI which means regedit.exe invokes GUI which answers your question. But if you want to modify the registry i can suggest a way to call ba batch file or script in the telnet session and modify the registry. sainath
!analyze
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2009 7:44am
With respect to your original question , in a telnet session you cannot invoke GUI which means regedit.exe invokes GUI which answers your question. But if you want to modify the registry i can suggest a way to call ba batch file or script in the telnet session and modify the registry.
Hello. I don't mean to run Registry Editor in a telnet session. I mean next: I have already added required registry data, i.e. all executables' aliases have been added to App Paths hive. Now I have to make possible to user to call it (i.e. an executable by an alias) while user telnet session. But user cannot. Because telnet server doesn't use that registry hive. It uses only current directory and %PATH% environment variable (for probing). How to force to use the registry hive too?
October 4th, 2009 5:00pm
Hi Abatischchev.Thanks for the info , AFAIK , telent session on the client uses the script C:\WINNT\system32\login.cmd and this script can be modified to change the home directory. i have even check the possible configurations with tlntadmn config but unfortunately it doesnt allow users to modify the registry / directories. sainath
!analyze
Free Windows Admin Tool Kit Click here and download it now
October 5th, 2009 5:21am
Hello. I have left a feedback on Microsoft Connect portal.
October 6th, 2009 6:19pm
Hi abatishchev, Thanks for the info, let us wait if the developers respond to the request or they might give us a workaroundsainath
!analyze
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2009 4:19am


