Jump to content

Sheduled task not working properly


Recommended Posts

Posted

If I am logged on to the server with the account configured in task it runs

fine.

 

If I change the username and password of the task and manually launch the

task it does not run successfully. The accounts I am changing the task to

are domain admins.

 

Run when user is logged on is not checked.

 

The task launches but does not complete. Getting the 0x1 return. The tasks

is just creating a text file.

 

Any thoughts?

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: Sheduled task not working properly

 

 

"Paul" <Paul@discussions.microsoft.com> wrote in message

news:DA888D6A-22AE-4091-AE57-FDE77CABF781@microsoft.com...

> If I am logged on to the server with the account configured in task it

> runs

> fine.

>

> If I change the username and password of the task and manually launch the

> task it does not run successfully. The accounts I am changing the task to

> are domain admins.

>

> Run when user is logged on is not checked.

>

> The task launches but does not complete. Getting the 0x1 return. The

> tasks

> is just creating a text file.

>

> Any thoughts?

>

 

Let's have a look at the task you run!

Posted

RE: Sheduled task not working properly

 

Could be so many reasons...

 

Are you trying to tun a batch file or a script?

 

First things to try:

is there any error messages in the event logs (system and security)?

What is the error in the task scheduled log?

when logged as domain admin, is your script manually working? is this

working when scheduled and still logged on?

export the date and time in an output file called by the scheduler, does it

print out?

have the domain admins the correct permissions to access the script and

create the files?

Audit the files your scheduled task is supposed to use and see whehter they

are used.

etc...

 

Good luck

 

"Paul" wrote:

> If I am logged on to the server with the account configured in task it runs

> fine.

>

> If I change the username and password of the task and manually launch the

> task it does not run successfully. The accounts I am changing the task to

> are domain admins.

>

> Run when user is logged on is not checked.

>

> The task launches but does not complete. Getting the 0x1 return. The tasks

> is just creating a text file.

>

> Any thoughts?

>

>

>

>


×
×
  • Create New...