Compatible Support Forums: How do I schedule a Defrag?

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How do I schedule a Defrag?

#1 User is offline   Arin 

  • addict
  • Group: Members
  • Posts: 449
  • Joined: 05-March 00

Posted 17 March 2005 - 08:30 PM

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.
0

#2 User is offline   Wilhelmus 

  • old hand
  • Group: Members
  • Posts: 1032
  • Joined: 21-December 04
  • LocationFinland

Posted 17 March 2005 - 08:48 PM

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>
0

#3 User is offline   Arin 

  • addict
  • Group: Members
  • Posts: 449
  • Joined: 05-March 00

Posted 17 March 2005 - 10:18 PM

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.
0

#4 User is offline   theefool 

  • enthusiast
  • Group: Members
  • Posts: 352
  • Joined: 28-March 03

Posted 18 March 2005 - 12:12 AM

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
0

#5 User is offline   Arin 

  • addict
  • Group: Members
  • Posts: 449
  • Joined: 05-March 00

Posted 18 March 2005 - 01:30 AM

laugh thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users