Windows has a built-in defragmentation utility. You’ll find it by opening your Start menu, going to Programs, selecting Accessories and then choosing from the System Tools. (The defragmentation utility is also an option if you run the disk clean-up service by right-clicking on your drive in Windows Explorer and selecting Properties.)
When the utility runs, you can choose either Analyze (which will check whether your drive needs defragmenting) or simply start the defragmentation right away.
While your computer is defragmenting, you’ll see a map of your disk drive showing how it’s rearranging the files. The main things it does are moving all the file indexes and directory details to the middle of the disk (meaning the disk drive can access them more quickly), moving little used files further away, and putting related files next to one another.
Defragmenting is a lot more effective and runs quicker when you have more free disk space. (Imagine how difficult it is to tidy a messy floor when you haven’t even got enough room to move anything.) So you should delete any unnecessary files and empty your Recycle Bin before you start.
You’ll also find that defragmentation takes considerably longer when you have programmes running. That’s because your computer is doing the technical equivalent of cleaning up a room while children are still playing in it! So it’s best to close down all your programs first – use the Task Manager’s Applications list to check there aren’t any running that you can’t see.
Even with no other programs running, drefragmentation can take several hours, so it’s usually easiest to do it overnight. If you do this, you may need to temporarily disable any programs (such as anti-virus software) which are scheduled to run a scan of your computer during the night so that it doesn’t wind up getting in the way.
As Ashwin Satyanarayana says in his excellent article on Defragmentation Myths, though defragmentation can feel like a hassle the first time you do it, it’s worth doing it fairly regularly. After all, just like tidying a room, the longer you leave it, the longer it takes when you finally get round to it!
Other related content:
How To: Defragmenting Your Hard Drive in Windows