Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Scheduled task from standby---help!

Reply
Thread Tools Display Modes

Scheduled task from standby---help!

 
 
ksipp01
Guest
Posts: n/a

 
      10-01-2007
I having probems running a scheduled task from standby. I schedule a simple
task to run a .exe file. Check "wake from standby". It wakes up at the
scheduled time but doesn't run the file. The login screen appears for a
minute then goes back to standby. I've disabled require password upon
waking...still doesn't run. I've disabled the need for password from
boot...still doesn't run. I've tried running from SYSTEM user....no change!

Any help greatly appreciated!

 
Reply With Quote
 
 
 
 
ksipp01
Guest
Posts: n/a

 
      10-01-2007
Addt. info:

task won't run while logged on (i.e. NOT in standby) and "run on demand" is
checked, yet won't run on demand...
The .exe file (or, tried .bat as well) works if run from command
prompt...please help!...I don't know where to start troubleshooting. Seems
like a problem w/ Task Scheduler in general

Thanks,


"ksipp01" wrote:

> I having probems running a scheduled task from standby. I schedule a simple
> task to run a .exe file. Check "wake from standby". It wakes up at the
> scheduled time but doesn't run the file. The login screen appears for a
> minute then goes back to standby. I've disabled require password upon
> waking...still doesn't run. I've disabled the need for password from
> boot...still doesn't run. I've tried running from SYSTEM user....no change!
>
> Any help greatly appreciated!
>

 
Reply With Quote
 
Jon
Guest
Posts: n/a

 
      10-02-2007
Couple of things to try

(1) Right-click on the task within Task Scheduler, and choose Run. Does it
run correctly? This will show whether the task itself is set up correctly in
terms of Program path / arguments etc

(2) Double-click the task and have a look on the History tab. See if there
are any error messages in there at the time your task should have run.

--
Jon


"ksipp01" <> wrote in message
news:9ADDB864-CC66-4D01-949D-...
> Addt. info:
>
> task won't run while logged on (i.e. NOT in standby) and "run on demand"
> is
> checked, yet won't run on demand...
> The .exe file (or, tried .bat as well) works if run from command
> prompt...please help!...I don't know where to start troubleshooting.
> Seems
> like a problem w/ Task Scheduler in general
>
> Thanks,
>
>
> "ksipp01" wrote:
>
>> I having probems running a scheduled task from standby. I schedule a
>> simple
>> task to run a .exe file. Check "wake from standby". It wakes up at the
>> scheduled time but doesn't run the file. The login screen appears for a
>> minute then goes back to standby. I've disabled require password upon
>> waking...still doesn't run. I've disabled the need for password from
>> boot...still doesn't run. I've tried running from SYSTEM user....no
>> change!
>>
>> Any help greatly appreciated!
>>


 
Reply With Quote
 
ksipp01
Guest
Posts: n/a

 
      10-02-2007
thanks for the reply....

The task does not run when clicking "run" from task task scheduler. I even
tried moving the file to c:\ to make sure the path was correct and still
doesn't run. If I double click the icon from windows explorer...it runs
correctly. If I run from the DOS prompt, it runs correctly.

The 'history' reveals no error messages. there are about 4 messages that
indicate the task triggered and ran, but it for sure doesn't run....

any other troubleshooting thoughts?

Thanks again,





"Jon" wrote:

> Couple of things to try
>
> (1) Right-click on the task within Task Scheduler, and choose Run. Does it
> run correctly? This will show whether the task itself is set up correctly in
> terms of Program path / arguments etc
>
> (2) Double-click the task and have a look on the History tab. See if there
> are any error messages in there at the time your task should have run.
>
> --
> Jon
>
>
> "ksipp01" <> wrote in message
> news:9ADDB864-CC66-4D01-949D-...
> > Addt. info:
> >
> > task won't run while logged on (i.e. NOT in standby) and "run on demand"
> > is
> > checked, yet won't run on demand...
> > The .exe file (or, tried .bat as well) works if run from command
> > prompt...please help!...I don't know where to start troubleshooting.
> > Seems
> > like a problem w/ Task Scheduler in general
> >
> > Thanks,
> >
> >
> > "ksipp01" wrote:
> >
> >> I having probems running a scheduled task from standby. I schedule a
> >> simple
> >> task to run a .exe file. Check "wake from standby". It wakes up at the
> >> scheduled time but doesn't run the file. The login screen appears for a
> >> minute then goes back to standby. I've disabled require password upon
> >> waking...still doesn't run. I've disabled the need for password from
> >> boot...still doesn't run. I've tried running from SYSTEM user....no
> >> change!
> >>
> >> Any help greatly appreciated!
> >>

>
>

 
Reply With Quote
 
Jon
Guest
Posts: n/a

 
      10-02-2007



"ksipp01" <> wrote in message
news:166894A3-27FD-4D99-B73E-...
> thanks for the reply....
>
> The task does not run when clicking "run" from task task scheduler. I
> even
> tried moving the file to c:\ to make sure the path was correct and still
> doesn't run. If I double click the icon from windows explorer...it runs
> correctly. If I run from the DOS prompt, it runs correctly.
>
> The 'history' reveals no error messages. there are about 4 messages that
> indicate the task triggered and ran, but it for sure doesn't run....
>
> any other troubleshooting thoughts?
>
> Thanks again,
>
>
>


