PDA

View Full Version : Schedule Defrag


nemy35
May 12th 07, 05:24 AM
I would like to schedule Windows defrag to defragment my hard drive, using Task Scheduler. How do I set that up since switches aren't allowed?

Rock
May 12th 07, 05:41 AM
"nemy35" > wrote
I would like to schedule Windows defrag to defragment my hard drive, using
Task Scheduler. How do I set that up since switches aren't allowed?

http://www.informationweek.com/story/showArticle.jhtml?articleID=15600170

http://www.microsoft.com/windowsxp/using/setup/learnmore/tips/gehrke1.mspx

How to Automate Disk Defragmenter Using Task Scheduler Tool in Windows XP
http://support.microsoft.com/kb/555098

--
Rock [MS-MVP User/Shell]

Wesley Vogel
May 12th 07, 06:27 PM
How to Automate Disk Defragmenter Using Task Scheduler Tool in Windows XP
http://support.microsoft.com/kb/555098

There are two defrag tools in XP.

dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe is the command line tool that runs from the command prompt.

defrag.exe is the one that you can schedule.

Description of the New Command Line Defrag.exe Included with Windows XP
http://support.microsoft.com/kb/283080

How To Schedule Tasks in Windows XP
http://support.microsoft.com/kb/308569

How to Defragment Your Disk Drive Volumes in Windows XP
http://support.microsoft.com/kb/314848

You can also download defrag_all2.vbs.

defrag_all2.vbs - Defrag All Hard Drives - Can be run as a scheduled task
Does not create an error log
© Doug Knox - rev 03/29/2002
http://www.dougknox.com/utility/scripts_desc/defrag_all.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In ,
nemy35 > hunted and pecked:
> I would like to schedule Windows defrag to defragment my hard drive,
> using Task Scheduler. How do I set that up since switches aren't
> allowed?

Google