Automatically Defrag





Introduction: Automatically Defrag

Defragmenting a hard drive is important to the stability and speed of a computer, but it takes a long time to do and you have to remember to do it. You can buy programs to do it for you, but why pay for it when Windows XP will do it for you for free?

Step 1: Go to Scheduled Tasks

First, you need to go to Start>All Programs>Accessories>System Tools>Scheduled Tasks

Step 2: Add a Task

Next, double click on "Add Scheduled Task."

Step 3: Whatever You Want

Then, click "Next" and click on whatever program you want. It isn't important what you choose because we will have to change it later. Click next and enter the title, time, day and frequency of this task. Then it will ask for your password, I read somewhere that you need a windows password for this to work but I'm not sure if this is true.

Step 4: Almost Done

After you have entered your password and clicked next it will say "You have successfully scheduled the following..." On this screen make sure you check the checkbox that says "Open advanced properties for this task when I click Finish." Then click "Finish."

Step 5: Last Step

Finally, change the "Run:" textbox to say "defrag c:" and click "OK." Now when it runs the task it will run "defrag c:" and it will defrag your C drive.

Step 6: Comments

This is my first instructable so please be kind with your comments, but also please be constructive. Thanks!



    • Trash to Treasure

      Trash to Treasure
    • Science of Cooking

      Science of Cooking
    • Paper Contest 2018

      Paper Contest 2018

    We have a be nice policy.
    Please be positive and constructive.




    I didn't know you could do that. Awesome!! Saves me having to do it.

    Actually, I also automatically defrag my ant farm too.

    lol that was good

    I love this friend never heard of this untill today when i said he needed to do this...this would be perfect for him

    How is that clear? How is it pointless? I only knew to defrag my computer a few years ago, but I've been using computers since I was 10 or so(I'm 18 now). It's really not that common of knowledge. How is that clear? It's simple to begin with, and so far as i can tell, he didn't make a mistake anywhere. You sir, suck.

    Yes, very good Instructable, good use of graphics to highlight and assist the reviewer. However I will disagree with you on a certain point. Where I agree Defrag is an important tool, it is obvious from your screenshot in the introduction that your root drive didn't really need defragging ( but I understand that is was for an example so not to worry) My work laptop has data flowing on and off it as I do a lot of SQL work and I very rarely defrag it, possibly every two months, if that. Modern Operating Systems are very forgiving and we have massive file systems and RAM. About 16 years ago we were using 4 Mb of RAM and 100Mb hard drives, that was when defragging was important. Having said that, I suggest that you do this scheduled task while you are away, possibly at night so it does take up system resources and your time. Good luck, keep 'em coming

    Yeah, I don't defrag much, maybe once or twice a year, but that's only after I defraged my drives in the first place. (I have used drives from other people's computers that I take off the street, unfortunately only 42 gigs worth.) Apparently, not many people know what defragging is (excluding most of us here on instructables) So yeah, It's pretty important.

    I haven't defraged in about 5 years. thats when I dumped windows for linux which uses intelegent filesystems that don't get fragmented in the first place. :)

    Wait another 16 years. In retrospect, today's "massive" will seem as quaint as 4mb of RAM.