PC Review


Reply
Thread Tools Rate Thread

Defrag from Scheduled tasks

 
 
Doug Watt
Guest
Posts: n/a
 
      24th Aug 2004
I want to run defrag from my scheluled tasks but it brings
the program up but it doesn't start running. Is there
something else I need to do?
 
Reply With Quote
 
 
 
 
David Candy
Guest
Posts: n/a
 
      24th Aug 2004
Browse to Defrag.exe . You are scheduling defrag.msc. There are two defrag program. See help.

--
----------------------------------------------------------
'Not happy John! Defending our democracy',
http://www.smh.com.au/articles/2004/...392635123.html

"Doug Watt" <(E-Mail Removed)> wrote in message news:c68a01c48a2b$32071bd0$(E-Mail Removed)...
> I want to run defrag from my scheluled tasks but it brings
> the program up but it doesn't start running. Is there
> something else I need to do?

 
Reply With Quote
 
Bill Stewart
Guest
Posts: n/a
 
      25th Aug 2004
Doug Watt wrote:

> I want to run defrag from my scheluled tasks but it brings the program up
> but it doesn't start running. Is there something else I need to do?


Hi Doug,

What operating system?

Bill


 
Reply With Quote
 
Christos Kritikos
Guest
Posts: n/a
 
      25th Aug 2004

I had the same question! I tried to find defrag.exe but
to no avail (this is on a Win2k Srv). There is a
dfrgntfs.exe but when I try to run it I get that "command
line operation of disk defragmenter is not supported".
Any other ideas?

thanks
christos


>-----Original Message-----
>Browse to Defrag.exe . You are scheduling defrag.msc.

There are two defrag program. See help.
>
>--
>---------------------------------------------------------

-
>'Not happy John! Defending our democracy',
>http://www.smh.com.au/articles/2004/...088392635123.h

tml
>
>"Doug Watt" <(E-Mail Removed)> wrote

in message news:c68a01c48a2b$32071bd0$(E-Mail Removed)...
>> I want to run defrag from my scheluled tasks but it

brings
>> the program up but it doesn't start running. Is there
>> something else I need to do?

>.
>

 
Reply With Quote
 
Stuart Carnie
Guest
Posts: n/a
 
      25th Aug 2004
The standard defrag does not support scheduled operation...however, using
vbscript, you can start the app and use sendkeys to start a defrag..

Cheers,
Stu

"Christos Kritikos" <(E-Mail Removed)> wrote in message
news:029f01c48af2$62b0a900$(E-Mail Removed)...
>
> I had the same question! I tried to find defrag.exe but
> to no avail (this is on a Win2k Srv). There is a
> dfrgntfs.exe but when I try to run it I get that "command
> line operation of disk defragmenter is not supported".
> Any other ideas?
>
> thanks
> christos
>
>
> >-----Original Message-----
> >Browse to Defrag.exe . You are scheduling defrag.msc.

> There are two defrag program. See help.
> >
> >--
> >---------------------------------------------------------

> -
> >'Not happy John! Defending our democracy',
> >http://www.smh.com.au/articles/2004/...088392635123.h

> tml
> >
> >"Doug Watt" <(E-Mail Removed)> wrote

> in message news:c68a01c48a2b$32071bd0$(E-Mail Removed)...
> >> I want to run defrag from my scheluled tasks but it

> brings
> >> the program up but it doesn't start running. Is there
> >> something else I need to do?

> >.
> >



 
Reply With Quote
 
Paul R. Sadowski
Guest
Posts: n/a
 
      26th Aug 2004

"Doug Watt" <(E-Mail Removed)> wrote in message
news:c68a01c48a2b$32071bd0$(E-Mail Removed)...
>I want to run defrag from my scheluled tasks but it brings
> the program up but it doesn't start running. Is there
> something else I need to do?


I use this on 2K Server http://www.morphasys.com/autodefrag/


 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      26th Aug 2004
