xtrim Posted December 6, 2010 Share Posted December 6, 2010 Hi, I've created a simple script that opens IE and saves web page to a file. This script runs as a scheduled task every several minutes. It runs very good. The problem is that if the computer reboots, then the script is not working unless I log in to the computer. the rest of the "job" runs just fine...only the script is not updating the file. Once I log in it runs OK. The script is one a remote server and I do not control the reboot process. Is there a way to make it work without the need to log in all the time? Tnx for your help Xtrim Link to comment Share on other sites More sharing options...
fett8802 Posted December 6, 2010 Share Posted December 6, 2010 Well, I definitely know how to do things like that once the user is logged in. Placing the compiled script in the startup folder will run the script when a user logs in. However, to run your script without logging in? I'm not sure how Windows reacts to stuff like that. However, I did find this:http://oreilly.com/pub/a/oreilly/windows/ron/startup_0401.htmlHKLM\Software\Microsoft\Windows\CurrentVersion\RunLaunches a program automatically at system startup. This key is used when you always want to launch a program on a particular system.Hope that helps,-Fett [sub]My UDF[/sub][sub] - Basics and Time extensions. Great for those new at AutoIt, also contains some powerful time extensions for pros.[/sub][sub]ScrabbleIt[/sub][sub] - Scrabble done in pure AutoIt. (In Progress)[/sub][sub]Nerd Party Extreme | My Portfolio | [email="fett8802@gmail.com"]Contact Me[/email][/sub] Link to comment Share on other sites More sharing options...
xtrim Posted December 7, 2010 Author Share Posted December 7, 2010 I've compiled the script to an exe file. All other tasks run just fine without logging in...So why just this one fails to run?? again...it is a scheduled task...no need for the registry run... tnx Link to comment Share on other sites More sharing options...
xtrim Posted December 8, 2010 Author Share Posted December 8, 2010 Any suggestions? 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