Assume a normal Windows 7 PC and a custom application running in kiosk mode. It's not possible to quit the application without a password. Now I want to block all Windows 7 key combinations which potentially could switch the focus to get access to the file system
Do you know more key combinations than listed below?
Win+D » Show Desktop)
Win+M » Minimize all
Win+L » Lock desktop
Ctrl+Shift+ESC » Open Task Manager
Ctrl+Alt+Del » Secure attention key
Alt+Tab » Switch window
Shift+Alt+Tab » Switch window
Alt+Esc » Switch window
Shift+Alt+Esc » Switch window
Win+Tab » Switch window (3D view)
Win+R » Open run prompt
Win » Open Start menu
Win+F » Open Explorer (focus on search)
Win+E » Open Explorer
Alt+F4 » Close active window
Win+Down » Minimize active window
Win+{1..9} » Switch to window (number on taskbar)
Win+Space » Peak at desktop
Win+U » Utility manager
I am aware of the following problem. But this will be another question
Ctrl-Alt-Del and Win+L cannot be intercepted by Autohotkey, or any other program which installs a keyboard hook. This is by design on Microsoft's part to prevent credential stealing via login screen spoofing
Question: What key combinations do I have to block (via AutoHotKey) to prevent a user from quitting a kiosk application?
Best Answer
I wouldn't use AutoHotKey for such task, bur rather rely on the built-in Scan Code Mapper feature which has been available since Windows 2000. This way you can fully disable the Win keys, as well as prevent the Secure Attention Sequence (SAS) (that is, Ctrl+Alt+Del) by disabling e.g the Alt keys. The registry value is called
Scancode Map
and is located at:It's not exactly human-friendly, but SharpKeys can be used to handle it with ease. Other features such as the Flip 3D can be selectively disabled by using related registry keys/policies.
Anyway, other shortcuts you should take into account:
See the link below for further shortcuts I might have missed.
Further reading