WIN NT Disable CTRL+ALT+DEL

How can I disable CTRL+ALT+DEL in win NT I already have some codefor the system ParametersInfo API call that is supposed to disable C-A-L but it does n't I can only assume that this API does not work in WIN NT(Security issue?) or needs some different parameters passed to it.

Any Ideas

James
LVL 1
James_stillmanAsked:
Who is Participating?
 
adjenninConnect With a Mentor Commented:
Unfortunately, there is no easy way to accomplish this.  The only way is to write a GINA (Graphical Identification 'N' Authentication) DLL to intercept the CTRL-ALT-DELETE sequence.  The WinLogon process uses a GINA that can be modified.  That is how SmartCards and figerprint recognition systems work to log you into NT.  The Windows SDK contains all the information you need to write a GINA in C, however I don't think it is possible in VB.  
0
 
st_steveCommented:
you have the right API call..but I don't think it might work....you're right...you already figured that it would be a security issue...

may I ask why you need to disable the box?? WinNT is already secure in its own coding....I don't see the reason to disable the box....if you disable it...how are you going to log on and log off???
0
 
st_steveCommented:
wow...that's strange....I posted ths above comment 4 mins before you posted the question....a little bit of logic tells me this is not right...but anyway....:)
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
crazymanCommented:
He needs to disable it because of a screen saver.
0
 
st_steveCommented:
ok....sorry....he didn't mention that....but I'm guess ing SPI API will not work with WinNT the same way as Win9.x
0
 
caraf_gCommented:
"4 mins before you posted"
Known EE bug...

Anyway. You're right. You cannot lock/disable/anything the whole box on an NT machine. It is a security issue.
0
 
James_stillmanAuthor Commented:
What so there is no way to get around this? How do people write screen Savers with internal security or do they just NOT.

:^[|]

James
0
 
caraf_gCommented:
It depends entirely on what you're trying to do.

A screen saver in NT does not lock the system, it merely creates a new desktop and switches to that. Any applications that are already running will remain so.

But if the only purpose of your question is to stop the user from interfering with the NT machine, you can achieve this quite easily. Write your own screen-saver and activate it password-protected.
0
 
James_stillmanAuthor Commented:
Caraf_g: I know this >>>>>A screen saver in NT does not lock the system, it merely creates a new desktop and switches to that. Any applications that are already running will remain so.

  But what I need to do is to have some sort of internal security so that when my SS starts a user cannot exit it unless they enter a password into my system and then they can have the option of having the additional windows password.

What I need is a way to do this if there is any.

Cheers

James
0
 
MarineCommented:
You cannot do this with NT. Since it will violate its security. It's only possible on win9x platforms.
0
 
James_stillmanAuthor Commented:
AAAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

:^(

Cheers Anyway.
0
 
frankdCommented:
Never say never, there is always a way.  It may cost some time or money but it can get done.  Check out this web site:

http://www.visualautomation.com/comprod/secure4.htm

This will do what you want.

Frank
0
 
caraf_gCommented:
frankd,

If your user has NT administrator rights on the PC in question and they know what they're doing your $195 piece of software will be powerless to prevent them from doing whatever they want.

0
 
jeremydCommented:
You might want to try installing a shell hook by passing a WH_HOOK to SetWindowsHookEx (check MSDN).  VB has an AddressOf Function which I've heard can be used to supply API calls with the function pointers they are looking for.  So you may be able to write a Shell hook and respond to HSHELL_TASKMAN messages with TRUE (or return a long 1 in VB).  This should disable the windows task manager. (see MSDN under ShellProc)

If the addressOf function doesn't work, you could always write a DLL in C.
0
 
jeremydCommented:
You might want to try installing a shell hook by passing a WH_HOOK to SetWindowsHookEx (check MSDN).  VB has an AddressOf Function which I've heard can be used to supply API calls with the function pointers they are looking for.  So you may be able to write a Shell hook and respond to HSHELL_TASKMAN messages with TRUE (or return a long 1 in VB).  This should disable the windows task manager. (see MSDN under ShellProc)

If the addressOf function doesn't work, you could always write a DLL in C.
0
All Courses

From novice to tech pro — start learning today.