PDA

Click to See Complete Forum and Search --> : Alt+ctrl+del (urgent!!!)


clarkgriswald
Feb 23rd, 2001, 12:48 PM
PLEASE help me!! I need to know how to diasble the ALT+CTRL+DEL keys for WINNT and WIN2000. There is a way somehow via hooks, registry, or API (msgina.dll) I am just not sure how to do it. PLEASE help me it is very urgent. Thank you very much!

Lord Orwell
Feb 23rd, 2001, 03:47 PM
i dont know if it will work under win nt/2000, but win 98, do this:
Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Const SPI_SCREENSAVERRUNNING = 97&


Sub DisableTaskKeys()
'disables ctrl-alt-del, alt-tab, ctrl-f4, etc., keeping you in charge...
Dim rtn As Long
rtn = SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1&, 0&, 0)
End Sub
Sub EnableTaskKeys()
Dim rtn As Long
rtn = SystemParametersInfo(SPI_SCREENSAVERRUNNING, 0&, 0&, 0)
End Sub
F

clarkgriswald
Feb 23rd, 2001, 03:56 PM
Thanks, but yeah that only worlks for 95/98. This is a tough one, but I would love an answer!! Thanks again.

Lord Orwell
Feb 23rd, 2001, 08:35 PM
why do you want to disable it? Maybe we can come up with a workaround.

clarkgriswald
Feb 26th, 2001, 08:29 AM
I am creating a security program and I want the user to have the option of applying specific measures...

Lord Orwell
Feb 26th, 2001, 10:12 PM
i'm not real familiar with nt, but isn't the task manager a specific program? Maybe you can replace it with your own, and hide the original in a partition or something.

clarkgriswald
Feb 26th, 2001, 11:19 PM
Hmm...not a bad suggestion...MS speaks about a GINA dll which seems to control all of these functions....this would be great to figure out!

susn
Feb 27th, 2001, 03:20 PM
May this helps:

http://www.thescarms.com/VBasic/StopReBoot.asp