2 more thoughts (my thoughts always come in pairs) ....

(1) Possibly to do with the particular account that you are trying to run
the task with (General tab for the task). Is it the account that you are
logged in with?

If it's not the account you're logged in with for example that account
would need access rights to the particular resource and / or executable
program.

(2) Also run through your other settings eg unchecking the 'Start only if
the task is idle for...' (Conditions tab) which would also stop it running
if you are active on the machine.

--
Jon


 
Reply With Quote
 
ksipp01
Guest
Posts: n/a

 
      10-02-2007
Start only if comp. is idle is UNchecked. Start only if on AC is
checked(tried unchecking...no change). Stop if on battery is unchecked. Run
on demand is checked

runs in my user accout. asks for password end end of setting up...which is
entered correctly. tried running under SYSTEM account, no change. Tried
"highest privileges"...no change.

I just tried another simple batch command to ping router, which also runs ok
from DOS but not from scheduler....

thanks for sticking w/ me!...still confused

"Jon" wrote:

>
>
>
> "ksipp01" <> wrote in message
> news:166894A3-27FD-4D99-B73E-...
> > thanks for the reply....
> >
> > The task does not run when clicking "run" from task task scheduler. I
> > even
> > tried moving the file to c:\ to make sure the path was correct and still
> > doesn't run. If I double click the icon from windows explorer...it runs
> > correctly. If I run from the DOS prompt, it runs correctly.
> >
> > The 'history' reveals no error messages. there are about 4 messages that
> > indicate the task triggered and ran, but it for sure doesn't run....
> >
> > any other troubleshooting thoughts?
> >
> > Thanks again,
> >
> >
> >

>
> 2 more thoughts (my thoughts always come in pairs) ....
>
> (1) Possibly to do with the particular account that you are trying to run
> the task with (General tab for the task). Is it the account that you are
> logged in with?
>
> If it's not the account you're logged in with for example that account
> would need access rights to the particular resource and / or executable
> program.
>
> (2) Also run through your other settings eg unchecking the 'Start only if
> the task is idle for...' (Conditions tab) which would also stop it running
> if you are active on the machine.
>
> --
> Jon
>
>
>

 
Reply With Quote
 
Jon
Guest
Posts: n/a

 
      10-02-2007


"ksipp01" <> wrote in message
news:932CFF34-DE90-4A27-A879-...
> Start only if comp. is idle is UNchecked. Start only if on AC is
> checked(tried unchecking...no change). Stop if on battery is unchecked.
> Run
> on demand is checked
>
> runs in my user accout. asks for password end end of setting up...which
> is
> entered correctly. tried running under SYSTEM account, no change. Tried
> "highest privileges"...no change.
>
> I just tried another simple batch command to ping router, which also runs
> ok
> from DOS but not from scheduler....
>
> thanks for sticking w/ me!...still confused
>
> "Jon" wrote:
>





Try checking the 'Run only when user is logged on ' on the general tab
rather than 'Run whether user is logged on or not' to see if that works
correctly.



Otherwise, I can only think that the program isn't set up correctly on the
Actions tab

Actions tab > Click on action > Edit

Can you provide an example that doesn't work of what you have in these 2
boxes?

Program / Script
Arguments


--
Jon


 
Reply With Quote
 
ksipp01
Guest
Posts: n/a

 
      10-03-2007
Tried 'run only when user is logged in' no change.

Program/script "c:\scan.bat" w/out quotes

arguments is blank

scan is executable autohotkey script....that works outside scheduled tasks
thanks


"Jon" wrote:

>
>
> "ksipp01" <> wrote in message
> news:932CFF34-DE90-4A27-A879-...
> > Start only if comp. is idle is UNchecked. Start only if on AC is
> > checked(tried unchecking...no change). Stop if on battery is unchecked.
> > Run
> > on demand is checked
> >
> > runs in my user accout. asks for password end end of setting up...which
> > is
> > entered correctly. tried running under SYSTEM account, no change. Tried
> > "highest privileges"...no change.
> >
> > I just tried another simple batch command to ping router, which also runs
> > ok
> > from DOS but not from scheduler....
> >
> > thanks for sticking w/ me!...still confused
> >
> > "Jon" wrote:
> >

>
>
>
>
> Try checking the 'Run only when user is logged on ' on the general tab
> rather than 'Run whether user is logged on or not' to see if that works
> correctly.
>
>
>
> Otherwise, I can only think that the program isn't set up correctly on the
> Actions tab
>
> Actions tab > Click on action > Edit
>
> Can you provide an example that doesn't work of what you have in these 2
> boxes?
>
> Program / Script
> Arguments
>
>
> --
> Jon
>
>
>

 
Reply With Quote
 
Translator French - English - Creole
Guest
Posts: n/a

 
      10-03-2007
you said that if you choose run now it works right? or is it it won't run
from task manager at all?

--
Capt. Jonathan Perreault

