You can do it this way:
- Create a new registry key of type
DWORD
under HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System
named DisableTaskMgr
and assign the value 0x00000001
to it - set the value of the
DisableTaskMgr
registry key to 0x00000000
to re-enable the Ctrl+Alt+Del keystroke
Anyway, keep in mind that if you deloy your software to others, they probably don't like that you avoid them to control their computer:
it's your software but not your computer :laugh: