Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Scheduling Defrag

0 views
Skip to first unread message

Mark J. Brown

unread,
Jan 15, 2000, 3:00:00 AM1/15/00
to
Is there a way to schedule Defrag in Windows 2000. Haven't had much luck
with the msc (the MMC Snap-In) file that defrag runs from.

I would deeply appreciate responding by email as well as here.

Thanks,
Mark

Mark J. Brown

unread,
Jan 15, 2000, 3:00:00 AM1/15/00
to
Forget it. Found the KB Article,
Windows 2000 Disk Defragmenter Limitations
http://support.microsoft.com/support/kb/articles/q227/4/63.asp

"Mark J. Brown" <markb...@hotmail.com> wrote in message
news:e#a4NL8X$GA.280@cppssbbsa04...

JMV

unread,
Jan 15, 2000, 3:00:00 AM1/15/00
to
Not so fast. Don't give up so easy :o)

Awhile back Phil Meeks posted a vbscript he wrote that could be used to run
the defragger via task scheduler.

http://web.infoave.net/~pmeeks/defrag/rundfrg.zip

--
John Vittone
MS MVP


"Mark J. Brown" <markb...@hotmail.com> wrote in message

news:eJDcXO8X$GA.205@cppssbbsa04...

rmk

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
While on subject of Defrag - Executive Software says Diskeeper 5.03 will
work on Win2k, but you must have it installed in NT prior to an upgrade. It
says to contact Customer Service if you need to install Diskeeper after you
install 5.03. Anyone know what you need to install Diskeeper 5.03 on Win2k?
Hate to wait til Monday evening or later when I can call Diskeeper to find
out what the deal is.

Dale Ross

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
"JMV" <jmvitto...@THIShotmail.com> wrote in message
news:#erpQo8X$GA....@cppssbbsa02.microsoft.com...

> Not so fast. Don't give up so easy :o)
>
> Awhile back Phil Meeks posted a vbscript he wrote that could be used to
run
> the defragger via task scheduler.
>
> http://web.infoave.net/~pmeeks/defrag/rundfrg.zip
>

Hi John!

That's not VBScript! It Visual BASIC with source code. I'll see if it can be
converted to VBScript in the next day or two...


--
Dale Ross
Windows NT MVP

http://WinBBS.DynIP.com/
BBS - http://WinBBS.DynIP.com:8080 telnet://WinBBS.DynIP.com/

http://www.clubwin.com

biznich

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
Please post your results when you get word on how to install diskeeper 5.03
under win2k. Thanks,

John


"rmk" <NoS...@kabrich.com> wrote in message
news:CDbg4.2557$283....@typhoon2.tampabay.rr.com...

Hans Olsen

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
Hi,

Before you put on those scripting gloves, take a look att this page, http://www.morphasys.com/autodefrag/index.htm, it has such an application that starts the systems defragger and can be scheduled.

I haven't tried it yet though.

--
/Hans
or...@home.se

"Dale Ross" <dro...@carolina.rr.com> wrote in message news:OO5cAf#X$GA....@cppssbbsa02.microsoft.com...

Luc Van der Veken

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
Luc Van der Veken wrote:

> It contains API calls, and AFAIK you can't call those from
> VBScript (but maybe you won't need to because it can be done
> through one of the WSH objects).

Forget it: I had a second look and saw which API calls it's using
in the second module - you can't enumerate windows from a .vbs.


--

Luc VdV (MCP, MVP) - http://gallery.uunet.be/lucvdveken/
You can reply by e-mail after subtracting a hundred and eleven,
but I would appreciate it if you would only reply to the group.

Luc Van der Veken

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
Dale Ross wrote:

> That's not VBScript! It Visual BASIC with source code. I'll see if it can be
> converted to VBScript in the next day or two...

It contains API calls, and AFAIK you can't call those from


VBScript (but maybe you won't need to because it can be done
through one of the WSH objects).

But it isn't really necessary to make a vbs out of it, since the
.exe is included too.

JMV

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
Right you are. I haven't used it or opened the zip file. I erroneously
remebered how he wrote it. Below is a copy of his original message he posted
back in September, '99.

