Home · Compatibility Lists · Support Forums · FAQ · News Archive · Articles · Submit News/Upcoming News
NT Compatible
advertisement


Forum overview » Customization & Tweaking » How do I schedule a Defrag? (1/1)

Reply New Poll

How do I schedule a Defrag?
Author Message
Arin
Senior Member


Posts: 442
From: Harrisburg PA
Joined: 2000-03-04
Member No.: 2315
Icon 2005-03-17 12:30:25

I would like to schedule my computer to do an automatic defrag on my hardrives around 4am every day. I have 5 huge drives and if I could keep them defragged each day (or every few days) it would be nice. I'm unsure how to schedule these tasks. Does anyone know how?

Windows XP, SP2.

Post #160082
Edit Quote Print Solution Plonk Delete
Wilhelmus
Senior Member


Posts: 836
From: Finland / Suomi
Joined: 2004-12-21
Member No.: 51792
Icon 2005-03-17 12:48:33

Create new scheduled task.
Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks. Then Add Scheduled Task.
Follow the instructions in the Add Scheduled Task wizard.

You'll probably need first to browse for executable.
the defrag.exe is in C:\Windows\System32.

Then modify the command to:
"C:\Windows\System32\defrag.exe C:"
This will defrag drive c:


And then there are some defragging utilities which have scheduler application with them. E.g. Raxco's Perfect Disk, etc.

<edit>
How to use the Windows Task Scheduler: (w/ screenshots)
http://www.iopus.com/guides/winscheduler.htm
</edit>

Post #160083
Edit Quote Print Solution Plonk Delete
Arin
Senior Member


Posts: 442
From: Harrisburg PA
Joined: 2000-03-04
Member No.: 2315
Icon 2005-03-17 14:18:51

How do I tell it to run anyways. I have one drive that is about 8% free and I want it to run anyways instead of stopping.

Post #160087
Edit Quote Print Solution Plonk Delete
theefool
Senior Member


Posts: 352
Joined: 2003-03-28
Member No.: 19223
Icon 2005-03-17 16:12:51

defrag /?
Usage:
defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

So, defrag c: -f

Post #160091
Edit Quote Print Solution Plonk Delete
Arin
Senior Member


Posts: 442
From: Harrisburg PA
Joined: 2000-03-04
Member No.: 2315
Icon 2005-03-17 17:30:10

thanks

Post #160093
Edit Quote Print Solution Plonk Delete

Related Threads RSS


Reply New Poll

Forum overview » Customization & Tweaking » How do I schedule a Defrag?

Legend
View   View profile
Solved   Mark this post as solution (topic starter only)
Quote   Reply with quote to post
Edit   Edit post
Delete   Delete post (admin only)

Moderator: Open / Close / Bump / Delete / Move / Merge

All products mentioned are registered trademarks or trademarks of their respective owners.
© 1998-2009 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Website powered by Esselbach Storyteller CMS System