How to Defrag a Computer

This wikiHow 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...

Method 1 of 3:

Windows 10 and 8

  1. Picture 1 of How to Defrag a Computer
    Open the Control Panel. The steps are slightly different depending on your operating system:
    1. 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.
    2. 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. Picture 2 of How to Defrag a Computer
    Select Small icons from the 'View by' menu. It's near the top-right corner of the window.
  3. Picture 3 of How to Defrag a Computer
    Click Administrative Tools. A list of admin tools will appear.
  4. Picture 4 of How to Defrag a Computer
    Double-click Defragment and Optimize Drives. It's in the main (right) panel. A list of drives on your computer will appear.
    1. 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. Picture 5 of How to Defrag a Computer
    Select your drive and click Analyze. Windows will now check to see if your drive needs to be defragmented.
    1. 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. Picture 6 of How to Defrag a Computer
    Select your drive and click Optimize. If your hard drive needs to be defragmented, click this button to begin the process.
    1. The defragmentation process can take anywhere from several minutes to several hours to complete depending on the state of your disk drive.[1]
Method 2 of 3:

Windows 7 and Vista

  1. Picture 7 of How to Defrag a Computer
    Click the Start menu and select All Programs.
  2. Picture 8 of How to Defrag a Computer
    Click the Accessories menu and select System Tools.
  3. Picture 9 of How to Defrag a Computer
    Click Disk Defragmenter.
  4. Picture 10 of How to Defrag a Computer
    Highlight the disk drive you to defragment. For example, if you want your computer's main hard drive defragmented, then highlight "(C:)."
  5. Picture 11 of How to Defrag a Computer
    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. Picture 12 of How to Defrag a Computer
    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. Picture 13 of How to Defrag a Computer
    Click Configure schedule when Disk Defragmenter finishes. It's above the list of hard drives.
  8. Picture 14 of How to Defrag a Computer
    Place a check mark next to "Run on a schedule."
  9. Picture 15 of How to Defrag a Computer
    Set a defragment schedule and click OK. Choose the frequency at which you would like Windows to automatically defragment your hard drive.
  10. Picture 16 of How to Defrag a Computer
    Select your hard drive and click OK. Your computer is now set to automatically defragment your hard drives on a schedule.
Method 3 of 3:

Windows XP

  1. Picture 17 of How to Defrag a Computer
    Click the Start menu and select My Computer.
  2. Picture 18 of How to Defrag a Computer
    Right-click your hard drive and select Properties.
  3. Picture 19 of How to Defrag a Computer
    Click the Tools tab. It's at the top of the window.
  4. Picture 20 of How to Defrag a Computer
    Click Defragment Now. It's in the 'Defragmentation' group. This opens the Disk Defragmenter window.
  5. Picture 21 of How to Defrag a Computer
    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. Picture 22 of How to Defrag a Computer
    Click Defragment if recommended by the tool. The drive will now be defragmented. This process may take several minutes to several hours.
    1. If you see a message that says the drive does not need to be defragmented, there's no need to take any action.
  7. Picture 23 of How to Defrag a Computer
    Click Close when you're finished defragmenting the hard drive.
Update 05 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile