Block Control+Alt+Delete

后端 未结 14 723
渐次进展
渐次进展 2020-12-03 08:35

I am doing an Online Quiz project in C#. The test client is a Windows Desktop Application running on Windows XP. I need to block the control+alt+d

14条回答
  •  渐次进展
    2020-12-03 09:34

    As other people have mentioned it's very hard to block Ctrl-Alt-Del, as it's a fundamental part of Windows security.

    However you can block what can be done after Ctrl-Alt-Del has been pushed by adding the following registry keys.

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

    • DisableTaskMgr
    • DisableChangePassword
    • DisableLockWorkstation

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

    • NoLogoff

    If you do this then when you push Ctrl-Alt-Del you will get a dialogue like the following (under XP):

    alt text

    It's not fool-proof, but it stops the user from doing some basic things.

    Update: Just realised that this also blocks Ctrl-Shift-Esc, which I didn't realise before.

提交回复
热议问题