I am running this command to create tasks automatically... on a XP SP2
When I run the command the task is created: I run it in the 'production' account which isn't an administrator...
But when I run the task, I get 'could not start' and I have to manually reinput the password.
If I try the following:
I get the following error...
ERROR: The Target system must be running Windows XP or above.
Anyone have an explanation, or a solution?
Aftertaf
Sometimes it just needs a good kicking.
Code:
schtasks /create /TN RunTemperature_Logs /SC weekly /D SUN /ST 03:50:00 /TR "c:\TRACE\utilitaires\runtemperature.bat" /ru .\production /rp p
But when I run the task, I get 'could not start' and I have to manually reinput the password.
If I try the following:
Code:
schtasks /create /TN RunTemperature_Logs /S \\%COMPUTERNAME% /U production /p p /SC weekly /D SUN /ST 03:50:00 /TR "c:\TRACE\utilitaires\runtemperature.bat" /ru .\production /rp p
ERROR: The Target system must be running Windows XP or above.
Anyone have an explanation, or a solution?
Aftertaf
Sometimes it just needs a good kicking.