XP Pro Scheduled Tasks

R

Robert Stern

I am having trouble with scheduled tasks not running on
any windows xp pro systems unless a user is logged on.
I've, as a test, set all accounts to have full
administrator privileges, created this scheduled tasks
from various accounts with full privileges and "run as"
the various accounts as well. If I "manually" run the
tasks but right clicking on the task and left clicking on
run, they do run. If there is no user logged on at the
time when the tasks are scheduled to run, they do not
run, the status is clear, the completion code is "0x0"
and the next run time shows to be the time when the task
should next run as though it had actually run,
successfully. If I leave a user logged on, the scheduled
tasks run. I've also tried deleting them all and re-
creating them with all of the above permutations, but
can't get them to work. The tasks are disk cleanup,
defrag, norton scan and a system backup. I've tried this
on several different XP systems with the same results.
Any thouhgts, is this a bug, others have this "problem"
or had and have resolved?

Thanks,

Robert
 
M

Matthew Gardiner

-----Original Message-----
I am having trouble with scheduled tasks not running on
any windows xp pro systems unless a user is logged on.
I've, as a test, set all accounts to have full
administrator privileges, created this scheduled tasks
from various accounts with full privileges and "run as"
the various accounts as well. If I "manually" run the
tasks but right clicking on the task and left clicking on
run, they do run. If there is no user logged on at the
time when the tasks are scheduled to run, they do not
run, the status is clear, the completion code is "0x0"
and the next run time shows to be the time when the task
should next run as though it had actually run,
successfully. If I leave a user logged on, the scheduled
tasks run. I've also tried deleting them all and re-
creating them with all of the above permutations, but
can't get them to work. The tasks are disk cleanup,
defrag, norton scan and a system backup. I've tried this
on several different XP systems with the same results.
Any thouhgts, is this a bug, others have this "problem"
or had and have resolved?

Hello,

Could you please clarify whether or not you have logged off
or used fast switching.

Matthew Gardiner
 
K

Kelly

Hi Robert,

Go to C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\S-1-5-18 and delete the files in there.
Scheduled Tasks will recreate the files needed.

Note: This folder is hidden by default. Go to Start/Run and type in:
control folders. View: Show hidden files and folders.
~~~
Scheduled Tasks - Auto Start (getting tasks to run when no one is
logged on). If you follow these steps, the shedlgu.txt file will be
replaced without any information other than system start-up information upon
the first boot.

Go to Start/Run/Msconfig. Click Selective Startup and uncheck Load System
Services, click ok. Reboot.

Upon reboot, click OK to the first Window that indicates
that you have selected "Selective Startup". When the
System Configuration Utility reappears, Check the Normal
Startup Box.

Then go to Start/Search and type in: schedlgu.txt. When it appears, right
click on the file and delete it. Reboot.

You will now have a new Task Scheduler Log File. It can be checked by going
to Start/Search and typing in: schedlgu.txt. Appearing will be your new Task
Scheduler Log.

Running Scheduled Tasks without a password:

For Pro: Start/Control Panel/Administrative Tools/Local Security
Policy/Local Policies/Security options. In the right hand pane (third down).

Accounts: Limit local account use of blank passwords to console logon only.
This is enabled by default, disable it.

For Home: Run Scheduled Task without a Password (Line 68)
http://www.kellys-korner-xp.com/xp_tweaks.htm

Troubleshooting the Task Scheduler
http://www.kellys-korner-xp.com/xp_t.htm#ts


/xp_tweaks.htm

Top 10 Frequently Asked Questions and Answers
http://www.kellys-korner-xp.com/top10faqs.htm
 

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