Search code examples
windows-7shutdownkiosk

Disable Ctrl-Alt-Del and shutdown for kiosk


I finished an app for a client. After talking for a bit he would like me to do an additional app or recommend one for their kiosk.

The client would like a way to prevent the computer from shutting down. They like to disable Ctrl+Alt+Delete (also so processes cant be killed), Alt+F4 to close their browser and no windows button to make the start menu pop up for the user to click or use keyboard to shutdown. Obviously there should be a way to unlock it

I told them i'll look into it but they really don't need it.

They are using Windows 7. Is there a WinAPI call I can use or an already existing app or a lib to do this?


Solution

  • Might be a better way, but AutoHotKey can disable or remap keys for you in Windows. http://www.autohotkey.com/docs/misc/Remap.htm and http://www.autohotkey.com/docs/misc/Override.htm.

    It's a little safer than editing the registry yourself anyway. I haven't tried disabling Ctrl+Alt+Del, but it works for capslock and a couple other keys I've tried.