Download ArticleDownload Article

This How.com.vn teaches you how to defragment a hard drive, a process that rearranges and better utilizes the space on the drive to improve your PC's performance. Though defragmenting a hard drive is not typically advised for Mac users, you can see this How.com.vn to learn how (and when) this might be necessary.

Method 1
Method 1 of 3:

Windows 10 and 8

Download Article
  1. How.com.vn English: Step 1 Open the Control Panel.
    The steps are slightly different depending on your operating system:
    • Windows 10: Click the circle or magnifying glass to the right of the Start menu to open the Search bar, type control panel, then click Control Panel.
    • Windows 8: Hover the mouse over the bottom-right corner of the screen to bring up the menu, click Settings, and then click Control Panel.
  2. How.com.vn English: Step 2 Select Small icons from the “View by” menu.
    It’s near the top-right corner of the window.
    Advertisement
  3. How.com.vn English: Step 3 Click Administrative Tools.
    A list of admin tools will appear.
  4. How.com.vn English: Step 4 Double-click Defragment and Optimize Drives.
    It’s in the main (right) panel. A list of drives on your computer will appear.
    • If your hard drive is set up to defragment automatically, you’ll see the word “On” under “Scheduled optimization” at the bottom of the window. You can change the schedule by clicking Change settings.
  5. How.com.vn English: Step 5 Select your drive and click Analyze.
    Windows will now check to see if your drive needs to be defragmented.
    • If you have an SSD hard drive (solid state), this button will not be available. This is because it’s not necessary to defragment your SSD drive.
  6. How.com.vn English: Step 6 Select your drive and click Optimize.
    If your hard drive needs to be defragmented, click this button to begin the process.
    • The defragmentation process can take anywhere from several minutes to several hours to complete depending on the state of your disk drive.[1]
  7. Advertisement
Method 2
Method 2 of 3:

Windows 7 and Vista

Download Article
  1. How.com.vn English: Step 1 Click the Start menu and select All Programs.
  2. How.com.vn English: Step 2 Click the Accessories menu and select System Tools.
  3. How.com.vn English: Step 3 Click Disk Defragmenter.
  4. How.com.vn English: Step 4 Highlight the disk drive you to defragment.
    For example, if you want your computer's main hard drive defragmented, then highlight "(C:)."
  5. How.com.vn English: Step 5 Click Analyze Disk.
    It’s near the bottom of the Window. Your computer will analyze the disk drive to determine whether defragmenting the drive is recommended.
  6. How.com.vn English: Step 6 Click Defragment disk if your computer instructs you to defragment.
    The defrag process can take anywhere from several minutes to several hours to complete depending on the state of your disk drive.
  7. How.com.vn English: Step 7 Click Configure schedule when Disk Defragmenter finishes.
    It’s above the list of hard drives.
  8. Step 8 Place a check mark next to "Run on a schedule."
  9. How.com.vn English: Step 9 Set a defragment schedule and click OK.
    Choose the frequency at which you would like Windows to automatically defragment your hard drive.
  10. How.com.vn English: Step 10 Select your hard drive and click OK.
    Your computer is now set to automatically defragment your hard drives on a schedule.
  11. Advertisement
Method 3
Method 3 of 3:

Windows XP

Download Article
  1. How.com.vn English: Step 1 Click the Start menu and select My Computer.
  2. How.com.vn English: Step 2 Right-click your hard drive and select Properties.
  3. How.com.vn English: Step 3 Click the Tools tab.
    It’s at the top of the window.
  4. How.com.vn English: Step 4 Click Defragment Now.
    It’s in the “Defragmentation” group. This opens the Disk Defragmenter window.
  5. How.com.vn English: Step 5 Select the drive you want to defragment and click Analyze.
    Your computer will analyze that disk drive's files and folders to determine whether defragmentation is necessary.
  6. How.com.vn English: Step 6 Click Defragment if recommended by the tool.
    The drive will now be defragmented. This process may take several minutes to several hours.
    • If you see a message that says the drive does not need to be defragmented, there’s no need to take any action.
  7. How.com.vn English: Step 7 Click Close when you’re finished defragmenting the hard drive.
  8. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Warnings

      • If your computer is not turned on during the scheduled defrag time, your computer will not run Disk Defragmenter. Make sure you leave your computer on during its scheduled defrag time so your computer can defrag itself automatically.
      • If your computer resides on a domain, you may need to enter the administrator password in order to run Disk Defragmenter. Consult with your domain's network administrator to obtain the necessary password prior to attempting a manual defrag.
      Advertisement

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 62,936 times.
      How helpful is this?
      Co-authors: 5
      Updated: February 6, 2024
      Views: 62,936
      Article SummaryX

      1. Open the Control Panel.
      2. Click Administrative Tools.
      3. Double-click Defragment and Optimize Drives.
      4. Select a drive and click Analyze.
      5. Click Optimize.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 62,936 times.

      Reader Success Stories

      • How.com.vn English: Marissa Rose

        Marissa Rose

        Feb 8, 2017

        "I find the step-by-step guide for defragging very clear and concise."
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement