PDF download Download Article PDF download Download Article

When too many files in your hard disk are in different places or clusters in your hard disk, or “fragmented,” your computer slows down. When you defrag your drive, it realigns everything back, and the pieces of files are moved to locations that are contiguous (beside each other). This makes it easier for your computer to read the files. Note that you must sign into an Administrator account in order to defrag your hard drive.

Things You Should Know

  • Type "defrag" in the Cortana search box to open the application titled "Defragment and Optimize Drives".
  • Highlight the drive you want to defrag. Consider the Current Status of each drive to see which need defragging, if any.
  • Click the "Optimize" button to begin defragging all selected drives.
Method 1
Method 1 of 2:

Using the Defrag App

PDF download Download Article
  1. You will find the Cortana search box at the lower left side of the desktop beside the Start button shown as a magnifying glass icon. As you type, a list of search results will appear on the Cortana search window. When you finish typing “defrag,” the Defragment and Optimize Drives (Desktop app) option will appear at the top of the search window.
  2. This will open the Optimize Drives dialog box. If you are not signed into an Administrator account, right-click (press and hold) “Defragment and Optimize Drives (Desktop app)” and choose “Run as administrator” when the pop-up menu appears.
    Advertisement
  3. In the Optimize Drives window, you will see a box labeled “Status” inside of which is a table where the rows list all the drives in your device as well as all storage media connected to the device. The columns have the following headings (from left to right): “Drive,” “Media type,” “Last run,” and “Current status.” Highlight the drive you want to optimize by clicking/tapping on it.
    • For each drive listed, you will see its Current Status in the last column, which tells you how fragmented your drive is and advises you on what to do (“OK,” meaning “no need to defrag,” or “Needs Optimization”).
  4. This will analyze the extent of fragmentation of the drive. After a few minutes, the Current Status column opposite the drive you are testing will show you (in percentage) how fragmented the drive is. It is recommended that you optimize your drive only if it is 10% or more fragmented.
    • If the fragmentation is less than 10%, click/tap the “Close” button at the bottom right side of the window to exit Optimize drives. It is not advisable to defragment your drive too often as this will contribute to the wear and tear of your hard drive.
  5. The defragmentation will take some time (several minutes or even hours) depending on how large the capacity of your hard drive is, how many files are in your hard drive, and how fragmented these files are. The Current Status column will give a real-time report on the progress of optimization.
    • You will know if the defragging process is finished when the running progress report stops and the entry in the Current Status column becomes “OK.” Enclosed in parentheses beside “OK” is the percentage of defragmentation (0% if your hard drive is not too full).
    • If your hard disk is large and there are many files and many of these files are fragmented, the defragging process may take hours to complete. In this instance, it would be better to start the defragging process and do some other things: read a book, do housework, take a nap, etc.
  6. When the defrag process is finished, click the “Close” button at the bottom right hand of the window to exit Optimize Drives.
  7. Advertisement
Method 2
Method 2 of 2:

Using the Defrag Command

PDF download Download Article
  1. This will open a right-click menu.
  2. This will allow Command Prompt to run as an administrator.
  3. defrag C:. This will defragment the drive where Windows 10 is installed.
  4. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Do the words "defrag" and "defragment" mean the same thing?
    Community Answer
    Community Answer
    Yes, they do. "Defrag" is a short way of saying "defragment." It's similar to "tech" and "technology."
  • Question
    Does Windows 10 defrag automatically once a month?
    Zuubytron
    Zuubytron
    Community Answer
    If you go into the control panel you can see how often it is set to defrag. Normally it is once or twice a month.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • You can still work on your device while defragging, but your computer will slow down while defragging is ongoing, so it is better to let the defragging finish before working on your computer.
  • Windows 10 will automatically optimize and defragment your drives on a weekly basis.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • You should make sure that your device is not jostled or moved abruptly while the defragging process is ongoing as your hard disk may be damaged by any sudden movement.
Advertisement

You Might Also Like

Adjust Screen Brightness in Windows 10 Change the Screen Brightness in Windows 10: A Quick Guide
Turn Off Windows Defender in Windows 10Turn Off Microsoft Defender in Windows 10: Temporarily or Permanently
Recover Permanently Deleted Files in Windows 10Recover Permanently Deleted Files in Windows 10
Enable Image Preview to Display Pictures in a Folder (Windows 10) Show Image Previews in Windows 10 & 11
Check if Your Firewall Is Blocking SomethingA Guide to Checking if Your Firewall Is Blocking Something
Install Windows 10Install Windows 10
Use Function Keys Without Pressing Fn on Windows 10 Use Function Keys Without Pressing Fn on Windows 10
Turn Off Automatic Updates in Windows 104 Easy Ways to Turn Off Automatic Updates in Windows 10
Uninstall Riot Client Completely Uninstall the Riot Games Client & Vanguard
Set Video As Wallpaper in Windows 10Set Video As Wallpaper in Windows 10
Adjust Brightness on Windows 10 Using the KeyboardAdjust Brightness on Windows 10 Using the Keyboard
Open Task Scheduler in Windows 10Easy Ways to Open Task Scheduler in Windows 10 & 11: Run, CMD, and More
Screenshot in Windows 10Screenshot in Windows 10
Check Your Laptop’s Battery Health in Windows 10 Test Your Laptop’s Battery Health in Windows 10
Advertisement

About This Article

Scott St Gelais
Co-authored by:
IT Consultant
This article was co-authored by Scott St Gelais. Scott St Gelais is an IT Consultant and the Owner of Geeks in Phoenix, Arizona. With over two decades of experience, Scott specializes in computer service and repair, development, computer graphics, and website authoring. Scott received his Technical Associates Degree from High Tech Institute and completed the IT Support Professional Certificate by Google. Geeks in Phoenix is a member of the Microsoft Partner Network and an Intel Technology Provider Gold Partner. This article has been viewed 168,376 times.
How helpful is this?
Co-authors: 7
Updated: June 16, 2023
Views: 168,376
Categories: Windows 10
Thanks to all authors for creating a page that has been read 168,376 times.

Reader Success Stories

  • Dixie Elder

    Dixie Elder

    Mar 2, 2017

    "Excellent article, I didn't know half of this info."
Share your story

Is this article up to date?

Advertisement