Use AutoIt to run defrag. You can download it from their website

Christos Kritikos wrote:

> I had the same question! I tried to find defrag.exe but
> to no avail (this is on a Win2k Srv). There is a
> dfrgntfs.exe but when I try to run it I get that "command
> line operation of disk defragmenter is not supported".
> Any other ideas?
>
> thanks
> christos
>
>
>
>>-----Original Message-----
>>Browse to Defrag.exe . You are scheduling defrag.msc.
>>

> There are two defrag program. See help.
>
>>--
>>---------------------------------------------------------
>>

> -
>
>>'Not happy John! Defending our democracy',
>>http://www.smh.com.au/articles/2004/...088392635123.h
>>

> tml
>
>>"Doug Watt" <(E-Mail Removed)> wrote
>>

> in message news:c68a01c48a2b$32071bd0$(E-Mail Removed)...
>
>>>I want to run defrag from my scheluled tasks but it
>>>

> brings
>
>>>the program up but it doesn't start running. Is there
>>>something else I need to do?
>>>

>>.
>>
>>


 
Reply With Quote
 
Nunayadam Bidnez
Guest
Posts: n/a
 
      29th Aug 2004
This won't help on Win2K, but with Win2K3 MS made available WMIC and
issuing the following command will result in a command line schedulable
defrag. As was posted earlier WMI VBS scripts can do it too, but from my
readings automation of defrags via WMIC or WMI is only supported on
Win2K3

wmic volume where driveletter="c:" call defrag

change the drive letter to match any drives you want to defrag (replace
defraganalysis if you want to get an analysis first)

"Christos Kritikos" <(E-Mail Removed)> wrote in
message news:029f01c48af2$62b0a900$(E-Mail Removed)...
>
> I had the same question! I tried to find defrag.exe but
> to no avail (this is on a Win2k Srv). There is a
> dfrgntfs.exe but when I try to run it I get that "command
> line operation of disk defragmenter is not supported".
> Any other ideas?
>
> thanks
> christos
>
>
> >-----Original Message-----
> >Browse to Defrag.exe . You are scheduling defrag.msc.

> There are two defrag program. See help.
> >
> >--
> >---------------------------------------------------------

> -
> >'Not happy John! Defending our democracy',
> >http://www.smh.com.au/articles/2004/...088392635123.h

> tml
> >
> >"Doug Watt" <(E-Mail Removed)> wrote

> in message news:c68a01c48a2b$32071bd0$(E-Mail Removed)...
> >> I want to run defrag from my scheluled tasks but it

> brings
> >> the program up but it doesn't start running. Is there
> >> something else I need to do?

> >.
> >



 
Reply With Quote
 
Bill Stewart
Guest
Posts: n/a
 
      30th Aug 2004
Nunayadam Bidnez wrote:

> This won't help on Win2K, but with Win2K3 MS made available WMIC and
> issuing the following command will result in a command line schedulable
> defrag. As was posted earlier WMI VBS scripts can do it too, but from my
> readings automation of defrags via WMIC or WMI is only supported on
> Win2K3
>
> wmic volume where driveletter="c:" call defrag


Why not just

defrag c: -f -v

Why bother with going through WMIC?

Bill


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Scheduling disk defrag in scheduled tasks =?Utf-8?B?c29ja3M=?= Windows XP Performance 2 17th Sep 2007 03:32 PM
Can't get defrag to work or scheduled tasks Tonya Windows XP Performance 1 8th Feb 2004 02:50 PM
Re: Scheduled tasks - defrag Pegasus \(MVP\) Microsoft Windows 2000 0 26th Sep 2003 02:27 AM
Scheduled tasks - defrag J Microsoft Windows 2000 0 25th Sep 2003 03:42 PM
ChkDsk & Defrag as Scheduled Tasks Bob Day Windows XP Customization 1 7th Aug 2003 05:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:03 PM.