Personnal Advice To You:
#1: Do Not Undermine Windows's Work, Or It'll Undermine You As A User.
#2: Torture Windows (Any) Now Before It Tortures You
#3: Windows Is Bad Enough In English, Why Get It In Another Language

Best Comments From Users:
No Matter The Problem Even With Linux, It's Microsoft's And Windows's Faults

A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools.
"ksipp01" <> wrote in message
news:4FC639FC-2B60-4EEE-9A25-...
> Tried 'run only when user is logged in' no change.
>
> Program/script "c:\scan.bat" w/out quotes
>
> arguments is blank
>
> scan is executable autohotkey script....that works outside scheduled tasks
> thanks
>
>
> "Jon" wrote:
>
>>
>>
>> "ksipp01" <> wrote in message
>> news:932CFF34-DE90-4A27-A879-...
>> > Start only if comp. is idle is UNchecked. Start only if on AC is
>> > checked(tried unchecking...no change). Stop if on battery is unchecked.
>> > Run
>> > on demand is checked
>> >
>> > runs in my user accout. asks for password end end of setting
>> > up...which
>> > is
>> > entered correctly. tried running under SYSTEM account, no change.
>> > Tried
>> > "highest privileges"...no change.
>> >
>> > I just tried another simple batch command to ping router, which also
>> > runs
>> > ok
>> > from DOS but not from scheduler....
>> >
>> > thanks for sticking w/ me!...still confused
>> >
>> > "Jon" wrote:
>> >

>>
>>
>>
>>
>> Try checking the 'Run only when user is logged on ' on the general tab
>> rather than 'Run whether user is logged on or not' to see if that works
>> correctly.
>>
>>
>>
>> Otherwise, I can only think that the program isn't set up correctly on
>> the
>> Actions tab
>>
>> Actions tab > Click on action > Edit
>>
>> Can you provide an example that doesn't work of what you have in these 2
>> boxes?
>>
>> Program / Script
>> Arguments
>>
>>
>> --
>> Jon
>>
>>
>>


 
Reply With Quote
 
ksipp01
Guest
Posts: n/a

 
      10-03-2007

does NOT run from scheduled tasks but does outside of task manager


"Translator French - English - Creole" wrote:

> you said that if you choose run now it works right? or is it it won't run
> from task manager at all?
>
> --
> Capt. Jonathan Perreault
>
> Personnal Advice To You:
> #1: Do Not Undermine Windows's Work, Or It'll Undermine You As A User.
> #2: Torture Windows (Any) Now Before It Tortures You
> #3: Windows Is Bad Enough In English, Why Get It In Another Language
>
> Best Comments From Users:
> No Matter The Problem Even With Linux, It's Microsoft's And Windows's Faults
>
> A common mistake that people make when trying to design something completely
> foolproof is to underestimate the ingenuity of complete fools.
> "ksipp01" <> wrote in message
> news:4FC639FC-2B60-4EEE-9A25-...
> > Tried 'run only when user is logged in' no change.
> >
> > Program/script "c:\scan.bat" w/out quotes
> >
> > arguments is blank
> >
> > scan is executable autohotkey script....that works outside scheduled tasks
> > thanks
> >
> >
> > "Jon" wrote:
> >
> >>
> >>
> >> "ksipp01" <> wrote in message
> >> news:932CFF34-DE90-4A27-A879-...
> >> > Start only if comp. is idle is UNchecked. Start only if on AC is
> >> > checked(tried unchecking...no change). Stop if on battery is unchecked.
> >> > Run
> >> > on demand is checked
> >> >
> >> > runs in my user accout. asks for password end end of setting
> >> > up...which
> >> > is
> >> > entered correctly. tried running under SYSTEM account, no change.
> >> > Tried
> >> > "highest privileges"...no change.
> >> >
> >> > I just tried another simple batch command to ping router, which also
> >> > runs
> >> > ok
> >> > from DOS but not from scheduler....
> >> >
> >> > thanks for sticking w/ me!...still confused
> >> >
> >> > "Jon" wrote:
> >> >
> >>
> >>
> >>
> >>
> >> Try checking the 'Run only when user is logged on ' on the general tab
> >> rather than 'Run whether user is logged on or not' to see if that works
> >> correctly.
> >>
> >>
> >>
> >> Otherwise, I can only think that the program isn't set up correctly on
> >> the
> >> Actions tab
> >>
> >> Actions tab > Click on action > Edit
> >>
> >> Can you provide an example that doesn't work of what you have in these 2
> >> boxes?
> >>
> >> Program / Script
> >> Arguments
> >>
> >>
> >> --
> >> Jon
> >>
> >>
> >>

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Won't stay awake for scheduled task MikeM Windows Vista Performance 1 04-16-2008 11:05 AM
Missing scheduled task? SonicJoe Windows Vista Performance 6 11-07-2007 06:48 PM
Scheduled task failed njem Windows Vista General Discussion 0 08-20-2007 09:53 PM
How do you rename a scheduled task Keith Hill [MVP] Windows Vista Administration 3 07-26-2007 05:32 PM
Can a Scheduled Task be renamed? Fred B. Windows Vista General Discussion 4 05-03-2007 10:05 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59