How to Defrag Windows 10 & Improve Your PC's Performance

You can use Command Prompt or Use Disk Defragmentation tool

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • Disk defragmentation is rearranging fragmented data on your hard drive to be accessed more efficiently.
  • This guide will discuss all the simple ways to defrag your hard drive, including using the Disk Defragmentation tool.

As you use your computer, files become fragmented and scattered across the hard drive, which makes it hard for your PC to access them quickly. This is one of the most common reasons for a slow-running computer.

Fortunately, you can use defragmentation to rearrange fragmented data and improve your PC’s performance. In this guide, we’ll show you how to defrag Windows 10 to keep it running smoothly.

How can I defrag Windows 10 and improve PC performance?

1. Use the Command Prompt

  1. Go to the search bar, type CMD, and click Run as administrator.Command Prompt Run as administrator how to defrag windows 10
  2. Click Yes on the UAC prompt.
  3. Type the following command, replace C with the drive you want to defrag, and press Enter: defrag C:

2. Use the Disk Defragmentation tool

2.1 Defrag manually

  1. Go to the search bar, type Control Panel, and click Open.Control Panel - Seacrh bar how to defrag windows 10r -
  2. Select View by Category and click System and SecuritySystem & Security how to defrag windows 10
  3. Go to Administrative tools.Administrative Tools how to defrag windows 10
  4. Click Defragment and Optimize Drives to open it. Defragment & Optimize devices
  5. Choose the disk drive you want to optimize.
  6. Select the Optimize button.Optimize
  7. Follow the onscreen instructions if prompted.

2.2 Run defrag automatically

  1. You can also schedule the disk optimization for the future; open Defragment and Optimize Devices, and click Change settings on the Optimize Drives window.Change Settings how to defrag windows 10
  2. Select the Frequency, and for Drives, Click Choose.Frequency Drives
  3. Choose the Drives from the next window.Drives
  4. Click OK

3. Use the Safe Mode

  1. Press the Windows key + R to open the Run dialog box.System Configuration how to defrag windows 10
  2. Type msconfig and click OK to open System Configuration.
  3. Go to the Boot tab, locate Boot options, and place a checkmark next to Safe bootSafe boot Minimal how to defrag windows 10
  4. Select the Minimal option, click Apply, and OK
  5. You will be prompted to restart your computer in Safe mode. 
  6. Click the Start menu, type Defragment and Optimize Drives and click Open
  7. Select the drive you want to defragment and click the Optimize button. hOptimize How to defrag windows 10
  8. The defragmentation process will take some time to complete. 
  9. Once done, go to System configuration, switch to the Boot tab, uncheck Safe boot, click Apply, then OK. Restart your computer in normal mode. 

4. Use the Settings app

  1. Press Windows + I to open Settings
  2. Go to SystemSystem - How to defrag on Windows 10
  3. Click Storage, and select the Optimize Drives option.Storage - optimize your device
  4. Select the drive and click the Optimize button. Optimize button
  5. Wait for the process to get complete. 

So, these are the methods you can use to defrag your Windows 10 computer. Try them and let us know what worked for you in the comments below.

More about the topics: windows 10

User forum

0 messages