Preventing the Ctrl+Alt+Del keyboard event
Posted on 2006-04-04
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 wshshell.run "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?