Automatically Defrag

5,059

16

25

Intro: 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!

Share

    Recommendations

    • Fix It! Contest

      Fix It! Contest
    • Audio Contest 2018

      Audio Contest 2018
    • Metalworking Contest

      Metalworking Contest

    25 Discussions

    0
    None
    memyselfand1

    9 years ago on Introduction

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

    0
    None
    lmnop

    11 years ago

    Actually, I also automatically defrag my ant farm too.

    1 reply
    0
    None
    Ursell

    11 years ago on Introduction

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

    0
    None
    RobbyTheSheef

    11 years ago

    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.

    0
    None
    Jezza Bear

    11 years ago

    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

    3 replies
    0
    None
    T3h_MuffinatorJezza Bear

    Reply 11 years ago

    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.

    0
    None
    johnson_steveT3h_Muffinator

    Reply 11 years ago

    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. :)

    0
    None
    jeffreyfJezza Bear

    Reply 11 years ago

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

    0
    None
    tdstr

    11 years ago

    A couple of things 1 - defraging is VERY important to PC performance. 2 - Operation Visine - get the red out. If you see red, then defrag. 3 - start+run+defrag c: -f is much simpler way defraging the HD. 4 - defrag c: -f is much easier to schedule.

    0
    None
    okto

    11 years ago

    How to automatically defrag: 1. Buy a Mac. 2. Nothing.

    0
    None
    MrK

    11 years ago

    Much more easy:

    Use JKDefrag, it has a "screensaver version", so it keeps your disks defragmented

    Get it here
    http://www.kessels.com/JkDefrag/

    Free (released under the GNU General Public License) disk defragment and optimize utility for Windows 2000/2003/XP/Vista/X64. Completely automatic and very easy to use, fast, low overhead, with two optimization strategies, and can handle floppies and USB disks/sticks. Included are a Windows version, a commandline version (for scheduling by the task scheduler or for use from administrator scripts), a screensaver version, a DLL library (for use from programming languages), and versions for Windows X64.

    0
    None
    vader406

    11 years ago

    Hey Imnop! What window xp theme you running?

    1 reply
    0
    None
    vincent hua

    11 years ago

    defrag take too much time...what if the hard disc is huge say 1 terabyte? is there any better tool?

    1 reply
    0
    None
    lmnopvincent hua

    Reply 11 years ago

    That is what is good about this method, as Jezza Bear pointed out you can set the task to run at night or sometime when you are not using your computer.

    0
    None
    crestind

    11 years ago

    Very useful! What exactly are unmovable files though. They seem to be quite movable. And... How did you change the window color? The WMCenter standard is blue, and yours is black.