Running XP's Disk Defragmenter from the command line
Takeaway: It can take a long time for Windows XP's Disk Defragmenter to defrag a disk that's extremely fragmented. Find out how you can speed up the process by running the command line version of Disk Defragmenter.
Stay on top of the latest XP tips and tricks with our free Windows XP newsletter, delivered each Thursday. Automatically sign up today!
If you encounter a hard disk that is extremely fragmented, running the GUI version of Windows XP's Disk Defragmenter can take an excessive amount of time to defragment the disk. Not only does it take time to actually defragment the disk, but there is a lot of overhead involved in managing the operating system and the GUI while simultaneously running Disk Defragmenter.
Fortunately, you can speed up the process by booting the system into the Safe Mode With Command Prompt configuration and then running the command line version of Disk Defragmenter. Follow these steps:
- Restart Windows XP.
- As the system boots up, press [F8] to display the Operating System Choices menu.
- Press [F8] again to display the Windows Advanced Options menu.
- Select the Safe Mode With Command Prompt option.
- Select the Windows XP operating system and log in.
- When the Command Prompt window appears, type Defrag to see a list of options for running the command line version of Disk Defragmenter.
Note: Keep in mind that your command line version doesn't provide any feedback on the operation's progress, so be patient until it completes the operation.
Print/View all Posts Comments on this article
SponsoredWhite Papers, Webcasts, and Downloads
- How Does Ping Really Work? Global Knowledge
- The Case for Virtual Local Area Networks (VLANs) Global Knowledge
- Hardware Neutral Imaging with ImageX: The Ghost Killer Global Knowledge
- The OSI Model: Understanding the Seven Layers of Computer Networks Global Knowledge
- Using the Six Laws of Persuasion in Negotiations Global Knowledge
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET





