Ask Leo!

How do I schedule Disk Defragmenter to run with the Windows Task Scheduler?

Home » Windows » Windows Programs

Comments

Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.

Comment Page:  1  |  2 

One of the cool aspects of Windows Vista: this is a default behavior. Once a week the disk defragger will kick off - 4:00 a.m. on Sunday morning.

The only drawback: the cute progress window (showing the fragmentation as the tool ran) has been eliminated in Vista... nothing to watch! If you like metrics, you can run defrag at the command prompt with the -a -v options.

The Vista version uses fewer system resources and will operate with a drive that is nearly full. Previous versions required 15 to 20 percent empty space on the disk.

Posted by: dave b at May 16, 2007 9:52 PM

I have wanting to do this for awhile. The problem is I am running windows 2000 and when I click on "program files" there is no "system 32".

Do these instruction work with windows 2000?


Alan
=====

Posted by: al at May 18, 2007 7:16 PM

What a convoluted way to schedule the Windows defragmenter which in my opinon as an archaic piece of software.

I recommend that you ourchase the latest Diskeeper 2007 from www.diskeeper.com You can try it for 30 days before buying.

Once you install Disjkeper 2007 it runs automatically in the background allof the time without interuption.You do not have to schedule it or stop working as you have to do with the Windows XP defragmenter.I am practically fragment free without doing anyhting. There are other nice things that you can also do with Diskeeper 2007. List Prices range from $29.95 to $129 for the different versions. I use the Diskeeper 2007 Premir Pro. It is fabulous. While you are at it also look at Diskeeper Undelete

Arthur F. Billy

Posted by: Dr. Arthur Billy at May 19, 2007 10:35 AM

I followed directions to add the frag log to the running of the defrag routine. It was put into the schedule to run in the early am on Monday (yesterday). When the log was not created, I started investigating. I tried to run defrag from the run box in my XP Service Pack 2 system. The black box flashed momentarily and then vanished. This happened two or three times. I then ran the defrag routine that is a part of system tools and that said I didn't need to run it, but I did anyway; it took maybe an hour, and then finished fine. Every since service pack 2 certain things I have tried have acted like that: the black run box starting and then quitting without any messages or indications. I suspect there is a fundamental problem with the OS caused by service pack 2, but have no way of knowing what it is and of course of being able to correct it. Is this something that you could address?

Posted by: David Heym at May 22, 2007 8:07 AM

Follow up to previous query about defrag. Re: your article on "When I use start-run and type in a command, why does a window just flash and disappear?" Which is what was happening to me. So I followed your directions, using cmd and the window did not disappear. Then when I put in the defrag command exactly as you have it. I get the message: "access is denied". When I followed the steps above it never asked for any password. I'm the only one using my machine.

Posted by: David Heym at May 22, 2007 8:52 AM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Access denied implies to me that you need to be logged in as administrator to
do the defrag.

Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)

iD8DBQFGU3V8CMEe9B/8oqERAs+3AJ0SjhkTgHefkimM9Xzs1NApmec9/ACbBb77
14Ddmo+QnAo+kXNIhZIQUXg=
=L3FS
-----END PGP SIGNATURE-----

Posted by: Leo A. Notenboom at May 22, 2007 3:58 PM

Wow, incredible astroturfing from the people at Diskeeper. Could you make more obviously biased comment spam? Not a chance I'd ever try, let alone buy, your product now (and most of your comments are wrong). Diskeeper: either your sales policy is sleazy or an individual there is.

Posted by: Troy at June 5, 2007 7:02 PM

Forgive me if I'm stating the obvious and/or not thinking properly...
I think the reason it flashes up and disappears again is 'cause it isn't running. It requires for you to specify the drive after typing in defrag. This is not specified. I changed the loggeddefrag file to "defrag c: >c:\defrag.log 2>&1" but it still didn't seem to work. Can anyone advise me?

Posted by: Katie Heath at June 27, 2007 12:38 AM

"Wow, incredible astroturfing from the people at Diskeeper. Could you make more obviously biased comment spam? Not a chance I'd ever try, let alone buy, your product now (and most of your comments are wrong). Diskeeper: either your sales policy is sleazy or an individual there is.

Posted by: Troy at June 5, 2007 07:02 PM"

Dear Troy

Of course you do realise when you state "Not a chance I'd ever try, let alone buy, your product now" that the Windows defrag routine is a cut-down version of Diskeeper. Let us know how you get on with the uninstall.

Cheers

Douglas

Posted by: Douglas Gray at October 19, 2007 6:10 AM

I tried to do this, and it says I do not have permission to set the scheduled task, what do I do?

Posted by: darlene at November 3, 2007 5:33 PM
Comment Page:  1  |  2 
Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.
Post a Comment

««   »»

Ask Your Question:


ask-leo.com
Web

Popular & Hot

Stay Informed

Weekly Newsletter

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!