guackyxxx Posted June 28, 2007 Posted June 28, 2007 I have developed a script that I would like to run unattended in the middle of the night. The issue I am having is that all the PCs in our office are set so that they "lock" after a certain period of time. The PC then needs to be unlocked from the Windows "Computer Locked" application, by pressing CTRL-ALT-DEL and inputting user name and password. Any ideas as to how to get a script to carry out this unlocking sequence. I am willing to script the user name and password, I just need to get to that screen. I guess what I ma asking is whether I can send the CTRL-ALT-DEL combo to get to the point where I can unlock the system.
sshrum Posted June 28, 2007 Posted June 28, 2007 How about this: Run your script as a service...then it will run behind the lock. Do a search for 'service'...I know I saw this somewhere Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
Joon Posted June 28, 2007 Posted June 28, 2007 How about using PsExec? Here is the link. PsExec v1.83
Proph Posted June 29, 2007 Posted June 29, 2007 What I do is I have my script place AutoLogin details into the registry... then reboot the pc. It Auto Logs In and then it puts the AutoLogin info back to what it was before the reboot. This way my script can allways run fine. The only problem with this is if the Locked Computer has any data open that they haven't saved.
herewasplato Posted June 29, 2007 Posted June 29, 2007 (edited) ...Do a search for 'service'...I know I saw this somewhereQ4. How can I run my script as a service?http://www.autoitscript.com/forum/index.php?showtopic=37289 Edited June 29, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size]
bobneumann Posted September 12, 2007 Posted September 12, 2007 http://www.autoitscript.com/forum/index.php?showtopic=53154
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now