Microsoft KB Archive/305781

= How To Analyze and Defragment a Disk in Windows XP =

Article ID: 305781

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft Windows XP Professional Edition
 * Microsoft Windows XP Home Edition

-



This article was previously published under Q305781



IN THIS TASK
SUMMARY
 * Analyze a Disk Volume
 * Defragment a Disk Volume
 * Troubleshooting



SUMMARY
This step-by-step guide describes how to perform maintenance on disk volumes on Windows XP-based computers. Analyzing and defragmenting disks can help to preserve the performance and general operation of the system.

back to the top

Analyze a Disk Volume
Because defragmenting a disk volume can take a long time (depending on the size of the volume, the number of files, the percentage of fragmentation, and the availability of system resources), you should analyze volumes before defragmenting them to decide whether or not it is worthwhile to take the time to run the defragmentation process.

To check for fragmented files and folders on a volume:
 * 1) Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Disk Defragmenter.
 * 2) Click the volume that you want to analyze.
 * 3) Click Analyze to begin the analysis.
 * 4) Review the results of the analysis after it is complete by clicking View Report. If the analysis tool recommends that the volume be defragmented, follow the steps in the next section.

back to the top

Defragment a Disk Volume

 * 1) If the Disk Defragmenter tool is not already running, click Start, point to All Programs, point to Accessories, point to System Tools, and then click Disk Defragmenter.
 * 2) Click the volume that you want to defragment.
 * 3) Click Defragment to begin the operation.
 * 4) Review the progress of the operation in the Defragmentation Display window. Fragmented files on the disk appear in red, contiguous files are blue, and system files are green. The goal is to eliminate most of the red in the window.

back to the top

Troubleshooting
Although any user can gain access to the Disk Defragmenter tool, the ability to analyze or defragment a volume requires administrator privileges. To run the defragmentation operation, you must be logged on as an administrator or as a member of the local Administrators group.

back to the top

Keywords: kbhowto kbhowtomaster KB305781

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.