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

Using Two Monitors with Windows

Windows is great about letting you work on multiple things at the same time. Often, however, you end up with so many ...

Discover More

Using Windows with a Projector

If you want to show what's on your computer screen through a projector so that others can see it, the process is about as ...

Discover More

Adding Locations to the Search Index

You can fine-tune Indexed Searches by adding locations to the search index. This tip tells you how.

Discover More
More WindowsTips

Adjusting Mouse Click Sensitivity

Mouse not working as you expect? Here are a few things that may get things back to the way they should be.

Discover More

Using Powercfg to Export and Import a Power Scheme

You can export to a file your power schemes and then import them later on. The only caveat is that you must be running as ...

Discover More

Determining the MAC Address for a Network Device

MAC addresses are used to uniquely identify devices attached to your network. If you need to figure out what MAC address ...

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 0 + 7?

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