Change tasks runtime using schtasks

S

Super Play

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


Even in the Vista Scheduled taks GUI it shows the tasks name as
"ScheduledDefrag"


What is going on?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top