Greetz all. Anyone in here want to save me from going nuts?
After standalone Windows XP boots, only Scheduled Tasks that run in the context of the currently logged on user complete successfully. Any task not using the credentials of the logged on user fail with "Result: The task completed with an exit code of (80)." However, if the Task Scheduler service is restarted manually all scheduled tasks (including tasks using credentials other than those of the logged on user) complete successfully (exit code 0).
Thought initially that there might have been some startup process conflict inteferring with the service. So, deleted all tasks except one and manually ran it after a re-boot. The task, "test.cmd", has one line: "echo task ran > %0\..\flag.txt" which creates a file if the task ran ok. So after a few tests I now know that:
Disabling all Startup items has no effect.
Disabling all non-Microsoft services has no effect.
The only service dependency is "Remote Procedure Call (RPC)" and since the Task Scheduler service always starts I guess there are no more. Yet something is different between the service state at boot time and the state after a manual service restart. Task Scheduler's running as Local System (Interactive) which should be ok. So, what's going on?
BTW: Cannot replicate the problem on W2K.
After standalone Windows XP boots, only Scheduled Tasks that run in the context of the currently logged on user complete successfully. Any task not using the credentials of the logged on user fail with "Result: The task completed with an exit code of (80)." However, if the Task Scheduler service is restarted manually all scheduled tasks (including tasks using credentials other than those of the logged on user) complete successfully (exit code 0).
Thought initially that there might have been some startup process conflict inteferring with the service. So, deleted all tasks except one and manually ran it after a re-boot. The task, "test.cmd", has one line: "echo task ran > %0\..\flag.txt" which creates a file if the task ran ok. So after a few tests I now know that:
Disabling all Startup items has no effect.
Disabling all non-Microsoft services has no effect.
The only service dependency is "Remote Procedure Call (RPC)" and since the Task Scheduler service always starts I guess there are no more. Yet something is different between the service state at boot time and the state after a manual service restart. Task Scheduler's running as Local System (Interactive) which should be ok. So, what's going on?
BTW: Cannot replicate the problem on W2K.