Greetings,
I have a couple of tasks in the Scheduled Tasks Folder and even though the
configuration option to wake up the system does exist and has been selected,
all my tests fail. In other words, the tasks do not wake up the PC nor
execute.
The only things that I can thing of are:
1. Permission issues? The scheduled taks configuration sometimes requiresa
user name and password. Are these absolutely necessary? I don´tbelieve it
as the processes I am trying to run can be run by any user on thebox.
2. There has to be an internal scheduler in the MS Windows XP SP3 OS engine
on this machine, but do I have to do anything to configure it? Perhaps
it is not
running by default.
I would appreciate it if you could help. Thank you in advance.
Jean-Pierre
User name and password are required. You have to add a password to
the account that is going to run the task - even if you use
Administrator (which usually has no password). If you use the
Administrator account and change the password, you better remember
what it is, or use another account.
To get a good look at things, go to Control Panel, Administrative
Tools, Services. Stop the Task Scheduler.
Navigate to c:\windows. There is a log file called SchedLgU.Txt.
Look near the bottom around the current time for stuff like:
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
The specific error is:
0x8007052e: Logon failure: unknown user name or bad password.
Chances are the account name for the task has no password. It needs
one.
With the service stopped, you can delete the SchedLgU.Txt file to
start over. Restart the Task Scheduler Service and be sure it is set
to Automatic and Running. Look at the SchedLgu.Txt file now and there
is an appropriate message.
Navigate to c:\windows\tasks. There are all your tasks that you would
see in Control Panel. You can right click them and set up the
properties to have a valid user account and password, or you can do it
through Control Panel. When you Apply any changes, there should be no
errors. If you have an error, the task will get created but will not
run.
You can then right click the task and choose Run and it will run it
right now. Look in the SchedLgU.Txt file to see what happened. If
there is an error, we need to know what the error it is and figure it
out. If you see something like:
The specific error is:
0x80070005: Access is denied.
You have a permissions problem in the usr and/or password. So be
really, really sure the account and password are correct.
For practice, create a new task to run the Command Prompt, one time,
tomorrow. Use your known good account and password. Assuming there
are no errors in the creation, you should be able to right click the
task and Run it and a Command Prompt window should open immediately.
If that works, you now know how to set up a scheduled task
successfully You can delete that task when finished testing.
Troubleshoot errors from what you see in the SchedLgU.Txt file, or
look in there to see what things look like when it runs successfully.
If the log gets too cumbersome, delete it as above.
Please report back your results.