How to disable CTRL-Z in Windows Telnet Server
Posted on 2011-04-21
We run a home-made commande line applications that is executed when someone logs on our telnet server on Windows Server 2003 (we call this .EXE from the login.cmd file).
The user logs with his NT account (he is part of the Telnet Clients Groups). When it logs, our application launches. The user can disconnect by choosing an option in our application. This close the .EXE and the connection. But if the user does CTRL-Z, it ask to terminate the batch job. The user then say Yes and then he has access to the server.
How do we disable CTRL-Z ?