PDA

View Full Version : scheduling defrag


Kelvin
December 13th 03, 12:10 AM
How do you set up Win XP to run a monthly defrag and
scandisk on a computer. I can't find these settings under
Scheduled tasks

Don
December 13th 03, 12:10 AM
For defrag, at least, (I've not tried scandisk this way) you can create a
scheduled task with a defrag command in the "run" box. Mine reads like this:
C:\WINDOWS\system32\defrag.exe c: -f

In the above example, "c:" is the drive to be defragmented. I have created a
separate scheduled task for each drive. For instance, to defrag drive "d:" I
have a task programmed as follows:
C:\WINDOWS\system32\defrag.exe d: -f

The "-f" is optional. I use it because it "forces" a defrag of a drive even
if free space is below 15%.

Keep in mind that only one defrag window can be open at a time, so you need
to schedule them making sure they don't overlap.

Hope this helps.

"Kelvin" > wrote in message
...
> How do you set up Win XP to run a monthly defrag and
> scandisk on a computer. I can't find these settings under
> Scheduled tasks

scott
December 13th 03, 12:12 AM
but where does the schedulling come into play?
>-----Original Message-----
>For defrag, at least, (I've not tried scandisk this way)
you can create a
>scheduled task with a defrag command in the "run" box.
Mine reads like this:
> C:\WINDOWS\system32\defrag.exe c: -f
>
>In the above example, "c:" is the drive to be
defragmented. I have created a
>separate scheduled task for each drive. For instance, to
defrag drive "d:" I
>have a task programmed as follows:
> C:\WINDOWS\system32\defrag.exe d: -f
>
>The "-f" is optional. I use it because it "forces" a
defrag of a drive even
>if free space is below 15%.
>
>Keep in mind that only one defrag window can be open at a
time, so you need
>to schedule them making sure they don't overlap.
>
>Hope this helps.
>
>"Kelvin" > wrote in message
...
>> How do you set up Win XP to run a monthly defrag and
>> scandisk on a computer. I can't find these settings
under
>> Scheduled tasks
>
>
>.
>

Don
December 13th 03, 12:13 AM
Sorry. Let me start from the beginning. Open the Scheduled Tasks folder in
Control Panel. Double click Add Scheduled Task. When it gives a list of
programs to choose, click Browse and find C:\WINDOWS\system32\defrag.exe.
Finish the rest of the "wizard" as you wish, being sure to check the option
to "open advanced properties" when finished. In advanced properties, change
the Run box to read "C:\WINDOWS\system32\defrag.exe c: -f" (without
quotations) or change "c:" to whichever drive you want to defrag.

Another way to do it (my preference, actually) ... Open the Scheduled Tasks
folder and copy one of the tasks to the same folder, so you have duplicates
of the same task. (I usually hold Ctrl and drag.) Then rename the copy to
reflect the new task you are creating. Then double click on it, which will
open properties. In properties, change the settings to coincide with the new
task you want to schedule. In this case, type
"C:\WINDOWS\system32\defrag.exe c: -f" in the "run" box and change the
scheduling details.

Hope this helps.

"scott" > wrote in message
...
> but where does the schedulling come into play?
> >-----Original Message-----
> >For defrag, at least, (I've not tried scandisk this way)
> you can create a
> >scheduled task with a defrag command in the "run" box.
> Mine reads like this:
> > C:\WINDOWS\system32\defrag.exe c: -f
> >
> >In the above example, "c:" is the drive to be
> defragmented. I have created a
> >separate scheduled task for each drive. For instance, to
> defrag drive "d:" I
> >have a task programmed as follows:
> > C:\WINDOWS\system32\defrag.exe d: -f
> >
> >The "-f" is optional. I use it because it "forces" a
> defrag of a drive even
> >if free space is below 15%.
> >
> >Keep in mind that only one defrag window can be open at a
> time, so you need
> >to schedule them making sure they don't overlap.
> >
> >Hope this helps.
> >
> >"Kelvin" > wrote in message
> ...
> >> How do you set up Win XP to run a monthly defrag and
> >> scandisk on a computer. I can't find these settings
> under
> >> Scheduled tasks
> >
> >
> >.
> >

Scott
December 13th 03, 12:21 AM
Thanks! that was easy enaough!!
We'll see if it works!
>-----Original Message-----
>Sorry. Let me start from the beginning. Open the
Scheduled Tasks folder in
>Control Panel. Double click Add Scheduled Task. When it
gives a list of
>programs to choose, click Browse and find
C:\WINDOWS\system32\defrag.exe.
>Finish the rest of the "wizard" as you wish, being sure
to check the option
>to "open advanced properties" when finished. In advanced
properties, change
>the Run box to read "C:\WINDOWS\system32\defrag.exe c: -
f" (without
>quotations) or change "c:" to whichever drive you want to
defrag.
>
>Another way to do it (my preference, actually) ... Open
the Scheduled Tasks
>folder and copy one of the tasks to the same folder, so
you have duplicates
>of the same task. (I usually hold Ctrl and drag.) Then
rename the copy to
>reflect the new task you are creating. Then double click
on it, which will
>open properties. In properties, change the settings to
coincide with the new
>task you want to schedule. In this case, type
>"C:\WINDOWS\system32\defrag.exe c: -f" in the "run" box
and change the
>scheduling details.
>
>Hope this helps.
>
>"scott" > wrote in message
...
>> but where does the schedulling come into play?
>> >-----Original Message-----
>> >For defrag, at least, (I've not tried scandisk this
way)
>> you can create a
>> >scheduled task with a defrag command in the "run" box.
>> Mine reads like this:
>> > C:\WINDOWS\system32\defrag.exe c: -f
>> >
>> >In the above example, "c:" is the drive to be
>> defragmented. I have created a
>> >separate scheduled task for each drive. For instance,
to
>> defrag drive "d:" I
>> >have a task programmed as follows:
>> > C:\WINDOWS\system32\defrag.exe d: -f
>> >
>> >The "-f" is optional. I use it because it "forces" a
>> defrag of a drive even
>> >if free space is below 15%.
>> >
>> >Keep in mind that only one defrag window can be open
at a
>> time, so you need
>> >to schedule them making sure they don't overlap.
>> >
>> >Hope this helps.
>> >
>> >"Kelvin" > wrote in message
>> ...
>> >> How do you set up Win XP to run a monthly defrag and
>> >> scandisk on a computer. I can't find these settings
>> under
>> >> Scheduled tasks
>> >
>> >
>> >.
>> >
>
>
>
>.
>

Google