• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

scheduled tasks not starting

R

rarewolf

Flightless Bird
I 've searched this problem and tried the remedy posted at Kelley's
Corner, ... e.g.,
http://groups.google.com/group/micr...scheduled+tasks+not+starting#1e99f240e1f3e1c9
but it didn't prove to be a remedy in my case.

I have 2 scheduled tasks which run a BAT files that xcopy files from
selected directories to external archive drives. I've configured them
to run with no one logged on, and indicated to run as administrator.
Usually, these will run early in the AM with a power user logged on
and the computer locked.

These are not running automatically, with the status indicating "could
not start". Entries in the schedlgu.txt file indicate (e.g.) :
~~~~~~~~~~
11:52:28 AM ** ERROR **
The attempt to retrieve account information for the specified task
failed; therefore, the task did not run. Either an error occurred, or
no account information existed for the task.
The specific error is:
0x8004130f: No account information could be found in the Task
Scheduler security database for the task indicated.
~~~~~~~~~~

I can get these to run again, and generally for a couple more times,
by going to the task's properties and simply re-entering the
administrator's password. The task will manually run when it wouldn't
before. It's as if the task is simply forgetting the admin's pw after
running a couple of times and I'd really like to fix this problem.

Please adive ... TIA :eek:)
 
P

Pegasus [MVP]

Flightless Bird
"rarewolf" <rarewolf@gmail.com> wrote in message
news:86ea82ca-f247-4605-a69a-1b3b0341af4a@22g2000vbg.googlegroups.com...
> I 've searched this problem and tried the remedy posted at Kelley's
> Corner, ... e.g.,
> http://groups.google.com/group/micr...scheduled+tasks+not+starting#1e99f240e1f3e1c9
> but it didn't prove to be a remedy in my case.
>
> I have 2 scheduled tasks which run a BAT files that xcopy files from
> selected directories to external archive drives. I've configured them
> to run with no one logged on, and indicated to run as administrator.
> Usually, these will run early in the AM with a power user logged on
> and the computer locked.
>
> These are not running automatically, with the status indicating "could
> not start". Entries in the schedlgu.txt file indicate (e.g.) :
> ~~~~~~~~~~
> 11:52:28 AM ** ERROR **
> The attempt to retrieve account information for the specified task
> failed; therefore, the task did not run. Either an error occurred, or
> no account information existed for the task.
> The specific error is:
> 0x8004130f: No account information could be found in the Task
> Scheduler security database for the task indicated.
> ~~~~~~~~~~
>
> I can get these to run again, and generally for a couple more times,
> by going to the task's properties and simply re-entering the
> administrator's password. The task will manually run when it wouldn't
> before. It's as if the task is simply forgetting the admin's pw after
> running a couple of times and I'd really like to fix this problem.
>
> Please adive ... TIA :eek:)


This is usually the result of using an account with a blank password.
 
L

Lem

Flightless Bird
rarewolf wrote:
> I 've searched this problem and tried the remedy posted at Kelley's
> Corner, ... e.g.,
> http://groups.google.com/group/micr...scheduled+tasks+not+starting#1e99f240e1f3e1c9
> but it didn't prove to be a remedy in my case.
>
> I have 2 scheduled tasks which run a BAT files that xcopy files from
> selected directories to external archive drives. I've configured them
> to run with no one logged on, and indicated to run as administrator.
> Usually, these will run early in the AM with a power user logged on
> and the computer locked.
>
> These are not running automatically, with the status indicating "could
> not start". Entries in the schedlgu.txt file indicate (e.g.) :
> ~~~~~~~~~~
> 11:52:28 AM ** ERROR **
> The attempt to retrieve account information for the specified task
> failed; therefore, the task did not run. Either an error occurred, or
> no account information existed for the task.
> The specific error is:
> 0x8004130f: No account information could be found in the Task
> Scheduler security database for the task indicated.
> ~~~~~~~~~~
>
> I can get these to run again, and generally for a couple more times,
> by going to the task's properties and simply re-entering the
> administrator's password. The task will manually run when it wouldn't
> before. It's as if the task is simply forgetting the admin's pw after
> running a couple of times and I'd really like to fix this problem.
>
> Please adive ... TIA :eek:)


I assume that the account under which the task is scheduled to run has a
password (sounds like it, from your description). If not, the task won't
run.

Try scheduling a task using the AT command (which uses the system
account to run the task). Open a Command Prompt window and type
at /?
for parameter info. Also see
http://technet.microsoft.com/en-us/library/bb490866.aspx

For example:
at /every:M,T,W,Th,F,S,Su 02:30 "C:/Program Files\Erunt\autoback.bat"

--
Lem

Apollo 11 - 40 years ago:
http://www.nasa.gov/mission_pages/apollo/40th/index.html
 
Top