Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Change tasks runtime using schtasks

Reply
Thread Tools Display Modes

Change tasks runtime using schtasks

 
 
Super Play
Guest
Posts: n/a

 
      01-04-2008
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?


 
Reply With Quote
 
 
 
 
Super Play
Guest
Posts: n/a

 
      01-04-2008
Sorry for the duplicate post!


"Super Play" <> wrote in message
news:%...
>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?
>
>


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Schtasks.exe error J Grimm Windows Vista General Discussion 9 04-01-2008 02:27 AM
Change tasks runtime using schtasks (Vista) Super Play Windows Vista General Discussion 6 01-29-2008 11:51 AM
Microsoft Visual C++ Runtime Library box with Runtime Error Michael Windows Vista General Discussion 3 08-25-2007 12:55 AM
Can't display or change a task with schtasks.exe clayga Windows Vista Administration 0 08-03-2007 06:16 PM
Microsoft Visual C++ Runtime Library ...Runtime Error kaya Windows Vista Mail 2 07-31-2007 11:41 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59