guackyxxx Posted June 28, 2007 Share 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. Link to comment Share on other sites More sharing options...
sshrum Posted June 28, 2007 Share 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' Link to comment Share on other sites More sharing options...
Joon Posted June 28, 2007 Share Posted June 28, 2007 How about using PsExec? Here is the link. PsExec v1.83 Link to comment Share on other sites More sharing options...
Proph Posted June 29, 2007 Share 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. Link to comment Share on other sites More sharing options...
herewasplato Posted June 29, 2007 Share 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] Link to comment Share on other sites More sharing options...
bobneumann Posted September 12, 2007 Share Posted September 12, 2007 http://www.autoitscript.com/forum/index.php?showtopic=53154 Link to comment Share on other sites More sharing options...
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