If this message remains, it may be due to cookies being disabled or to an ad blocker.

Đang xem: Defragmenting a hard drive in windows 7

*

Troubleshooting computer problems has become a necessary component of being a computer owner. While problems are inevitable, one of the easiest ways to ward most of them off is by performing consistent and routine maintenance. One necessary aspect of your routine maintenance should include defragmenting your Windows 7 hard disk. Plan on doing it at least monthly.

Why Do I Need to Defrag Windows 7?

To understand the importance of defragmenting Windows 7, you’ll need to understand how the underlying file system works.

Hard disks store data in sectors. When the file system on the hard disk is first set up, there are probably a few bits of internal data present, but the disk is mostly one contiguous block of empty space. When you install your first program, the files are placed sequentially and close to each other. However, things begin to go awry when one of a few things happen:

You delete the files.

You uninstall a program.

You modify and append data to an existing file, which writes new data to another area of the disk.

The newly available space leaves a gap between the data that was stored before and after your deletion or modification. This space is called a fragment. In time, these fragments add up. The hard disk arm will have to move all over the surface to find and piece together your data. This is why you sometimes notice your operations are slow.

How to Defrag Windows 7

Follow these easy steps to defrag Windows 7:

Click the Start button.

In the search box, type Disk Defragmenter and click on the found result.

Under Current status, click the disk you want to defragment.

Click Analyze disk to determine if the disk needs to be defragmented or not.

If prompted, type the administrator password or provide confirmation.

Once Windows is finished analyzing, check the percentage of fragmentation on the disk in the Last Run column. If the number is above 10%, the disk should be defragmented. (File fragments will always remain . . . it’s just the nature of disk storage. You will never get a perfectly defragmented hard drive.)

Click Defragment disk.

Xem thêm: Tổng Hợp Các Cách Làm Nhỏ Màn Hình Máy Tính Nhỏ Lại, Cách Thu Nhỏ, Phóng To Màn Hình Máy Tính Windows

If prompted, type the administrator password or provide confirmation.

Disk Defragmenter might take several minutes to finish but can possibly take a few hours depending on the size and degree of fragmentation of your hard disk. However, you can still use your computer during the defragmentation process.

How to Defrag Windows 7 from the Command Line

While previous Windows versions only featured a graphical interface, Windows 7 has included a command-line tool that allows for greater control and flexibility. Here’s how to do just that:

From the Start menu, click All Programs and then Accessories.

Right-click on Command Prompt and select Run as Administrator.

 

The switch options are:

– A Display a fragmentation analysis report for the specified volume without defragmenting it.

– C Defragment all local volumes on the computer

– E Defragment all local volumes on the computer except those specified.

– H Run the operation at normal priority instead of the default low priority. Specify this option if a computer is not otherwise in use.

– M Run the operation on each volume in parallel. This is used primarily for SCSI or SATA type disks rather than the typical IDE.

– T Track an operation already in progress on the specified volume.

– U Print the progress of the operation on the screen.

– V Verbose mode. Provides additional detail and statistics.

Xem thêm: Những Đoạn Hội Thoại Tiếng Hàn Thông Dụng Nhất, Hội Thoại Tiếng Hàn Thông Dụng Hàng Ngày

– X Perform free-space consolidation. This is useful if you need to shrink a volume, and it can reduce fragmentation of future files.

Example of Defragmenting Windows 7

Let’s begin by doing an analysis of your hard disk. At the prompt, type the command:

defrag c? -a -v

What Can’t Be Defragmented in Windows 7?

There are a few situations where defragmentation won’t work:

If the disk is already in exclusive use by another program

If the disk is formatted using a file system other than NTFS file system, FAT, or FAT32

Network locations

Network drive

Media card

Flash drive

Optical drive

If the disk contains an error (which means it won’t be seen under Current status)

Learn More About How to Defrag Windows 7

If you want to learn more about how to defrag Windows 7, sign up for Windows 7 courses from myalbum.vn. Or, if you’re ready to test your skills in Windows 7, see how they stack up with this assessment!

Leave a Reply

Your email address will not be published. Required fields are marked *