Sdheduled tasks not running

  • Thread starter Thread starter Windwatcher
  • Start date Start date
W

Windwatcher

Though I have checked the settings to wake the computer up, schedule tasks
apparently aren't running - says 'never' under last run time. The laptop is
running on AC power, not on batteries, so what am I doing wrong?
 
Windwatcher said:
Though I have checked the settings to wake the computer up, schedule tasks
apparently aren't running - says 'never' under last run time. The laptop is
running on AC power, not on batteries, so what am I doing wrong?

You need to supply more details about what you're trying to do:
- How does waking up the PC relate to running scheduled tasks?
- What are the tasks you're trying to run? Please give an example!
- How do you know that the tasks did not run?
- What does the scheduled task log file report?
 
Thanks for the replies. Here is additional information.

Two tasks are scheduled: Spybot Search and Destroy and ConfigSafe
(snapshot of system) during the period when power options have the laptop
on staand by - that's why I checked it to wake up the computer.
Control Panel - Scheduled Tasks lists these tax and under "last run time"
says never. In the status column (which I just discovered - it is cut off
in the box and takes some manuevering to display) states no user account
password is entered. But as sole user of this computer I don't use any
account passwords, and none is required when I run these programs manually.

Here is what the log reports:
"Scheduled Snapshot.job" (cs_sched.exe) 2/6/2006 12:38:00 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.
=============
Spybot - Search & Destroy - Scheduled Task.job" (SpybotSD.exe) 2/2/2006
6:00:00 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.
 
Windwatcher said:
Thanks for the replies. Here is additional information.

Two tasks are scheduled: Spybot Search and Destroy and ConfigSafe
(snapshot of system) during the period when power options have the laptop
on staand by - that's why I checked it to wake up the computer.
Control Panel - Scheduled Tasks lists these tax and under "last run time"
says never. In the status column (which I just discovered - it is cut off
in the box and takes some manuevering to display) states no user account
password is entered. But as sole user of this computer I don't use any
account passwords, and none is required when I run these programs manually.

Here is what the log reports:
"Scheduled Snapshot.job" (cs_sched.exe) 2/6/2006 12:38:00 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.
=============
Spybot - Search & Destroy - Scheduled Task.job" (SpybotSD.exe) 2/2/2006
6:00:00 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.

Just because you don't enter any password does not mean
that your machine has no accounts or passwords. It certainly
has! Here is a quick way to seize control of them:

1. Click Start / Run / cmd {OK}
2. Type these commands:
echo User=%UserName% {Enter} (make a note of this!)
net user %UserName% password {Enter} (this is your password - do not forget
it!)
net user schedule password /add {Enter}
net localgroup administrator schedule /add {Enter}

The first command will tell you who you are.
The second command will set your password to "password".
The third command will create an account called "schedule",
with a password of "password".
The fourth command will give administrator privileges to the
newly created "schedule" account.

Now use the Task Scheduler to schedule c:\test.bat as a very
basic test task. Specify "schedule" as the account name for this task.

c:\test.bat
======
@echo off
echo %date% %time% >> c:\test.txt

Examine c:\test.txt after the job has run. What does it contain?
 
On XP to run scheduled task username/password is required. If you don't
have one, you will have to create one.

If you don't want to specify password everytime you restart your
computer, you can configure it to auto login that way schedule gets the
username/password and you don't have to worry about it.

See instructions below on how to configure auto login.

You can configure Windows XP to automate the logon process if your
computer is not part of a domain. Computers configured in a business
environment generally have a domain and for security reasons it must
specify the password to access the local area network or domain.

Click on Start -> Control Panel -> User Accounts.
Uncheck the "Users must enter a username and password to use this
computer" check box.
Click Apply.
Enter the user name and password you wish to automatically log on with,
and then click OK.
Click OK again and you're all done.

This feature allows other users to start your computer and use the
account that you establish to automatically log on. Enabling auto logon
makes your computer more convenient to use, but can pose a security
risk since anyone can just turn the machine on and access your files.

Tethys Solutions, Expert Services Group
http://www.tethyssolutions.com/ask-the-expert.htm
SMART Macro & Automation Software
 
Thanks for the replies. Here is additional information.

Two tasks are scheduled: Spybot Search and Destroy and ConfigSafe
(snapshot of system) during the period when power options have the laptop
on staand by - that's why I checked it to wake up the computer.
Control Panel - Scheduled Tasks lists these tax and under "last run time"
says never. In the status column (which I just discovered - it is cut off
in the box and takes some manuevering to display) states no user account
password is entered. But as sole user of this computer I don't use any
account passwords, and none is required when I run these programs manually.

Here is what the log reports:
"Scheduled Snapshot.job" (cs_sched.exe) 2/6/2006 12:38:00 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.
=============
Spybot - Search & Destroy - Scheduled Task.job" (SpybotSD.exe) 2/2/2006
6:00:00 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.
 
Windwatcher said:
Thanks for the replies. Here is additional information.

Two tasks are scheduled: Spybot Search and Destroy and ConfigSafe
(snapshot of system) during the period when power options have the laptop
on staand by - that's why I checked it to wake up the computer.
Control Panel - Scheduled Tasks lists these tax and under "last run time"
says never. In the status column (which I just discovered - it is cut off
in the box and takes some manuevering to display) states no user account
password is entered. But as sole user of this computer I don't use any
account passwords, and none is required when I run these programs manually.

Here is what the log reports:
"Scheduled Snapshot.job" (cs_sched.exe) 2/6/2006 12:38:00 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.
=============
Spybot - Search & Destroy - Scheduled Task.job" (SpybotSD.exe) 2/2/2006
6:00:00 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.

In my previous reply I gave you a detailed recipe to address
this issue, which you appear to have largely ignored. I leave
it to you to follow these suggestions.
 
Back
Top