Disable Ctrl-Alt-Del and shutdown for kiosk

廉价感情. 提交于 2019-11-27 08:59:39
rkulla

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.

Piskvor

Since Windows 2000, there's a Registry binary key that allows you to remap keys just above the driver level:

HKLM\System\CurrentControlSet\Control\Keyboard Layout\Scancode Map

Fortunately, there's also a GUI app which allows you to configure it easily, called SharpKeys (no affiliation, just a happy user). The remap is quite flexible, so far I've managed to remap every standard key (inc. Ctrl, Delete, F4, etc.), even the "multimedia" keys that are on some keyboards.

The app just writes the settings into Registry, so it need not be running all the time - and once you've found a layout that you like, you can just export/import the Registry key through Regedit, no special tools required.

I'd suggest to remap all the "dangerous" keys to something innocent - e.g. map Ctrl, Delete, and F4 to Shift.

CAVEAT: this is a system-wide setting, so if you'd ever need to press Ctrl+Alt+Delete in that system, you'd be out of luck (you'd have to edit the registry key again). Also, the mapping is read only once, after system boots, so you need to reboot to apply the changes.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!