How to perform Defragmentation in Windows 10

BobGustafson asked on

Original Title:Defragmentation

I have Windows 10. I opened the disk defragmenter. It showed that my system disk was 22% fragmented. I clicked "Analyze". It told me that the disk was 45% fragmented. I clicked "optimize" and it instantaneously returned me to 22% fragmented. I clicked "Optimize" again and just returned the same 22%. How do I get windows to actually defragment the disk?

31 people had this question

Abuse history

Most Helpful Reply
Ruth Buruga replied on



Thank you for posting on Microsoft Communities.


I will be glad to help you with the issue you have with the computer. I understand the frustration when things don't work the way it should.

Fragmentation makes your hard disk do extra work that can slow down your computer. Removable storage devices such as USB flash drives can also become fragmented. Disk Defragmenter rearranges fragmented data so your disks and drives can work more efficiently. Disk Defragmenter runs on a schedule, but you can also analyze and defragment your disks and drives manually. To do this, follow these steps:

To defragment your hard disk
  1. Open Disk Defragmenter by clicking the Start. In the search box, type Disk Defragmenter, and then, in the list of results, click Disk Defragmenter.

  2. Under Current status, select the disk you want to defragment.

  3. To determine if the disk needs to be defragmented or not, click Analyze disk.  If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

    Once Windows is finished analyzing the disk, you can check the percentage of fragmentation on the disk in the Last Run column. If the number is above 10%, you should defragment the disk.

  4. Click Defragment disk.  If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

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


  • If the disk is already in exclusive use by another program or is formatted using a file system other than NTFS file system, FAT, or FAT32, it can't be defragmented.

  • Network locations can't be defragmented.

  • If a disk that you're expecting to see under Current status is not showing up there, it might be because it contains an error. Try to repair the disk first, then return to Disk Defragmenter to try again. See Check a drive for errors for more information.

Hope this information is helpful. Please post in case you have any further issues, we are happy to help you further.

Than you.

13 people found this helpful

Abuse history