Disable CTRL ALT DELETE in C++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I apologize in advance if this is the wrong group to send this question. If
you know a better group, please tell me.

We need a way to disable CTRL+ALT+DELETE since we have a specialized
password screensaver. When our screensaver is up, CTRL ALT DELETE can still
be invoked and when the user presses Cancel we lose our screen saver.

This needs to work on W2K and XP.

I have tried the following code:
int old;
BOOL x = SystemParametersInfo(SPI_SCREENSAVERRUNNING,true,&old,0);

This returns an error.

I have also tried updating the registry value for this key to 1:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current
Version\policies\system\disablecad

It didn't work.

Any suggestions would be appreciated.

Thanks for your assistance.
 
Ctrl-alt-del cannot be easily disabled, because that would be too delicious
trick for viruses and malware. You could try to find a soultion from writing
new msgina.dll. That dll controls logging process. I dont know if you could
that way disable ctrl-alt-del.
 
Back
Top