1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

cannot create task schedule

Discussion in 'Windows Home Server' started by Joey, Apr 18, 2009.

  1. Joey

    Joey Guest

    IO cannot create a new task schedule and I do not see any gpo preventing me
    from doing this. task scheduler service is started though

    any idea?
     
  2. "Joey" <joey@joey.com> wrote in message
    news:ecO8UMGwJHA.5584@TK2MSFTNGP04.phx.gbl...
    > IO cannot create a new task schedule and I do not see any gpo preventing
    > me from doing this. task scheduler service is started though
    >
    > any idea?


    Sorry, can't tell - you're not saying what happens when you try.
     
  3. Dave Patrick

    Dave Patrick Guest

    We need more than "can't do it" My standard boilerplate; Scheduled
    Tasks|Advanced|View Log may provide some details. If the job connects to
    another machine you may need to add the user/ group 'logon as batch job'
    rights (server side). Control Panel|Admin Tools|Local Security Policy\Local
    Policies\User Rights Assignments
    "Log on as a batch job"

    If the task completes but the job does not then there is a problem in the
    job itself. Remember that if it involves network resources to make sure the
    user account has permissions to the resources and also use UNC paths as
    mapped drives won't natively exist when no one is logged on.



    --

    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect


    "Joey" wrote:
    > IO cannot create a new task schedule and I do not see any gpo preventing
    > me from doing this. task scheduler service is started though
    >
    > any idea?
    >
     
  4. Joey

    Joey Guest

    it was disbled in the registry and all values set to 1. I change it to 0 and
    rebooted and it works

    Another question

    How do I set schedule task to run a bat file every 5 secs?
    "Dave Patrick" <DSPatrick@nospam.gmail.com> wrote in message
    news:urHMdwGwJHA.1492@TK2MSFTNGP03.phx.gbl...
    > We need more than "can't do it" My standard boilerplate; Scheduled
    > Tasks|Advanced|View Log may provide some details. If the job connects to
    > another machine you may need to add the user/ group 'logon as batch job'
    > rights (server side). Control Panel|Admin Tools|Local Security
    > Policy\Local Policies\User Rights Assignments
    > "Log on as a batch job"
    >
    > If the task completes but the job does not then there is a problem in the
    > job itself. Remember that if it involves network resources to make sure
    > the user account has permissions to the resources and also use UNC paths
    > as mapped drives won't natively exist when no one is logged on.
    >
    >
    >
    > --
    >
    > Regards,
    >
    > Dave Patrick ....Please no email replies - reply in newsgroup.
    > Microsoft Certified Professional
    > Microsoft MVP [Windows]
    > http://www.microsoft.com/protect
    >
    >
    > "Joey" wrote:
    >> IO cannot create a new task schedule and I do not see any gpo preventing
    >> me from doing this. task scheduler service is started though
    >>
    >> any idea?
    >>

    >
     
  5. "Joey" <joey@joey.com> wrote in message
    news:%23Nh3tCewJHA.968@TK2MSFTNGP04.phx.gbl...
    > it was disbled in the registry and all values set to 1. I change it to 0
    > and rebooted and it works


    What exactly was "disbled"? Which values were set to 1?
     
  6. Joey

    Joey Guest

    HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Task Scheduler5.0

    Everything was set to 1. I changed it to 0 and rebooted.

    How do I create a task to run every 5 secs? I have it running every minute
    and its not enough.
    "Pegasus [MVP]" <news@microsoft.com> wrote in message
    news:uhi6NHewJHA.956@TK2MSFTNGP03.phx.gbl...
    >
    > "Joey" <joey@joey.com> wrote in message
    > news:%23Nh3tCewJHA.968@TK2MSFTNGP04.phx.gbl...
    >> it was disbled in the registry and all values set to 1. I change it to 0
    >> and rebooted and it works

    >
    > What exactly was "disbled"? Which values were set to 1?
    >
     
  7. "Joey" <joey@joey.com> wrote in message
    news:OksSdXewJHA.4636@TK2MSFTNGP05.phx.gbl...
    > HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Task Scheduler5.0
    >
    > Everything was set to 1. I changed it to 0 and rebooted.
    >
    > How do I create a task to run every 5 secs? I have it running every minute
    > and its not enough.


    What exactly is the task supposed to do?
     
  8. Joey

    Joey Guest

    Unlock a service account. It keeps getting locked out.
    "Pegasus [MVP]" <news@microsoft.com> wrote in message
    news:OIRAusewJHA.5100@TK2MSFTNGP04.phx.gbl...
    >
    > "Joey" <joey@joey.com> wrote in message
    > news:OksSdXewJHA.4636@TK2MSFTNGP05.phx.gbl...
    >> HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Task Scheduler5.0
    >>
    >> Everything was set to 1. I changed it to 0 and rebooted.
    >>
    >> How do I create a task to run every 5 secs? I have it running every
    >> minute and its not enough.

    >
    > What exactly is the task supposed to do?
    >
     
  9. "Joey" <joey@joey.com> wrote in message
    news:O87UcrgwJHA.5584@TK2MSFTNGP04.phx.gbl...
    > Unlock a service account. It keeps getting locked out.


    The best method would be to fix the cause: Find out why the account gets
    locked out, then take appropriate steps. The next best method is to schedule
    a single task to run at boot time, in the form of this batch file:

    @echo off
    :again
    net user "Name of Account" | find /i "active"
    if not %ErrorLevel%==1 net user "Name of Account" /active:yes
    ping localhost -n 11 > nul
    goto again

    You might also be able to use WMI to monitor the event viewer (which gets
    notified each time the account gets enabled) but it seems a little over the
    top to use this sort of work-around instead of fixing the underlying
    problem.
     

Share This Page