Defragment

For : Microsoft Windows NT5 - Windows 2000 Pro / Windows Xp

by : je.saist

Note: Mepisguides is aimed towards the user who is moving from Windows and is not familiar with Linux interface systems. Many of the steps such as opening up a browser and selecting a web page are shown in the Linux guides. Since it is presumed that most readers of Mepisguides are fairly competent with Windows, many of these minor steps are intentionally skipped.  There is also minimal effort to hide Paint during the screen capture process, as Microsoft Windows provides no other native screen capture solution. I am also presuming that Firefox is already installed under Windows.

Windows Guides: These are guides built with the intention of preparing a computer with a single hard drive to be resized in order to Install Mepis Linux.  The other guides are located here:

CCleaner  |  Check Disk  |  Defragment  |   Regseeker  |   WinASO  |   Mepis Install - Resize


Defragment Part 1  |  Defragment Part 2

It used to be that when a person went out and purchased a computer the sales representative would walk the customer through using the programs that came with the computer, or offer training classes on how to care for computers.  In today's world of Dell, Best Buy, and Circuit City, computers are sold without any instruction from the sales representative. No effort is ever made to educate the customer that a Windows computer is not a maintenance free operating system.

So, let me in on a little secret from the 1990's. Disk Defragment is REQUIRED MAINTENANCE. If you have a Windows Operating System, you need to defragment it at least once a month. Defragmenting is also the most important step to be taken before attempting to resize a FAT32 or NTFS partition.


Microsoft does include a disk defragmenting utility, based on an older version of Disk Keeper. As we will shortly see, Microsoft's inbuilt tool is next to useless.

1-a: The Disk Defragmenter application should be located in your Start Menu under

Accessories / System Tools / Disk Defragmenter





1-b: If you have a Dell, HP, or Gateway, this folder may not be there under Windows Xp.  In this case you'll need to go into My Computer, right click on the C:\ drive and bring up properties, then click on Tools.





2: When Disk Defragmenter opens, Left Click on Analyze

This will check the drive and see if defragmenting is needed.





3: When Disk Defragmenter Completes, it pops up a report. As we can see below, Microsoft does not think that this volume needs defragmenting. Go ahead and Close the report.





4: See all those red bars?  Those are fragmented files, and there are a lot of them. Now, call me crazy, but that looks like a drive that needs defragmenting.

What we also need to keep in mind is that when the drive is resized, all of the data on the far right of this graph will be lost in the resizing. So, yes, this drive needs to be defragged, regardless of what Microsoft thought.





5: Left Click on Defragment





6: Now, if you never have performed this Required Maintenance step, be prepared to wait a while. This is a 60gig drive, and it takes about 2-3 hours to run.  Hence leaving the clock on.





7: Alright, here we go, Microsoft Windows states this drive is defragged. As we can see there is a lot less red than there was before, and most of the information has been moved away from the rear portion of the drive.  

However, there still are a number of files left that are fragmented, and there still are a couple of stranded non-fragmented files out at the end of the disk. We can also see by the clock that this entire operation took just under 2 hours, and this drive is still not defragged.





8: Now, instead of fighting Microsoft's software, lets go grab another tool. Jeroen Kessels JkDefrag program caught my eye because not only does it have a Windows-X64 bit version, it also is licensed under the GPL.

You can get to his website through : http://www.kessels.com/JkDefrag/





9: Thankfully, even in low resolution, the download files are visible.

Left Click on the link for your Version of Windows and save the file to disk.





10: Wait for the download to complete.





11: When JkDfrag completes downloading, Left Click on Open in the Firefox Download box.




Now, there probably will be some divergence here depending on whatever de-compression utility you use. Under Mepis Linux I can count on Ark being present, as it is part of the distribution. However, between Windows Xp's compressed folder functions and better tools that are available, I don't really have control over what decompression utility is going to be used. Here I am using WinRAR. If you don't have WinRAR try to follow along as best you can.

12: Extract the files





13: And put them in an easy to find folder. I went with C:\defrag





14: Once you have the files extracted, go to the target folder. For me, this is C:\defrag

Open JkDfrag with a Double Left click




Go to Part 2 and complete the Windows Defragment.

Go to Resize Installation Guide.


Go back to the Guides.