Detecting Ctrl-Alt-Del in Windows

Tim Golden mail at
Fri Sep 2 08:45:39 EDT 2011

>> Obviously, this is a windows-based question.  I know that Ctrl-Alt-Del
>> is handled deep inside the OS, and I'm not trying to interrupt that.
>> But is there some way to detect that a C-A-D has been pressed?

Others have pointed out that this shouldn't really be possible for
reasons of security. (And I agree). However, if what you're really
after is to detect a session switch or a logon then this might
be of some use:


More information about the Python-list mailing list