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 Processes in the Task Manager

Your computer is typically running scores of processes behind the scenes of the relatively few windows you may have open. ...

Discover More

Using Notepad

The Notepad editor is about as old as Windows itself, yet it still has its uses even today. Here are some ideas on how to ...

Discover More

Running a Batch File at a Scheduled Time

Once you become comfortable with batch files, chances are that you'll want to use them to perform various system ...

Discover More
More WindowsTips

Using Powercfg to Duplicate an Existing Power Scheme

The Powercfg utility allows you to control how power is used on your system. This tip shows you how to use the ...

Discover More

Disabling a Laptop's Touchpad

If you never use your laptop's touchpad, you may want to disable it so that you don't accidentally effect unintentional ...

Discover More

Choosing How to Use Multiple Monitors

Do you have multiple monitors (or a projector) hooked up to your system? Here's how to utilize that second display device ...

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 nine minus 5?

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