Re: Task Scheduler

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



This was like pulling a tooth!

Your problem is that your system policy is incorrect. Run
gpedit.msc, then follow this path:
Local Computer Policy / Computer Configuration / Windows Settings /
Security Settings / Local Policy / User Rights. Now enable "Logon as
a batch job".

It's not a good idea to run scheduled jobs under the same
account as the foreground account, because they interfere
with the foreground account. I recommend you use a
different account.

"Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
news:OOFqMN90FHA.2876@xxxxxxxxxxxxxxxxxxxxxxx
> The scheduled job is Backup of directory on local drive to another local
> drive.
> The account is "local computer/Administrator".
> The job is scheduled with "Run as local computer/Administrator", password
is
> entered.
> The foreground account is "local computer/Administrator".
> But it runs only once. The second time it gives:
> =========
> The attempt to log on to the account associated with the task failed,
> therefore, the task did not run.
> The specific error is:
> 0x80070569: Logon failure: the user has not been granted the requested
> logon type at this computer.
> =========
> But, if next day before scheduled time I enter password in "Enter
password"
> next to "Run as" it works OK.
> It's all quite ridiculous.
>
> "Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
> news:utFyO360FHA.2076@xxxxxxxxxxxxxxxxxxxxxxx
> > Once a job is scheduled, it will not ask you for a password.
> > However, if the scheduled job runs under the same account
> > as your current foreground account, and if the job has
> > insufficient access rights to a network resource then it will
> > ask you for a suitable account name / password.
> >
> > In other words: If the scheduled job must access the share
> > \\YourServer\YourShare then you must run it under an
> > account that has appropriate access rights to \\YourServer\YourShare.
> >
> > Rather than talking about your problem theoretically, I suggest
> > you tell us exactly what your scheduled task is attempting to
> > do and at what stage the account/password prompt appears.
> >
> >
> > "Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
> > news:entqKd60FHA.464@xxxxxxxxxxxxxxxxxxxxxxx
> >> Is it possible to ask Task Scheduler once to run a job everyday without
> >> confirmation of password?
> >>
> >> "Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
> >> news:uhaMK450FHA.464@xxxxxxxxxxxxxxxxxxxxxxx
> >> >
> >> > "Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
> >> > news:u1wW7v50FHA.2880@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> Is anybody using Task Scheduler for everyday runs?
> >> >> Why it asks to enter logon and password everyday for Administrator
> >> > account,
> >> >> otherwise logon failure
> >> >>
> >> >>
> >> >
> >> > You can enter any account name / password when scheduling a task,
> >> > as long as you make sure that the chosen account has sufficient
> >> > access rights to the resources needed by the scheduled task (e.g.
> >> > network shares).
> >> >
> >> > And why do you have to enter an account / password? Simple:
> >> > Because Windows Server is a secure operating system. Without
> >> > an account name / password, you would have no security!
> >> >
> >> >
> >>
> >>
> >
> >
>
>


.



Relevant Pages

  • RE: DTS Package fails when Scheduled
    ... Make sure the ODBC connection is a system DSN source (for every account to ... as the DTS scheduled job ...
    (microsoft.public.sqlserver.dts)
  • RE: Info:NT/Win2k
    ... My experience of this is that usually the user has a scheduled job running ... > network resources and if user logs off and attempts to log ... > are told their account has been locked. ...
    (Focus-Microsoft)
  • Re: Task Scheduler Security
    ... it inside of the COM+ Transaction system. ... > I am using a 3rd party component in my web page Currently I need to login ... > Is it possible to have ISUR_XXXXX Account create a new NT Scheduled Job? ...
    (microsoft.public.win2000.security)
  • Re: scheduled tasks wont run
    ... It's a policy issue. ... Security Settings / Account Policies / Local Policies / ... The account used for the scheduled job must be listed under this ... If it is not listed then it will not be able to run a scheduled job. ...
    (microsoft.public.windows.server.general)
  • Re: DOS program works in Admin account but not in a User account
    ... I have a legacy DOS program that runs fine in my XP Home Admin account which is the one I installed it in but when I run the shortcut or the exe file in my user account it just opens the initial menu screen - if I click on one of the choices the screen flashes off and that's it - finished = the problem is associated with the underlying *.exe file - if I click that it just flashes on and off. ... I assume it has something to do with access rights. ... Open a command line window (Run... ...
    (microsoft.public.win2000.cmdprompt.admin)