KpyM Telnet/SSH Server - Forum
Compiling KpyM Telnet as an exe application in VS2010 |
abhinawsharma |
Compiling KpyM Telnet as an exe application in VS2010 |
Aug 11 2010 22:25 |
|
HI,
This is a great application.
Is it possible to compile this code into an exe which runs as an application. I was trying to run telnet server on a windows 2008 server and found that telnet server is running is session0 which is a new feature introduced in win 2008/win7/vista.
The impact of running telnet server as a service is that it is now not able to communicate to an application which uses mutexes, events and semaphores for synchronization
(l0c41://www.microsoft.com/whdc/system/sysinternals/Session0Changes.mspx).
The only way I can think of is to run telnet server as an application so that it can run in session1.
appreciate your feedback on this.
Thanks
abhinaw
|
abhinaw |
|
Aug 13 2010 19:21 |
|
I got my answer. Running Daemon.exe from command line with -debug switch will make it run as an application and it will accept telnet connections.
Thanks
|
Kroum Grigorov |
|
Aug 15 2010 11:56 |
|
>-debug switch will make it run as an application
Yes just keep in mind that when in debug mode kTS will not validate the user credentials.
You will have to validate the user login/pass all by yourself.
You need a "run as system" privilege to validate login/pass this is one of the reasons KTS runs as service only, the interactive accounts are not granted this privilege by default.
Kroum
|
© 2007 - 2008 Kroum Grigorov