PDA

View Full Version : schedule disk defragmentation


sami
December 4th 05, 05:41 PM
How can I schedule disk defrag every month on my laptop Windows XP home

Dixonian69
December 4th 05, 05:49 PM
Start>All Porgrams>Accessssories>System Tools>Scheduled Tasks

"sami" wrote:

> How can I schedule disk defrag every month on my laptop Windows XP home

Torgeir Bakken \(MVP\)
December 4th 05, 06:13 PM
sami wrote:

> How can I schedule disk defrag every month on my laptop Windows XP home

Put defrag.exe in a scheduled task running under an administrator
account that have a password set.

In the link below you will find the following vbscripts (that runs
defrag.exe):

defrag_all.vbs - Defrag All Hard Drives - Can be run as a scheduled task
Does not create an error log

defrag_all2.vbs - Defrag All Hard Drives - Can be run as a scheduled task
Creates an error log and displays the error log when complete.

http://www.dougknox.com/utility/scripts_desc/defrag_all.htm



--
torgeir, Microsoft MVP Scripting, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Wesley Vogel
December 4th 05, 06:39 PM
How to Automate Disk Defragmenter Using Task Scheduler Tool in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;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.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In ,
sami > hunted and pecked:
> How can I schedule disk defrag every month on my laptop Windows XP home

Google