Sign in to follow this  
Followers 0
Guest brox

Scripts Spawned From Task Scheduler

3 posts in this topic

Hi All,

I have a test script that waits for a particular window and presses OK when it appears. This works fine when run manually, but when started from Task Scheduler it looks like it starts then ends very quickly.

Is there a trick to get scheduled tasks running?

I'm guessing it's in the area of which user to run the script as?

All help appreciated,

Jason

Share this post


Link to post
Share on other sites



It has to be run as the same user currently logged in or it can't see the windows. On the properties page, there is a "RunAs:" label with an edit beside it. Fill it in (And password) and it should work.

Share this post


Link to post
Share on other sites

:D Sweet as, thanks guys. :huh2:

I've used SU from the Windows Resource Kit cause I can pass it the password easier in this case.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0