--
John Vittone
MS MVP


************************

It is actually a very simple task to write a scripting program to do this.
Just last night, I wrote a small Visual Basic program, and I schedule it
with the built-in Task Scheduler.

Since I believe that the ability to schedule the defrag is an essential
feature, and it's omission is a disservice to people who purchase
Windows2000, I am making the program and its source code available to all
who want it.

http://web.infoave.net/~pmeeks/defrag/rundfrg.zip

Please let me know what you think!

Phil Meeks
Software Developer
Charlotte, NC


"Dale Ross" <dro...@carolina.rr.com> wrote in message
news:OO5cAf#X$GA....@cppssbbsa02.microsoft.com...
> "JMV" <jmvitto...@THIShotmail.com> wrote in message
> news:#erpQo8X$GA....@cppssbbsa02.microsoft.com...
> > Not so fast. Don't give up so easy :o)
> >
> > Awhile back Phil Meeks posted a vbscript he wrote that could be used to
> run
> > the defragger via task scheduler.
> >
> > http://web.infoave.net/~pmeeks/defrag/rundfrg.zip
> >
>
> Hi John!
>

> That's not VBScript! It Visual BASIC with source code. I'll see if it can
be
> converted to VBScript in the next day or two...
>
>

Mark J. Brown

unread,
Jan 16, 2000, 3:00:00 AM1/16/00
to
Wow!!! Thanks guys. I have VB so I'll take a look at the source code.

I'll probably eventually download Diskeeper 5.0 anyway because of its
advanced features, but I really appreciate all your help.

Mark


"JMV" <jmvitto...@THIShotmail.com> wrote in message

news:uYzwJDFY$GA....@cppssbbsa02.microsoft.com...

Greg Hayes/Raxco Software

unread,
Jan 17, 2000, 3:00:00 AM1/17/00
to

DK 5.03 won't do a clean "install" on Win2k unless you have DK 5.0 installed
on NT 4.0 and "upgrade" to Win2k, then 5.03 will install cleanly. There is
a workaround to this though. If you have the 5.03 software, you can attempt
to install it on Win2k - it will fail - saying that DK 5.0 isn't found.
However, it will leave behind a MSI file that you can then install. I've
not personally tried this, but several people have said that it works.

On a side note, PerfectDisk 2000 was the FIRST commercial defragger that you
could purchase for Win2k. PerfectDisk has been running on Win2k since Beta
1 and doesn't require any of the "hacks - like the above" to install/run.
It is fully schedulable, and unlike DK, defragments ALL of the NTFS
metadata - not just the MFT. PerfectDisk 2000 is a ONE pass defragger - we
don't believe that you should have to run a defrag pass multiple times in
order to get the best results. PerfectDisk 2000 also offers the same
functionality - workstation or server (unlike DK, you don't have to have the
server version installed on your workstation if you want to be able to
schedule other machines from your workstation!). PerfectDisk 2000 can be
found at http://www.raxco.com

Regards,

Greg/Raxco Software

Disclaimer: I work for Raxco Software, the maker of PerfectDisk - the first
commercially available defragger for Win2k, as a systems engineer in the
support department.

rmk wrote in message ...

Roddy

unread,
Jan 17, 2000, 3:00:00 AM1/17/00
to
Cool!!!!!
Diskeeper 5.03 for FREE :-)))
Thanks for the info


> DK 5.03 won't do a clean "install" on Win2k unless you have DK 5.0
installed
> on NT 4.0 and "upgrade" to Win2k, then 5.03 will install cleanly. There
is
> a workaround to this though. If you have the 5.03 software, you can
attempt
> to install it on Win2k - it will fail - saying that DK 5.0 isn't found.
> However, it will leave behind a MSI file that you can then install. I've
> not personally tried this, but several people have said that it works.

Bart Robinson

unread,
Jan 18, 2000, 3:00:00 AM1/18/00
to
PD sees fat32 just fine on mine.

