PDF download Download Article PDF download Download Article

This guide will teach you how to do a manual disk defrag through the Windows command prompt. Some Windows users have trouble with the Disk Defragmenter program so this is a solution to that problem, and might come in handy for other instances, too.

  1. Advertisement
  2. /U'
  3. This will take some time depending on how large and fragmented your disk is.
  4. 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

  • If you have more than one disk that needs to be formatted, add it in to the command, like this 'defrag C: F: /U'
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

Advertisement

You Might Also Like

Defrag Windows 10 Defrag a Windows 10 Hard Drive
Defrag a ComputerDefrag a Computer
Run a Chkdsk Function on Windows XPRun a Chkdsk Function on Windows XP
Run a Chkdsk Function Run Chkdsk: 4 Simple Methods for Scanning a Drive
List Every File on Your Hard Drive See Every File On Your Computer in CMD (Command Prompt)
Format a USB Using Cmd Format a USB Using CMD (Command Prompt)
Find All Commands of CMD in Your Computer Display and Use CMD Commands: A List and Guide
Use MS DOS Use MS DOS
Run Command Prompt As an Administrator on Windows Open the Command Prompt As an Admin on Windows: 4 Easy Steps
Convert a FAT Volume to NTFS in WindowsConvert a FAT Volume to NTFS in Windows
Check if a Hard Drive Is SSD or HDD on Windows Check if a Hard Drive is an SSD or HDD on a Windows PC
Make Your PC Very FastA Complete Guide on How to Speed Up Your PC
Scan Windows 10 for Errors6 Simple Steps to Scan for Errors in Windows 10
Open Disc Management Open Disk Management in Windows 10 & 11
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 64,040 times.
How helpful is this?
Co-authors: 4
Updated: January 1, 2018
Views: 64,040
Categories: Command Prompt
Thanks to all authors for creating a page that has been read 64,040 times.

Is this article up to date?

Advertisement