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

Changing User Permissions for a File

All objects on your computer (e.g., files) have permissions that allow or deny various types of access. This tip shows ...

Discover More

Creating Your Own File Folders

In the general course of using your system, you will likely create many new files. It's a good idea to organize your ...

Discover More

Sharing a Windows Theme with a Friend or Coworker

Being able to customize your theme is a great way to personalize your computer, but what if you want to share your theme ...

Discover More
More WindowsTips

Using Powercfg to Query an Existing Power Scheme

This tip shows you how to use the command-line Powercfg utility to query a given power scheme from your current environment.

Discover More

Connecting a Bluetooth Speaker

Bluetooth speakers allow you to play your computer's audio wirelessly. Connecting a Bluetooth speaker to a ...

Discover More

Changing the MAC Address for a Network Adapter

MAC addresses are used to uniquely identify devices on your network, such as a network adapter. Here's how you can modify ...

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 two more than 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