"Don't-Know Mind" <NOSPAMana...@hotmail.com> wrote in message news:38972d84...@news.giganews.com...
> On Mon, 17 Jan 2000 08:45:41 -0500, "Greg Hayes/Raxco Software"
> <gha...@raxco.com>struggled mightily to overcome the alien implanted


> neural transmitters and wrote:
>
> >
> >DK 5.03 won't do a clean "install" on Win2k unless you have DK 5.0 installed
> >on NT 4.0 and "upgrade" to Win2k, then 5.03 will install cleanly. There is
> >a workaround to this though. If you have the 5.03 software, you can attempt
> >to install it on Win2k - it will fail - saying that DK 5.0 isn't found.
> >However, it will leave behind a MSI file that you can then install. I've
> >not personally tried this, but several people have said that it works.
> >

> >On a side note, PerfectDisk 2000 was the FIRST commercial defragger that you
> >could purchase for Win2k. PerfectDisk has been running on Win2k since Beta
> >1 and doesn't require any of the "hacks - like the above" to install/run.
> >It is fully schedulable, and unlike DK, defragments ALL of the NTFS
> >metadata - not just the MFT. PerfectDisk 2000 is a ONE pass defragger - we
> >don't believe that you should have to run a defrag pass multiple times in
> >order to get the best results. PerfectDisk 2000 also offers the same
> >functionality - workstation or server (unlike DK, you don't have to have the
> >server version installed on your workstation if you want to be able to
> >schedule other machines from your workstation!). PerfectDisk 2000 can be
> >found at http://www.raxco.com
> >
> >Regards,
> >
> > Greg/Raxco Software
> >
> >Disclaimer: I work for Raxco Software, the maker of PerfectDisk - the first
> >commercially available defragger for Win2k, as a systems engineer in the
> >support department.
> >
>

> I'm having a problem with Windows or Norton recognizing the FAT32
> partitions to defrag. Does P.D. do this, or do I have to come up with
> some workaround?
>
> (I'm sure I've seen this addressed, but damned if I can remember the
> workaround)
>
> Thanks-

Greg Hayes/Raxco Software

unread,
Jan 19, 2000, 3:00:00 AM1/19/00
to

Sounds like you are running a dual boot system??? The built-in windows
defragger in Win2k doesn't have any problem recognizing FAT32 partitions.
PD2k also doesn't have any problems. If you are dual-booting, what OS?

- Greg


Don't-Know Mind wrote in message <38972d84...@news.giganews.com>...

Dale Ross

unread,
Jan 20, 2000, 3:00:00 AM1/20/00
to
Yea... will have to see if we can come up with a vbs option for folks...


--
Dale Ross
Windows NT MVP

http://www.clubwin.com
"Luc Van der Veken" <lucv...@null.net> wrote in message
news:T7mBOLcOjIVl2p...@4ax.com...


> Luc Van der Veken wrote:
>

> > It contains API calls, and AFAIK you can't call those from
> > VBScript (but maybe you won't need to because it can be done
> > through one of the WSH objects).
>

> Forget it: I had a second look and saw which API calls it's using
> in the second module - you can't enumerate windows from a .vbs.
>
>

Matthew Ellis

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to
Playing with the MMC means that you should (theoretically) be able to do
everything you want with the MMC API. You can create a taskpad for the
defragger and choose any command, including analyse, defrag, stop, etc. The
only problem is that you can't select which drive! This kind of spoils the
plan...

Anyway, some minor thoughts that aren't really going anywhere that I thought
might help someone think of a Plan...

Matt
m.t....@swansea.ac.uk


"Dale Ross" <dro...@carolina.rr.com> wrote in message

news:eXWS6I8Y$GA.124@cppssbbsa03...


> Yea... will have to see if we can come up with a vbs option for folks...
>

Chipster

unread,
Jan 30, 2000, 3:00:00 AM1/30/00
to
This looks like something to try definitely. I'm using the one that
Phil Meeks wrote and it works well with one exception (though it may
be something in the way i've got things configured) I've got it
configured to run in the middle of the night. I never log out but
lock the system. I come in the next morning and the console is still
there but about 30 seconds later it closes.

otherwise it's perfect. :)

0 new messages