Task scheduler doesn't run the task

Discussion in 'Windows Vista General Discussion' started by Perez, May 9, 2008.

  1. Perez

    Perez Guest

    Hi,

    I have a problem in vista 64bit:

    If I set up a task in the Task Scheduler and I check the "Wake the
    computer to run this task", the computer wakes up (from hibernate) at
    the specified time but the task doesn't run.

    Is there any solution for this?
     
    Perez, May 9, 2008
    #1
    1. Advertisements

  2. Perez

    Terry R. Guest

    The date and time was 5/9/2008 11:28 AM, and on a whim, Perez pounded
    out on the keyboard:
    Most likely the Task you are trying to run doesn't have sufficient
    permissions. Make sure the task is run as Administrator.

    --
    Terry R.

    ***Reply Note***
    Anti-spam measures are included in my email address.
    Delete NOSPAM from the email address after clicking Reply.
     
    Terry R., May 9, 2008
    #2
    1. Advertisements

  3. Perez

    Brink Guest

    Hi Perez,

    Check to make sure that you have the "Run with highest privileges"
    checked in the task's General tab. See step FOUR, step 10, in this
    tutorial for a screenshot of this.

    http://www.vistax64.com/tutorials/132903-task-scheduler-create-task.html

    Hope this helps,
    Shawn


    --
    Brink

    *There are no dumb questions, just the people that do not ask
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 9, 2008
    #3
  4. Perez

    Perez Guest

    Hi,

    I checked everything, but it don't works.

    The user account has administrator rights.

    If I start the task manually, it is run.

    I attached the screenshots of my settings, you may see what can be set
    up wrong.

    Thanks,

    Perez


    +-------------------------------------------------------------------+
    |Filename: 5.jpg |
    |Download: http://forums.techarena.in/attachment.php?attachmentid=6655|
    +-------------------------------------------------------------------+
     
    Perez, May 10, 2008
    #4
  5. Perez

    Brink Guest

    Perez,

    What are you wanting it to run for you?

    Shawn


    --
    Brink

    *There are no dumb questions, just the people that do not ask
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 10, 2008
    #5
  6. Perez

    Perez Guest

    I would like to run a TV application (DVBViewer) and my own script.

    As you can see on picture #3, the task scheduler doesn't start a simpl
    message either if the computer is in hibernated state.

    If the computer is on and I logged in, then all tasks starts in th
    scheduled time what I set up.

    I tried a lot of combinations of settings and I tried on an othe
    computer.
    The result was the same: tasks not run, just wakes up the PC fro
    hibernation.

    Pere
     
    Perez, May 10, 2008
    #6
  7. Perez

    Brink Guest

    Perez

    You might try having something else scheduled (EX: Disk Defragmenter
    to wake the computer up say a minute before ro run, then have your tas
    run a minute afterwards to see if it will run now since the computer i
    already awake

    Hope this helps
    Shaw

    --
    Brin

    *There are no dumb questions, just the people that do not as
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 11, 2008
    #7
  8. Perez

    Perez Guest

    Hi,

    Yes, this workaround is working. I tried it already. If I schedul
    something else (EX: display a message), the PC wakes up at the time
    set up for the message and if I schedule my application 1 minute afte
    the message, it starts. So I have to set up 2 tasks to run 1. This i
    so ... hmmm.....

    The task scheduler worked for years on XP with no such bugs. I don'
    understand why is Vista's scheduler doesn't do the same.
    I like Vista because it's much faster then XP and has other good thing
    but I really need this scheduling function. May there will be a hotfi
    which solves this problem. I think I will set up a multiboot system (X
    and Vista).

    Thanks for help,

    Pere
     
    Perez, May 11, 2008
    #8
  9. Perez

    Brink Guest

    Perez,

    I'm glad at least the workaround lets you run the task, but I agree
    it's a bit ridiculous to have to do it this way. I'm not an expert on
    adding switches or commands in Task Scheduler, but it seems like some
    "argument" (switch or command) is missing from the edit "Action" tab to
    allow it to run properly without having the workaround. I wish I knew
    what it would be, but that should be something to look into also.

    Shawn


    --
    Brink

    *There are no dumb questions, just the people that do not ask
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 11, 2008
    #9
  10. Perez

    jmm Guest

    was this issue ever solved? i have exactly the same problem tho i just
    installed sp1...
     
    jmm, May 21, 2008
    #10
  11. Perez

    Brink Guest

    Hi Jmm

    So far, we were only able it to get to work using the workaround o
    having another task scheduled to run right before the problem task so i
    will run properly

    Hope this helps
    Shaw

    --
    Brin

    *There are no dumb questions, just the people that do not as
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 21, 2008
    #11
  12. Perez

    jmm Guest

    The problem with this workaround is that you have to click OK on the message
    window before the next action can take place...
    Do you know a script to tell the computer to wait a few seconds (instead of
    the message display) before the desired action starts? (this would help me
    because the desired action involves an internet connection, and after waking
    up the machine needs a little time to establish the connection)
    ps: is microsoft aware of the problem?
     
    jmm, May 22, 2008
    #12
  13. Perez

    Brink Guest

    Jmm

    I'm afraid that I do not know of a solution for this

    Sorry
    Shaw

    --
    Brin

    *There are no dumb questions, just the people that do not as
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 22, 2008
    #13
  14. Perez

    Perez Guest


    1. You don't have to click OK, because that message doesn't display at
    all, it just wakes up the PC from hibernation (or from sleep mode).

    That was the original problem, Vista doesn't run any scheduled task
    (even to display a simple message) if the PC is in hibernation and the
    task is set up to wake up the PC to run task.

    2. Download AutoIt and you can write your own script.

    http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe

    Information about AutoIt:

    http://www.autoitscript.com/autoit3/
     
    Perez, May 31, 2008
    #14
  15. Perez

    njnitehawk Guest

    brink;

    my biggest problem when i do create a task

    is finding the correct "program/script" path

    this is what i do:

    i run the program then hit crtl/alt/delete

    go to task manager and find the exe program running the program

    i want to setup the task for

    is there a better way


    --
    njnitehawk

    gigabyte x38t-dq6 w/
    Realtek ALC889A codec
    intel core2 quad Q6600 2.4ghz
    4gb ddr3 Corsair TWIN3X2048-1333C9DHX (4)
    nvidia geforce 8800gt 512mb
    500gb wd hd
    250gb wd hd
    vista 64-bit ulimate
    pioneer dvd-rw dvr215d
    lite-on cd-rw sohr
    samsung 21.3 screen
    creative inspire pt7800 7.1
    plus 2.1 addtional speakers
    hp officejet j5750
    cable
    microsoft wireless mouse and keyboard 60000
    Arctic Cooling Freezer 7 Pro
    Corsair CMPSU-750TX
    not overclocked
    5.7 score
    425 geek score
     
    njnitehawk, May 31, 2008
    #15
  16. Perez

    Brink Guest

    Brink, May 31, 2008
    #16
  17. Perez

    Rangy

    Joined:
    Jan 6, 2009
    Messages:
    2
    Likes Received:
    0
    Is there any finak solution to make the Schedule task function effectively and simply? I am asked to choose from Sys 32 File and how will I know whcih relates to what. Any help?

    Rangy
     
    Rangy, Jan 6, 2009
    #17
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.