a --> Disable Ctrl+Alt+Del in WinXP with ONE LINE OF CODE! WORKS IN MULTIPLE LANGAUGES!<--
Super-simple way to disable Ctrl+Al+Del (but not Alt+Tab) in Windows XP and probably NT/2K as well. Anyone can do it, and it works in any language that lets you launch another app! How cool is that?
Original Author: HyperHacker
Code
While there is a good submission relating to making your app Task Manager-Proof, I haven't seen one that tells how to actually disable Ctrl+Alt+Del. In about 5 minutes I came up with a way to do it, with only one line of code, in just about any programming language! O_O
What you wanna do is launch taskmgr.exe, then hide it. For an always-on-top fullscreen form (IE a lockout screen) that should take about one line of code. In VB for example, shell "taskmgr.exe" followed by the code which makes your window always on top (which doesn't count since you were doing that anyway).
So why does just launching the Task Manager disable the 3 magic buttons? Doesn't it defeat the purpose? No. Observe: When the Task Manager is open already and you hit Ctrl+Alt+Del again, it merely brings focus to the Task Manager. But when another window of yours is on top, it keeps focus (so long as you launched Task Manager before making your program Always On Top) and the user can't access the Task Manager!
NOTE: Don't do this on Win9x/WinME. In them, when the Task Manager is open and you hit Ctrl+Alt+Del, your computer reboots. ^_^ It's not hard to disable in those anyway.
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.