Home » Tips and Tricks

Tip: Auto Defrag Hard Drive

29 May 2008 1,306 views 6 Comments

defrag03

Defragmenting your hard drive is something that should be done on a regular basis, twice a month at least, more if you regularly download files or use intensive applications like Adobe Photoshop or Premier.

Defragmenting can be a time consuming process and remembering to do it is another problem. You can setup up Windows XP to auto Defrag your hard drive on a set schedule. Here’s how to do it.

1. Open Control Panel and  click on Performance and Maintenance and then click Scheduled Tasks.

2.  Double click on Add Scheduled Task, this will open up the task wizard, click Next.

3. Click Browse, navigate to the C:\windows\system32 folder, find and select Defrag.exe, and click Open.

4. Here you will be able to setup a schedule to Defrag your hard drive.

5. Before you click on FINISH click on the box to open advanced properties for this task. (If you didn’t click on the box to open advanced Properties you can right click on the task and go to properties.)

6. At the RUN line, under advanced properties enter C:\windows\system32\Defrag.exe c:

defrag02

7. Click OK and then you are done. The task will run at the specified time.

 

help

If you have any questions regarding this topic you can post them at the Forum 

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

6 Comments »

  • Lena said:

    This is useful. I probably knew it could be done, but finding out how and remembering to do it is another issue. Thanks!

  • Michael (author) said:

    Thanks, if you ever need help with it, just let me know. :-)

  • aqi said:

    hi..may i ask.do u know how to set auto defrag programmatically using c/c++?

  • Michael (author) said:

    Do you mean creating a program in C+ to run auto run defrag?

  • aqi said:

    yeah, how to create a program in c++ to run auto defrag

  • Michael (author) said:

    Hi, sorry I don’t know how to create a program in C*. Best of luck.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.