This problem occurs because of a compatibility issue between the source and target operating systems. Specifically, this problem occurs when you schedule tasks by running the
schtasks.exe command at a command prompt�under the�Local System account.
The user interface (UI) for the task scheduler lets you select the operating system for which to schedule the task. This option is provided in the
Configure For�setting when you create a task.
The following sample command creates a task that has the name "task_test" on a remote computer that has the computer name "Contoso." This command schedules the task to start the Calc.exe process every one minute and�to start�the process under the Local System account:
schtasks.exe /create /tn task_test /ru "system" /tr "c:\windows\system32\calc.exe" /sc MINUTE /MO 1 /s Contoso
This command runs without any errors in Windows Vista and later versions of Windows. However, this command does not run on�pre-Windows Vista operating systems.