BomBer
asked on
Preventing the Ctrl+Alt+Del keyboard event
Hi,
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?
Thanks
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?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not sure if this may help, its a question similar to one I asked some time ago.
https://www.experts-exchange.com/questions/21196554/Disable-all-windows-functions-whilst-program-is-running.html
https://www.experts-exchange.com/questions/21196554/Disable-all-windows-functions-whilst-program-is-running.html
ASKER
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 ;)
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 ;)
ASKER
Samstarkey,
Thanks for your suggestion but unforunately the "Disable" section of that post doesn't work. Shame it's exactly what I'm after.
Thanks for your suggestion but unforunately the "Disable" section of that post doesn't work. Shame it's exactly what I'm after.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nice find EDDYKT.
I verified it works on my WinXP Pro system...got 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...
I verified it works on my WinXP Pro system...got 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...
ASKER
Thanks