NT and Ctrl-Alt-Del

Is there a way to disable the Ctr-Alt-Del toets in NT.
We want the customer not to leave his program. With SetForeGroundWindow it works ok for all other key's but not for Ctrl-Alt-Del
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Not easily, I have found a program (not shareware) that will work.  The problem is I can't remember the site (its at work, I'm at home) and won't be in to work until after Christmas.  If you still need something then I'll get the address.

Good luck

use a timer control to have an event every 1 sec or so.
in that event use "GetForegroundWindow" API to get the HWND of the foreground window.
then, use "GetWindowText" API to get that window caption.
now, check this caption. if it matches to the caption that is in NT ALT+CTRL+DEL window caption - just send the keys ALT+F4. the window will be closed.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial

I ended up getting called into work so I will pass the site onto you.


I have not tried it myself, but from the data sheet, it looks like it will work.

Good luck,

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.