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 the Sort Command

Sorting data is a common task even of end users. Fortunately, The Windows command line provides us with a Sort utility so ...

Discover More

Regaining Control of Your System

The Windows Task Manager is a useful utility that provides information about what's running on your system. You can also ...

Discover More

Displaying the Home Button in Microsoft Edge

By default, Microsoft Edge does not display a Home button on its toolbar. If you like having the Home button visible, ...

Discover More
More WindowsTips

Disabling Automatic Driver Installation

Whenever you plug something into your computer, Windows dutifully tries to find and install the driver for your new ...

Discover More

Quickly Reset Your Graphics Driver

Resetting your graphics driver can help when your computer is facing issues. Execute a quick rest of your computer's ...

Discover More

Using Powercfg to Change the Active Power Scheme

You can easily change which power scheme is active by using the SetActive switch. This tip shows you how.

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

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