Change tasks runtime using schtasks (Vista)

Associate
Joined
3 Nov 2005
Posts
602
Location
Stoke-on-Trent
I am attemtping to use schtasks to change a taks run time using the command line tool "schtasks"

As a test I am attempting to change the time of the scheduled defrag, using the syntax:

SCHTASKS /Change /TN ScheduledDefrag /ST 15:00

This returns the following error:

ERROR: The specified task name "ScheduledDefrag" does not exist in the system.

However if I run "schtasks /query " to quey all taks the folllowing is retured


Folder: \Microsoft\Windows\Defrag
TaskName Next Run Time Status
========================================== ==================== ===============
ManualDefrag N/A Ready
ScheduledDefrag 09/01/2008 01:00:00 Ready

What is going on?
 
Am I going mad, even the interface shows the name as being ScheduledDefrag

58905130dc4.jpg
 
Has no one ever used this?

I have been working on it now for over 10hrs Stright and still no joy!


Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh!!!
 
Back
Top Bottom