Task scheduler failures

R

Rob Oldfield

I have a scheduled task that I set up. I'm running it as a user that has
full admin rights. First time it runs, everything works fine, second time I
get:

"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."

If I then set the job up again, then the same thing happens. First time
fine, next time clunk.

Any ideas?
 
P

Pegasus \(MVP\)

Rob Oldfield said:
I have a scheduled task that I set up. I'm running it as a user that has
full admin rights. First time it runs, everything works fine, second time I
get:

"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."

If I then set the job up again, then the same thing happens. First time
fine, next time clunk.

Any ideas?

Perhaps the task is still running when you try to
launch it the second time round?

- What about the third time?
- How long until you can run it again?
- What exactly are you trying to run?
 
R

Rob Oldfield

Pegasus (MVP) said:
time

Perhaps the task is still running when you try to
launch it the second time round?

- What about the third time?
- How long until you can run it again?
- What exactly are you trying to run?

The task definitely finishes correctly the first time (i.e. no sign of
related processes still active).
Third (and subsequent) times it again fails with the same error.
I haven't come across any time limit - just that if I redo the properties of
the job (i.e. put the exe path back in) then it works again (once). If I
redo the properties just to reschedule then it doesn't work.
The exe is an app that I've written in VB.Net. If the first time was
leaving something open so that the second was unable to connect then I'd
expect it to start - but not finish correctly.

Thanks for the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top