iSumsoft » Resources » Windows 10 » 3 Ways to Optimize and Defrag Hard Drive Disk in Windows 10

How to Optimize and Defrag Hard Drive Disk in Windows 10

Isabella Shinn
Isabella Shinn

Updated:

Defragmenting your computer's hard drive is a very important process that can improve the performance of your PC. Fortunately, Windows contains many tools to perform this important process. This tutorial will show you how to manually optimize and defrag your hard disk drive in Windows 10.

Way 1: Optimize / Defrag an HDD Drive Using Disk Defragmentation Tool

Optimized drives can help your PC run more smoothly and start faster, which is only for HDDs. For solid state drives, defragmentation can cause performance issues and even shorten the life of the drive. Therefore, defragmenting SSDs is not a good idea.

Step 1: Press Win + E to open File Explorer then navigate to the This PC.

Step 2: Right-click on the drive you want to defrag and select Properties from the context menu. When the Properties window appears, select the Tools tab and then click on Optimize.

Oprimize and defrag drive

Step 3: A new window will appear with details about your hard disk drives.

You can click on the Analyze button to checks whether your disk requires defraagmenting. If the file system on drive is more than 10% fragmented, then you should optimized it. Simply click on the Optimize button to begin the defragmentation.

Analyze drive

To optimize drives by schedule in Windows 10, do the following.

If you want to configure automatic defragmentation, click Change Settings under Schedule Optimization. The next dialog will allow you to adjust the schedule settings, such as unchecking the Run on schedule box to completely disable it. Once the plan is enabled, you can change the frequency to daily, weekly or monthly. In addition, you can choose a specific drive to be automatically defragmented.

Optimize drives by schedule

Way 2: Optimize and Defrag a Drive in Command Prompt

Step 1: Right-click on Start Menu to open quick access menu, then select Command Prompt (Admin) opion.

Open Command Prompt(Admin)

Step 2: Type the following command to optimize your C: drive:

defrag C: /O

Replace the C: with the drive letter you need to optimize and defrag. For example, you can optimize and defrag D drive in Windows 10:

defrag D: /O

Optimize drive via Command Prompt

Way 3: Optimize and Defrag a Drive in PowerShell

You can also analyze and defragment your disks and drives manually via Windows PowerShell.

Step 1: Open Powershell and run it as administrator.

Step 2: Type the following command to analyze your drive. Look at the bottom of the output, it will advise whether or not you need to defrag the drive.

Optimize-Volume -DriveLetter D -Analyze -Verbose

Analyze your drive

Step 3: Defragment the current drive: Optimize-Volume -DriveLetter D -Defrag -Verbose

Defrag drive in Powershell