Re: Scheduled Task forgets its password.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"nokia33948" <nokia33948@xxxxxxxx> wrote in message
news:1147082926.825500.65030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have read almost all the messages regarding Scheduled Task problems
in a Win2000 environment, but no one helped in solving my problems.

My Scheduled Task simply runs a .vbs file, that closes an exe if it's
running and then restarts it.

The Task should run every 2 hours under a domain administrator account
(but I tried with a local admin account aswell), I have already checked
that all the permissions are correctly set. And they are.

The task works fine for 7 or 8 times but then it stops and the "could
not start" message appears under the schedule tasks window. If a
re-enter the user password, it will run again for 7-8 times, and then
will stop again...

The log file just says:

"StopAndStart.job" (StopAndStart.vbs) 08/05/2006 08:01:00 ** ERROR **
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.
Verify that the task's Run-as name and password are valid and try
again.


Of course, no one changed username or password...

Any valid help?

Thanks.
D.


Make sure the account used has the right to run as a batch
job. Run gpedit.msc / Computer Configuration / Windows Settings /
Security Settings / Local Policy / User Rights / Logon as a batch job.


.



Relevant Pages

  • RE: catch-22 task manager
    ... If you want to logon without having to select the user, you can use TweakUI, ... one of the PowerTools, to automatically logon. ... I don't think that the account that the ... scheduled task is to run has to be logged on at the time the task runs--it ...
    (microsoft.public.windowsxp.newusers)
  • Scheduled Task forgets its password.
    ... I have read almost all the messages regarding Scheduled Task problems ... The Task should run every 2 hours under a domain administrator account ... Any valid help? ...
    (microsoft.public.win2000.general)
  • Re: Restart and Logon with Scheduled task
    ... Accounts: Limit local account use of blank passwords to console logon only. ... Run Scheduled Task without a Password ...
    (microsoft.public.windowsxp.general)
  • Re: Log on as a batch job
    ... Depending on the task you are trying to run, the account you use may need ... be a member of the local Administrators group on the PC. ... And the entire point of Logon as a Batch Job privilege is to ... My brief experiments suggest that running a scheduled task requires the user ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Scheduled Task on Client PC with NT AUTHORITY/SYSTEM account fails
    ... tasks under NT AUTHORITY\SYSTEM account. ... Right click the scheduled task and click Properties. ... Microsoft Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)