Disable Ctrl+Alt+Del Combination on windows7

后端 未结 6 706
甜味超标
甜味超标 2020-12-19 07:40

I\'m working on an app (Written in C#) that have a setting to run on KIOSK mode. I\'ve just an challenge here which is disabling Ctrl+Alt+Del

6条回答
  •  半阙折子戏
    2020-12-19 08:40

    It is possible to block CTRL+ALT+DEL combination. However, you can't really disable it. As far as I know, there are two possible methods.

    1. Remapping the keyboard layout. There is a registry binary key that allows you to remap keyboard layout:
    HKLM\System\CurrentControlSet\Control\Keyboard Layout\Scancode Map
    

    Please check this out: Disabling Windows Hot Keys

    1. This method can be dangerous, but I haven't noticed any side effects this method can cause. The CTRL+ALT+DEL combination is handled by winlogon.exe. If your process has administrative privilege, you can suspend winlogon.exe. Hence, it cannot process the hotkey and nothing will happen if the user presses CTRL+ALT+DEL.

    Please check this out: C++ code to disable CTRL+ALT+DEL.

提交回复
热议问题