Preventing the Ctrl+Alt+Del keyboard event


I working on an automated install account and wish to prevent user interaction during this process.  

What I have setup is a login script that calls a VB app, this VB app then uses the "install.bat",2,True to call another batch file and hold focus until that batch file has completed.  The VB app also uses the BlockInput API to prevent user interaction, however in the event that the user presses Ctrl+Alt+del the blockinput return to false.  Adding to this, these are users within a domain and when they press Ctrl+Alt+Del a security box appears and stops running apps from responding to this event.  So what I thought was to change the keyboard mapping during this process therefore preventing the event ever occuring, I haven't had much luck with this approach.  So someone told me on another forum that maybe I could run my app as a service and this maybe able to respond to the event.  I have never developed a service so this approach will probably take some time to develope and may not work anyway.

Does anyone have any ideas?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Mike TomlinsonHigh School Computer Science, Computer Applications, and Mathematics TeachersCommented:
The Ctrl-Alt-Del combination is a "secure attention sequence" (SAS) and cannot be prevented on the newer Windows operating systems (NT, 2000, XP) without completely replacing Gina.Dll.

See here for an overview of replacing GINA (Graphical Identification and Authentication):

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
BomBerAuthor Commented:
Replacing this DLL seems like a bit of a risk, therefore I am not willing to take up this approach.  From searching around I have found the site:  This seems like a workable approach as I could change the mappings of a machine and reboot to have them take effect.  Autologon an account to install the software, remove the mapping/autologin and reboot the machine.  However I have to do this for NT machines as well and this approach will only work on 2000+.  Any one got any ideas?

Not sure if this may help,  its a question similar to one I asked some time ago.

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

BomBerAuthor Commented:
This looks doable, I shall have a play in the week.

Autologon - I have never created a situation where this was needed, looks like I will in this case.  I have a few leads on sorting an autologin function, but I see you have used this approach.  So teaching me is a possibility ;)
BomBerAuthor Commented:

Thanks for your suggestion but unforunately the "Disable" section of that post doesn't work.  Shame it's exactly what I'm after.
Mike TomlinsonHigh School Computer Science, Computer Applications, and Mathematics TeachersCommented:
Nice find EDDYKT.

I verified it works on my WinXP Pro the "Task Manager has been disabled by your administratory" message when I hit Ctrl-Alt-Del.

Though I haven't tried to set this policy at run-time via registry changes yet...
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.