Operating System Vista Task Sceduler - No Next Run Time After Reboot (1 Viewer)

gperkinson

Portal Pro
October 28, 2008
470
3
Auckland
Home Country
New Zealand New Zealand
OK, will try setting it up logged in as Administrator. Man, it's really frustrating all this security that they have built into Vista!!
 

gperkinson

Portal Pro
October 28, 2008
470
3
Auckland
Home Country
New Zealand New Zealand
Hi Ray,

I tried setting the task up as the Administrator, but soon worked out that this would not work as when the machine reboots, it would want a password to login and would therefore always stall after a reboot.

Just to re-iterate - the task always runs i.e. the machine reboots, it's just that it will not re-schedule the next run time.

I see your links and will read these in more detail, but will these solve the problem of re-scheduling the task in your mind?

Thanks again for your help.

Regards

Graham
 

Paranoid Delusion

Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Post 8, all the answers are there to "no password logon" and in the Vista power settings advanced "check that password is not required" at resume.

    So now the only time you will ever be asked for a password, is a admin privilege task only, ie task scheduler.
     

    gperkinson

    Portal Pro
    October 28, 2008
    470
    3
    Auckland
    Home Country
    New Zealand New Zealand
    Hi Ray,

    Thanks for all your notes and links - much appreciated.

    First up, Power settings definately set so no password required.

    Just so I understand it, does Task Scheduler definately require a password to be defined when setting up a task to work so the next run time is populated after reboot? If so, from the testing I have done, the PC will always stall after a reboot. Please note, I have not setup the Administrator as per your link - using this user, will the password issue on reboot disappear? I was hoping I could simply assign Administrator rights to my existing user, but this did not work. Given that I have had this setup since installing Media Portal, I'm sort of reluctant to start using another user - is there a way around this?

    Anyway, where I got to last night was that when I set a password on a user A/c, it would reboot and come up saying I have not entered a correct password. I then select my user, enter the password and I'm up and running ... however the next run time still does not get created anyway.

    As mentioned previously, I have tried creating a task as the Administrator (setup without the instructions in your link) and this didn't work either.

    I guess what I'm asking is, do you think the Administrator setup as explained in your link will then require a password in Task Scheduler (which I enter) and then on reboot, not ask (just login) and then re-schedule??

    Hope the above makes sense ... feeling a bit tired and now off to bed!!

    Regards

    Graham
     

    MLH01

    MP Donator
  • Premium Supporter
  • March 11, 2009
    157
    23
    Gold Coast
    Home Country
    Australia Australia
    Hi Graham,

    I have just set up a basic task (Create basic task... option in task scheduler), which worked for me. Try the following as a basic test case:

    1. Set Name=Test, Description=Test task. Click the "Next>" button.

    2. Leave trigger as daily and click Next.

    3. Set the start date as today's date and time as, say now+10 minutes (do not check universal time). Keep the recurrence as every 1 days. Click Next.

    4. Tick on the 'Display a message' option for the Action. Click Next.

    5. Type a title and message (anything you want). Click Next.

    6. You should see a window with all settings. If everything looks good, click Finish.

    Stay logged on for this test. Wait for the time to elapse, and you should see a message box appear with the message you wrote.

    Once this happens, go to the Task Scheduler Library (on the left menu). Select your test task and check that the status and triggers are correct, and more importantly, the next run time is correct.

    If this basic test works, you can then start adding more functionality. For example, allow it to run from sleep/hibernation mode - ensuring you have selected the option to 'Wake the computer to run this task' under the Conditions tab. That will allow you to troubleshoot sleep/resume/login issues.

    If that works, you can then run a script instead of a simple message popup.

    Basically, start easy and work from there. It will allow troubleshooting at each step of the process, rather than trying to troubleshoot several potential issues at once :)

    Please post back with results.

    MLH01.
     

    gperkinson

    Portal Pro
    October 28, 2008
    470
    3
    Auckland
    Home Country
    New Zealand New Zealand
    Hi MLH01,

    Thanks for the note and all details - appreciated.

    Currently not able to get access to the computer (wife is glued to Freeview HD and I'm fading) so might get onto this tomorrow.

    I guess what you are trying to prove is that a basic task will re-schedule - correct? When setting the reboot paramters, I accidentally set them incorrectly, however the machine woke from sleep, ran the task and went back to sleep again. I then looked at the task (which ran without rebooting) and the next scheduled date was set correctly. I'm thinking that this would prove what you have outlined above?

    The thing is, the task runs OK, but the next scheduled date does not populate only after re-boot.

    I will give your test a shot tomorrow and let you know.

    Cheers

    Graham
     

    gperkinson

    Portal Pro
    October 28, 2008
    470
    3
    Auckland
    Home Country
    New Zealand New Zealand
    Hi,

    The basic task works fine ..... re-booting is causing my issue. Infact every task I have setup does not re-schedule after reboot.

    Regards

    Graham
     

    MLH01

    MP Donator
  • Premium Supporter
  • March 11, 2009
    157
    23
    Gold Coast
    Home Country
    Australia Australia
    Do you have Vista Home Premium? I've seen some sites mentioning that Vista HP (and below) won't save user credentials outside the current session (possibly meaning it won't reschedule after a reboot). Not sure if this is the case for you, but a possibility.

    Some links below may be useful (you may have already seen these though):
    Tutorial
    MS knowledge base article

    Not sure if I can help much more than that...

    MLH01.
     

    gperkinson

    Portal Pro
    October 28, 2008
    470
    3
    Auckland
    Home Country
    New Zealand New Zealand
    Hi MLH01,

    Yes, I do have Vista Home Premium - interesting. So it sounds like you are saying that it will not re-schedule because it cannot save this as the session has been logged off - correct??

    Surely then other users that have Vista Home Premium must have this issue and I should find some article on how to get around it?

    The more I look at this, the more I'm thinking Ray's comment (see previous posts) around administrator rights looks like the issue, however you would laos think giving the user Administrative rights would get around that :mad: :mad:

    Cheers

    Graham
     

    gperkinson

    Portal Pro
    October 28, 2008
    470
    3
    Auckland
    Home Country
    New Zealand New Zealand
    Hi Ray,

    So there is no way of assigning Administrator rights to an existing user that will achieve the Administrator setup you have attached in the post? I was keen to keep my existing user if possible.

    Seems crazy that I need this Administrator setup to re-schedule a task after a reboot!!

    Regards

    Graham
     

    Users who are viewing this thread

    Top Bottom