How to Defrag your Hard Drive
Performance Tips Posted by Shawn DesRochers September 8th, 2007I do this fairly frequently. I recommend that a computer should be defragged once a month for better performance and keep the system files organized.
There are a few things to do before you defrag your hard drive, like removing unnecessary system files that don’t need to be defragged to speed up the process.
Let’s remove the unnecessary files
- First thing to do is delete the Internet Explorer Temporary Files and History.
- Right click on Internet Explorer and select properties.
- Delete the history files and temporary internet files.
- When done close the Internet Explorer Properties screen.
- Next we need to delete TMP and BAK files.
- Go to Start -> All Programs -> Accessories -> System Tools and select Disk Clean.
- Select the hard drive you wish to clean up and hit OK.
- From the Disk Cleanup Screen select all the options you wish to cleanup and hit Ok.
- Third is delete any files and directories in the \TEMP folder located in \WINDOWS\TEMP. These files are safe to delete as they are installers from programs or files you have downloaded from the internet and are no longer needed.
- To Defrag the Hard drive without the swapfile, use the instructions below.
- Windows 95 and Windows 98 have a built-in utility called Disk Cleanup. To run it go to Start -> Programs -> Accessories -> System Tools -> Disk Cleanup
- You can also run Disk Cleanup by going to Start -> Run -> and type CLEANMGR.EXE
Once you have removed all the temporary and history files, you can proceed with the defrag of your hard drive. I suggest to do the defrag just before you go to bed or when you have free time away from your computer.
The defrag process can take up to an hour or more depending on how fast your computer is, or when the last time you defragged your hard drive.
Before running the defrag also insure your screen saver is turned off, and all applications or shut down.
Lets start the Defrag
Windows 95 and Windows 98 Users
- Go to Start -> Programs -> Accessories -> System Tools
- Click on Disk Defragmenter
- If you have more then one hard drive select the drive you wish to defrag
- Click the Defragment button.
- When defrag has completed you will receive a popup, simply click ok and reboot your computer.
Defrag in Windows XP
- Go to Start -> All Programs -> Accessories -> System Tools
- Click on Disk Defragmenter
- If you have more then one hard drive select the drive you wish to defrag
- Click the Defragment button.
- When defrag has completed you will receive a popup, simply click ok and reboot your computer.
How to Defrag the Swap File
To defrag the swap file follow the instructions below.
- Right click on My Computer and select properties from the option menu
- Now click on the Performance tab, and then click on the Virtual Memory button
- Now select “Let me specify my own virtual memory settings”
- Be sure to select the “Disable virtual memory,” This will cause the system not to use a swap file.
- Click on the OK button
- You will receive a warning message just answer Yes to the warning and click on the Close button
- Reboot your computer when prompted.
- Once your system has rebooted check to see that there is no swap file. If one still remains WINxxx.SWP, you can safely delete it.
- Defrag your system with the above instructions “Lets start the Defrag”.
- After defrag has completed reboot your computer.
- Be sure to reset the swap file to your previous setting and reboot again.
- Warning: Do not leave your system running without a swap file.

If you found this page useful, consider linking to it.
Simply copy and paste the code below into your web site (Ctrl+C to copy)
It will look like this: How to Defrag your Hard Drive
Related Post



Says:
September 10th, 2007 at 8:27 am
I agree. Files are programs open faster when the drive fragmentation is kept under check. Perhaps at its infacy this malady doesnt show harmful effects, but sustained use over a very highly fragmented drive is not only a performance killer, it can also cause stability issues.
Says:
September 10th, 2007 at 9:44 am
I strongly prefer automatic defragmentation so that I don’t have to waste time for a manual defrag or schedule a defrag for a period when the PC may or may not be busy.
A good automatic defragmenter will defrag efficiently and automatically during system idle, thereby keeping fragmentation under control most of the time. A funtional and hassle-free solution.
Says:
September 10th, 2007 at 4:49 pm
I couldn’t agree more as I use a program called Defragmenter Pro Plus for scheduling and performing hard drive checks. It can also be used to remove junk files, before the defrag.
Shawn DesRochers
Says:
March 10th, 2008 at 9:16 am
Useful article!