• I am unable to schedule a task (SP2)

    Author
    Topic
    #413401

    I’m trying to schedule a .bat file to run at a given time daily. I start the Scheduler and follow the Scheduled Task Wizard until I get to the screen whose prompt “Enter the username:”. is pre-seeded with my machinenamemy username. I accept this and don’t enter a password as no password has been defined. (Dell pre-loaded Windows, as they always do, with my single ID and no password.) Then after telling me that “You have successfully scheduled a task…”, I get an error window saying “The new task has been created, but may not run because the account information could not be set.” And, of course, it does not run.

    What more does the scheduler want from me that I’m not giving it?

    Thank you, John

    Viewing 4 reply threads
    Author
    Replies
    • #911756

      XP requires a password for scheduled tasks. There was a registry tweak around for while that would allow you to change the default behavior. But, I think it was removed as it was deemed to be a security risk.

      Joe

      --Joe

    • #911757

      XP requires a password for scheduled tasks. There was a registry tweak around for while that would allow you to change the default behavior. But, I think it was removed as it was deemed to be a security risk.

      Joe

      --Joe

    • #911821

      A couple of previous threads that may help:
      Scheduled Tasks and Passwords
      Task Scheduler

    • #911822

      A couple of previous threads that may help:
      Scheduled Tasks and Passwords
      Task Scheduler

    • #911915

      I had a problem not quite the same as yours but I could not schedule a task until someone in the Lounge told me to turn off any anti-virus program first. That worked for me. Hope it helps.

      • #911969

        How soon we forget grin That was me in post 433027 – I must get my memory cells new batteries…

        • #911974

          Lief,

          I knew it was you. I didn’t forget. I even checked the links you gave for your reply and my post wasn’t one of them so I didn’t know if I should mention your name or not. Sorry.

          • #911994

            No problem laugh – I was meaning how soon *I* forget what I posted!

            • #912053

              Leif,

              Sorry about that.

            • #912073

              Hey, Remember me? I’m the one who started this conversation. Whatever.

              Thank all of you for your recommendations. Each one (before the conversation went strange) got me thinking in a new direction. In the end, despite the KB article’s insistence that XP requires a password, I got it to run with my single ID and no password.

              The properties screen of that scheduled task shows “Run as: MyMachineNameMyLoginName” with the “Set Password” button to the right. As soon as I check the “Run only if logged on” box immediately below it the “Set password” button is grayed out. Now, with the “Enabled…” box below that also checked, it runs fine with no password.

              Thanks again, John Littell

            • #912074

              Hey, Remember me? I’m the one who started this conversation. Whatever.

              Thank all of you for your recommendations. Each one (before the conversation went strange) got me thinking in a new direction. In the end, despite the KB article’s insistence that XP requires a password, I got it to run with my single ID and no password.

              The properties screen of that scheduled task shows “Run as: MyMachineNameMyLoginName” with the “Set Password” button to the right. As soon as I check the “Run only if logged on” box immediately below it the “Set password” button is grayed out. Now, with the “Enabled…” box below that also checked, it runs fine with no password.

              Thanks again, John Littell

            • #912054

              Leif,

              Sorry about that.

          • #911995

            No problem laugh – I was meaning how soon *I* forget what I posted!

        • #911975

          Lief,

          I knew it was you. I didn’t forget. I even checked the links you gave for your reply and my post wasn’t one of them so I didn’t know if I should mention your name or not. Sorry.

      • #911970

        How soon we forget grin That was me in post 433027 – I must get my memory cells new batteries…

    Viewing 4 reply threads
    Reply To: I am unable to schedule a task (SP2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: