This question is extremely old now, however, someone resurrected it 2015.
No need to HEX edit CMD.EXE etc... Someone mentioned a restart too(?)
The solution that I found to block CTRL+C aka Terminate Batch Y/N COMPLETELY.
No Fuss, No kidding, No Breaking Out. XOUT but that too can be disabled.
Briefly:Code: Select all
C:\PROFILES\ADMIN>REN "%COMSPEC:~0,-8%\CSRSS.EXE" !!!CSRSS.!!!
OOPS Windows File Protection. If WFP is enabled ask almighty Google about that.
Transpose the file names to undo. WARNING: This MAY also break your toaster.
PRO: Disallow all programs from injecting code via CSRSS hooking.
CON: PROPERTIES from the System Menu of CMD Windows are disabled as well.
CON: Enemy Territory will certainly whine until dialog box is dismissed once.
ELSE This is bulletproof. I'm being extremely terse!
=================================================================================
SideTip For KB Fans:Hit ENTER after typing @EXIT then hit CTRL+Z then ENTER again.
Test drive it by typing the letter X at CMD Prompt & hit ENTER.