This article was co-authored by Scott St Gelais and by wikiHow staff writer, Travis Boylls. 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 28,838 times.
Over time, files on your computer can get split up and stored in different places all over your hard drive. For example, an MP3 file appears as one file to you in your File Explorer app, when in reality, small fragments of this file could be spread all over your hard drive. Defragmenting, or optimizing, your computer's hard drive moves all the pieces of a file into one location. This makes it faster to open the files. If the files on your computer is extremely fragmented, your computer will likely be running very slow. Windows has a built-in Defragment and Optimize Drive app that you can use to defrag your hard drive. This wikiHow article teaches you how to defrag your hard drive. You can do this manually as well as schedule your hard drive to automatically defragment on a regular basis. This works on both Windows 8 and Windows 10.
Steps
Manually Defragmenting a Hard Drive
-
1Click the magnifying glass icon. This opens the Search menu. On Windows 8, it's in the upper-right corner of your desktop. [1]
- On Windows 10, it's in the lower-left corner next to the Windows Start menu.
-
2Type Defrag in the search bar. This searches for the Defragment and Optimize Drive app.Advertisement
-
3Click the Defragment and optimize your drive. It's will appear next to an icon that resembles a gear and a checklist.
- On Windows 10, it will say Degrament and Optimize Drives. It appears next to an icon that resembles colored building blocks.
-
4Select the drive you want to defragment. Click the drive you want to defragment to highlight it. The drive that has a Windows logo in the upper-left corner is the drive that contains your Windows installation. You can also defragment any additional drives you have installed on your computer.
-
5Click Analyze (optional). It's the first button below the list of hard drives. This does a quick analysis to see how fragmented your hard drive is.
-
6Click Optimize. This analyzes and then defragments your drive. This may take a few minutes to a few hours depending on how fragmented your hard drive is.
-
7Click Ok. When your drives are done defragmenting, click Ok in the lower-right corner to close the "Optimize Drives" window.
Scheduling Automatic Defragments
-
1Click the magnifying glass icon. This opens the Search menu. On Windows 8, it's in the upper-right corner of your desktop. On Windows 10, it's in the lower-left corner next to the Windows Start menu.[2]
-
2Type Defrag in the search bar. This searches for the Defragment and Optimize Drive app.
-
3Click the Defragment and optimize your drive. It's will appear next to an icon that resembles a gear and a checklist.
- On Windows 10, it will say Degrament and Optimize Drives and it appears next to an icon that resembles colored building blocks.
-
4Click Change Settings. It's the first button below "Schedule Optimization" which is below the "Frequency" drop-down menu.
-
5Ensure the box next to "Run on a schedule (Recommended)" is checked. It's the first checkbox below "Optimize Schedule." It should be checked automatically by default. If it is not, click the checkbox to make sure it is checked.
-
6Use the "Frequency" drop-down menu to select how often you want to defrag your hard drives. It's the drop-down menu below the checkbox. You can select "Daily," "Weekly," or "Monthly."
- You can also click the checkbox that says "Notify me if three consecutive runs are missed," or "Increase task priority if three consecutive task runs are missed." It's below the drop-down menu.
-
7Click Choose. It's the button next to "Drives." This allows you to select which drives you want to schedule defragmentation for.
-
8Check the drives you want to defragment. Click the checkbox next to the drives you want to defragment. You can also click the checkbox next to "Select all" to select all the drives.
-
9Click Ok. It's at the bottom of the "Optimize Drives" window. This saves your schedule settings.
-
10Click Ok. This closes the "Optimize Drives" window.
Community Q&A
-
QuestionI lost the menu item "defragment and optimize your drive." What should I do to defrag my computer? I'm using Windows 8.DanoyachtcaptTop AnswererHave you tried using the search bar in the lower left corner of the screen? You should be able to search there by typing "defragment".
References
About This Article
1. Click the Search/Magnifying glass icon.
2. Type "defrag" in the search bar.
3. Click Defragment and optimize your drives.
4. Click the drive you want to defragment.
5. Click Optimize.