How to schedule a weekly defragmentation

Weekly Defragmentation - Screenshot

Does is it seem like  your computer  runs slower then when you bought it.

One of the biggest factors that slows down your computer’s performance is fragmentation, a situation that occurs over time, in which files on your hard drive become divided into small pieces. Your computer must read a file to open, save, or close it. So when it reads each piece of a fragmented file separately, the effect is that the file can seem “slow” when you’re working with it.

Defragmenting your hard drive is the process of putting all the scattered pieces of files back together. Microsoft Windows XP includes a tool that will defragment your hard drive for you. To keep your system performing well, it’s a good idea to have Windows XP automatically defragment your hard drive every week.


To schedule a weekly defragmentation follow the steps below:


1.Click Start, and then click Control Panel.

Click Start then click Control Panel - Screenshot

2.Click Performance and Maintenance.

Click Performance and Maintenance - Screenshot

3.Under or pick a Control Panel icon, click Scheduled Tasks.

Pick a Control Panel icon - click Scheduled Tasks - Screenshot

4.In the Scheduled Tasks window, double-click Add Scheduled Task.

Scheduled Tasks - Screenshot

5.In the Scheduled Task Wizard, click Next.

Scheduled Task Wizard - Screenshot

6.Click Browse.

Click Browse - Screenshot

7.In the File name box, type %systemroot%\system32\defrag.exe, and then click Open.

File name box - Screenshot

8.Under Perform this task, click Weekly. Then, click Next.

Click Weekly Then, click Next - Screenshot

9.Set the time and day of the week you would like to defragment your hard drive. For best results, choose a time when your computer will be on but you will be away from it. Click Next.

Set the time and day of the week - Screenshot

10.Type your password in both the Enter the password and Confirm password boxes. Then, click Next.

Enter the password and Confirm password - Screenshot 11.Select the Open advanced properties for this task when I click Finish check box, and then click Finish.

Open advanced properties for this task - Screenshot

12.In the Run box, add C: to the existing command. Make sure you include a space before the “C:”. Then, click OK.

In the Run box, add C to the existing command - Screenshot

13.In the Set Account Information dialog box, type your password in both the Password and Confirm password boxes. Then, click OK.

Set Account Information  dialog box - Screenshot

Windows XP will defragment your hard drive at the time you have scheduled. During defragmentation, a black window will open. If you happen to be working at your computer when the window opens, you can ignore it. The window will automatically disappear when defragmentation is complete. You can use other programs during defragmentation, but you may prefer to schedule defragmentation at a time when you won’t be using your computer.

Defragmentation works best when you have plenty of free space on your hard drive.

VN:F [1.9.22_1171]
Rating: 4.3/5 (2 votes cast)
Print Friendly

Click here to submit your review.

Submit your review
* Required Field

2 Responses to “How to schedule a weekly defragmentation”

  1. somerset says:

    My scheduled defrags never ran properly and completed. I now run a fully automatic defrag program that runs in the background and defrags whenever required very efficiently.

  2. Rolf says:

    Hi somerset, Yes there is a lot of software(s) on the market these days that do the job in the background. So what kind of defrag software are you using?

Please Feel Free To Have Your Say

Before you submit your comment: