[python-win32] How to block ctrl-alt-delete on Windows 7?

Tim Golden mail at timgolden.me.uk
Fri Oct 29 10:54:53 CEST 2010


On 29/10/2010 06:15, Alec Bennett wrote:
> I'm working on a kiosk application, and am trying to prevent people from breaking out of our interface with Windows shortcut keys.
>
> Using pyHook I've managed to block the Windows keys, control keys and alt keys, but ctrl-alt-delete still works.
>
> This thread suggests that the combination is allowed to pass because of a guideline in the Windows SDK, and that it may be possible to modify the pyHook C extension:
>
> http://sourceforge.net/apps/mediawiki/pyhook/index.php?title=PyHook_Tutorial
>
> Any tips on doing that?

I *think* you may be able to do something with session events:

http://timgolden.me.uk/python/win32_how_do_i/track-session-events.html

(Probably worth a look, anyhow)

TJG


More information about the python-win32 mailing list