Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCHTASKS on XP is buggy ! !

Status
Not open for further replies.

aftertaf

IS-IT--Management
May 27, 2004
3,320
0
0
EU
I am running this command to create tasks automatically... on a XP SP2

Code:
schtasks /create /TN RunTemperature_Logs /SC weekly /D SUN /ST 03:50:00 /TR "c:\TRACE\utilitaires\runtemperature.bat" /ru .\production /rp p
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:
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
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.
 
Is the Task Schedule Service running, or are there any Group Policy preventing the running of Scheduled Tasks?

How to troubleshoot scheduled tasks in Windows XP and in Windows Server 2003

How to use Schtasks.exe to Schedule Tasks in Windows Server 2003

What does the Task Scheduler log say, have a look at SchedLgU.log in the Windows folder?

Unable to Find a Message for Task Exit Code in Schedlog.txt File
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top