How to block Ctrl+Alt+Delete key combination on Windows 7 with Delphi or anyway
Asked
Active
Viewed 1,130 times
0
-
You can check this... http://www.winvistaclub.com/t70.html – Whiler Jul 31 '12 at 12:53
-
@Whiler That just controls what options Windows offers you when you press CTRL+ALT+DEL. – David Heffernan Jul 31 '12 at 12:58
-
2You don't Block Ctrl+Alt+Delete. – Pieter B Jul 31 '12 at 13:07
-
http://stackoverflow.com/questions/4617303/does-windows-7-have-a-kiosk-mode – Marcus Adams Jul 31 '12 at 13:11
-
I haven't tried (and I don't plan to...). Does someone know what happens if all options are removed? (does it still display sth.?) – Whiler Jul 31 '12 at 17:32
-
http://stackoverflow.com/questions/934505/custom-windows-gina-authentication accepted answer may be works for me. – Aug 01 '12 at 09:19
1 Answers
3
You cannot do this. The Secure Attention Sequence (the official Windows name for CTRL+ALT+DEL) is handled in kernel mode and it would be a humungous security hole if user mode apps were able to change what happens when the user sends the SAS.

Andreas Rejbrand
- 105,602
- 8
- 282
- 384

David Heffernan
- 601,492
- 42
- 1,072
- 1,490
-
1I'm not sure about NT6 but in NT5 (Win2k, WinXP) there is nothing special about Ctrl+Alt+Del other than that it was registered as a global hotkey (via RegisterHotKey()) by the SAS window in winlogon.exe, which is a user-mode process. You could easily intercept it once you injected your code into that process. – Moritz Beutel Jul 31 '12 at 14:07
-
Sure, when WinLogon still used GINA DLLs to process SAS notifications. That went away in Windows Vista. – Remy Lebeau Jul 31 '12 at 23:11