3 Ways to Defrag Hard Disk on Window 7 PC

Learn to defrag hard disk in Windows 7 in 3 ways with two Windows tools and a free defrag tool.

Lucas

By Lucas / Updated on May 12, 2023

Share this: instagram reddit

Why need to defrag hard disk Windows 7?

Maybe you know that too many installed programs on the disk will cause the low performance of your disk, or insufficient disk space may cause your computer to freeze.

But, do you know disk fragmentation? Do you know that disk fragmentation will not only slow down the system but will also accelerate the physical life of the hard disk and form more bad sectors? Accelerate the physical life?

1. Where does disk fragment come from?

In theory, the files should be arranged compactly without gaps and arranged in order of storage time. When you need to boot a program, the disk component will seek all relevant files on the whole disk.

However, the working principle of HDD makes it only arrange files discontinuously and disorderly. The meanwhile, users often modify the file, and the new content isn’t added directly to the location of the original file, but the file will be scattered and saved to different places on the disk.

These scattered files are called fragments.

Storage ways

2. How does fragment affect PC/disk performance?

Since the scattered files are continuously stored in contiguous clusters on the disk, the system will add a contact mark between the two segments.

Too many fragments are generated, and other discontinuous files increase accordingly. When the system is performing file operations, the reading efficiency is greatly reduced due to the repeated search for contact files.

The intuitive reflection that follows is the system response delay, then the results are the blue screen of death, file loss, and damage, or important data that cannot be repaired

PC ran into problem

3. What does defragment do?

The disk defragmentation program is to put a large number of scattered files at the end of the disk and then write them into the files associated with it. In the end, there are no scattered files on the disk.

This procedure is to rearrange scattered files to decrease searching time. Therefore, the performance of the hard drive will be better, and frequent cleaning of disk fragments will also keep the hard disk in good condition and prolong its service life.

How to defragment hard disk in Windows 7?

Since defragmentation is a good method to maintain the disk, in this part, we’ll show how to defrag a hard disk in Windows 7 with Windows tools and introduce you to a free defrag tool.

Defragment via 2 Windows tools

1. Defrag with Disk Defragmenter

Step 1. Search “Defrag” in the search bar, and click “Disk Defragmenter”

Windows 7 disk defragmenter

Step 2. Select the target drive, and choose to analyze or defrag directly.

Windows 7 defragmenter

Step 3. And you can click “Configure schedule” to set a schedule to automatically run the defragmenter regularly.

Step 4. Then choose the frequency, day, time, and disks. Click “OK” to confirm.

Schedule

Disk Defragmenter allows users to defrag their disks by themselves, but this process may need a few hours, and it can’t be interrupted. The best way to run this tool is to let it run alone.

2. Defrag by CMD

Step 1. Click “All Programs” and then “Accessories”, right-click “Command Prompt” and choose “Run as administrator”.

Windows 7 CMD

Step 2. Type defrag /? to check to defrag command lines.

Windwos 7 Defrag via CMD

/B: Optimizes boot files and applications but doesn’t defragment the rest of the volume.

/C: Defragment all local volumes.

/E: Defragment all local volumes except those specified.

/A: Analyze the volume and display a report, but do not defragment.

/X: Perform free space consolidation.

/T: Track defragmentation already in progress.

/H: Run the defragmentation at normal priority (by default, runs at low priority).

/M: Defragment multiple volumes simultaneously in parallel.

/U: Print the defragmentation process on the screen.

/V: Use verbose mode, which provides additional detailed information.

Choose the operation you want to run, and input the following order:

defrag [drive name] /Command Letter

For example, we run an analysis of the C drive, so we input defrag C: /A

analyze C drive

The disadvantage of CMD to defrag drive is obvious—the command letters. You may input the wrong letter to run a different execution.

The best free defrag tool for Windows 7

To avoid long waiting and wrong operation, we recommend you a free defrag tool for Windows 7. AOMEI Partition Assistant Standard is a powerful disk and partition manager to help you protect your disk. Its “Defrag Disk” function not only allows users to run free defrag in Windows 7 but also supports Windows 8/10/XP/Vista users to safely defrag their hard disk. Users can choose to defrag or not based on the analysis score.

Download Freeware Win 10/8.1/8/7/XP
Secure Download

Note: If the partitions on your external hard drive are not NTFS partitions, please convert them to NTFS partitions without data loss before we start to defragment.

Step 1. Install and launch AOMEI Partition Assistant, right-click on the disk and select the "Disk Defrag" function.

Defrag Disk

Step 2. Check the partition needed to be analyzed, and click "Analyze". You need to check the partition, not select it. This function currently only supports NTFS partitions, so it will only list NTFS partitions on SSD, HDD, and USB drives.

Analyze disk

Tip: You can click "Pause" to halt the process and resume later, or click "Stop" to end the analysis process completely.

Pause

Step 3: The program will score the partition based on the fragmentation rate when the analysis is over.

There are 3 statuses according to the score:

  • Normal: Score≥90. The partition is in good condition, with no need for defragmentation.
  • Suggest defragmenting: 60≤Score<90. The current partition has some fragments, which suggest running defragmentation.
  • Defragment now: Score<60. There are many fragments in the current partition, suggest running the defragmentation immediately.

You can check the distribution of fragments through the Tetris view.

Step 4. After the analysis is finished, you can click on "Details" to see more information about the analysis results:

• Total files and directories
• Fragmented files
• Fragments
• Fragmentation Rate

Details

Step 5. Click the "Defrag" button to start the defragmentation.

score

Tip: You could click "Pause" to halt the procedure and resume later, or click "Stop" to terminate the process completely.

After the defragmentation is completed, the partition will be scored according to the defragmentation result.

Defrag complete

Note: If the fragment files are in use, they cannot be defragmented.

This software allows users to defragment the disk easily and quickly, which is the best method to defrag hard disk on Windows 7 PC in these 3 ways. What’s more, AOMEI Partition Assistant has various pragmatic features. You can upgrade to Pro edition to try more, such as schedule defrag, moving installed programs, allocating free space from one partition to another, SSD secure erase, etc.

Lucas
Lucas · Staff Editor
I prefer peaceful and quiet life during vacation,but sometimes I watch football match if my favorite club performs brilliantly in that season. And I love reading, painting and calligraphy, thus I send my friends festival handwriting cards every year.