Posted on 2003-11-17
I have been trying to simulate a Ctrl+Alt+Del keypress for a Macro program that I am writing. So far I have tried using the combination of the three using keybd_event, with no success. I am trying to get through a screen saver (WINNT) which requires me to hit Ctlr-Alt-Del to get to the user/password prompt.
My Macro program has to interact with the GUI (running as a scheduled task), but I want to protect the computer with user passwords and screensaver passwords. The only way I have been able to figure being able to run this program with the GUI is to also automate the login, and to "break through" the screen saver by automating as well.
I have not been able to find a way to automate a login, but I think I should be able to break through the screen saver.