Determining If a Drive Should be Defragmented

Written by Barry Dysert (last updated March 21, 2016)

2

Disk fragmentation can adversely affect your system's performance. For this reason it's usually a good idea to have Windows automatically defragment your drive on a regular basis. If you want to check to see if your disk should be defragmented, though, use the search capabilities of your version of Windows to search for "defrag." In the results you'll see either "Disk Defragmenter" (Windows 7) or "Defragment and Optimize Drives" (later versions of Windows). Choose the option according to your version, and Windows displays the Disk Defragmenter dialog box (Windows 7) or the Optimize Drives dialog box (later versions of Windows). (See Figure 1.)

Figure 1. The Optimize Drives dialog box.

The Disk Defragmenter dialog box shows you what percentage of your hard drive is fragmented. In the example shown, my disks are 0% fragmented (no doubt thanks to the fact that they automatically get defragmented every Wednesday morning at 1:00). Clearly, they don't need to be defragmented, but you can still analyze the level of fragmentation if you want to by clicking the Analyze Disk button (Windows 7) or the Analyze button (later versions of Windows).

After several minutes, the screen will be updated to show the level of fragmentation that exists, and if it's too fragmented to suit you (e.g., if it's more than, say, 20% fragmented), clicking the Defragment Disk button (Windows 7) or the Optimize button (later versions of Windows) will cause Windows to run the defragment process right away.

There are freeware products that visually show you the fragmentation of your disk. The Defraggler product from Piriform is one of the better ones. Regardless of whether you use the built-in Windows defragmentation tool or another one, it's a good practice to run a defragment process on your disks regularly.

 This tip (5829) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Understanding and Changing AutoPlay Settings

You can configure Windows to perform some tasks automatically. This includes telling it what to do whenever Windows ...

Discover More

Changing Font Size in a Command Prompt Window

If you work at the command level very much, you may want to change the fonts that are used. You can control what ...

Discover More

Exporting a Portion of the Registry

Windows wouldn't function if it weren't for the Registry, and many system tweaks involve editing it. Before making such ...

Discover More
More WindowsTips

Specifying How Clicking Works

Do you want to fundamentally change how Windows responds to mouse clicking? You can do so by following the steps outlined ...

Discover More

Wiping a Drive

Want to easily improve the security of your old data? Here's an addition to the venerable format command that can help.

Discover More

Updating a Device Driver

If you attach a new device to your computer or need to update a current device's driver, this tip provides the general ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is six minus 4?

2016-03-21 09:08:26

Henry Noble

This Tip is good, but omits a vital piece of information. Limit defragging to hard disks, i.e. the heavy, old-style kind with rotating platters. Don't defrag solid state disks.
Because data on a SSD is retrieved electronically, rather than mechanically, defragging has little impact on access time. It does, however, use up some of the limited read/write cycles of the flash memory in the drive.
Newer versions of Windows will usually omit SSDs from automatic defragging, but it is wise to verify the configuration.


2016-03-21 09:00:48

WyoSteve

NEVER defrag a SSD (solid state drive). It is not only unnecessary, it causes unneeded wear and tear on the drive. You should defrag mechanical hard drives when it needs it. Most of the time your computer will try to not let you try to defrag a SSD but that is not guaranteed.


Newest Tips