Discussion Locked

Windows 2000 Defrag Sceduling

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I'm wondering if anyone knows how to setup scripting to automate defrag that comes with Win2K. Any ideas?

Here's the question that was emailed to me as part of a practice exam that has me very curious. The part I'm thinking about is below.........

Windows 2000 includes a Disk Defragmenter tool that
is based on Executive Software's full retail version
of Diskeeper. There are certain limitations of this
version. Which of the following are limitations of
the version of the Disk Defragmenter tool in Windows
2000? Choose all that apply.

A. Can defragment only dynamic volumes

B. Can defragment only local volumes

C. Can defragment only one volume at a time

D. Can defragment only volumes formatted with theNTFS file system

E. Cannot defragment one volume while scanning
another

Answer: B, C & E

The version of Diskeeper included with Windows 2000
has the following limitations:

- Can defragment only local volumes

- Can defragment only one volume at a time

- Cannot defragment one volume while scanning another

- Cannot be scripted

- Cannot be scheduled

- Can run only one Microsoft Management Console (MMC)
snap-in at a time

Note that there are scripts available for the Disk
Defragmenter utility in Windows 2000 so that
scheduling is possible.

The Disk Defragmenter utility works with both basic
and dynamic volumes and works on FAT, FAT32 and NTFS
formatted volumes.

1 reply

by greg hayes/raxco software

While the built-in defragger isn't designed to be scripted, it can certainly be done. If you are good with writing/maintaining scripts, check out http://www.morphasys.com/autodefrag/
for some scripts that you can use to schedule the Win2k built-indefragger
(simulates a user clicking on the appropriate buttons in order to defrag).

Some of the other limitations of the built-in defragger:

- Cannot defragment directories on FATx partitions.
- Cannot defragment the pagefile.
- Cannot defragment the Master File Table ($MFT) and related metadata on NTFS partitions.
- Doesn't consolidate free space.
- Recommends you have at least 20% free space in order to be able to defragment
- Is a multi-pass defragger - my require many passes inorder to defragment
- Cannot be natively "network scheduled"
- Requires admin privs in order to run.

To get around these limitations, you need to get a commercial defrag utility - of which there are several:

PerfectDisk - www.raxco.com
Diskeeper - www.execsoft.com
O&O Defrag - www.oo-defrag.com
SpeedDisk - www.symantec.com
Defrag Commander - www.winternals.com

If you want more detailed information on the features and capabilities of the above defraggers, please let me know.- Greg/Raxco Software

Disclaimer: I work for Raxco Software, the maker of PerfectDisk, as a systems engineer in the support department.

This discussion is closed to new replies.