internet.com
You are in the: Small Business Computing Channelarrow
Small Business Technology
» ECommerce-Guide | Small Business Computing | Webopedia | WinPlanet |Refer-It
Webopedia.com
Enter a word for a definition... ...or choose a computer category.
 
 

menu
   Home
   Term of the Day
   New Terms
   Pronunciation
   New Links
   Quick Reference
   Did You Know?
   Categories
   Tech Support
   Technology Jobs
   About Us
   Link to Us
   Advertising

   rss/xmlrss/xml  

Become a Marketplace Partner



talk to us
   Submit a URL
   Suggest a Term
   Report an Error

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
commerce
  Be a Commerce Partner
 
 
 
 
 
 
 
 
 
 
 
 
 
 

How to Defrag a Hard Drive
Optimizing A Disk By Unfragmenting Files
Last updated: January 16, 2008

A little preventative maintenance goes a long way when it comes to your Windows-based PCs. All Windows operating systems come with tools that you can use to help keep your computer running in top shape. One such tool is the Disk Defragmenter (defragment), which works to optimize fragmented files on the hard disk drive.

Fragmentation describes the condition of your hard disk drive when files are divided into pieces and scattered around the disk. Fragmentation occurs naturally when you use a disk frequently, just by doing basic tasks like creating, deleting and modifying files.

At some point, the operating system needs to store parts of a file in noncontiguous clusters. This is entirely invisible to you, but it can slow down the speed at which data is accessed because the disk drive must search through different parts of the disk to put together a single file. In a nutshell, the Disk Defragmenter will optimize a disk by unfragmenting the stored files.

 

How Disk Defragmenter Works
When you run the Disk Defragmenter it will perform several tasks. The application will locate fragments of files stored in different locations on the disk and then copy them into a single continuous file at a point on the disk that has enough free space. It then compares the two files and updates the Master File Table (MFT). After writing to the MFT, the Disk Defragmenter will then delete the old fragmented file and the MFT is again updated with the new free space information.

How to Access the Disk Defragmenter
In Windows XP or Windows Vista you can access the Disk Defragmenter tool through the following steps:

Click Start, select All Programs, select Accessories, select System Tools, click Disk Defragmenter.
(or)
Open your Windows Explorer and view all drives. Right click on the drive you want to defragment and select Properties. In the Tools tab choose Disk Defragmenter.

In the Disk Defragmenter tool box, you'll need to select the hard drives you want to defragment. In Windows XP you can Analyze the drive first. A user interface will show you the progress as you run Disk Defragmenter. In Windows Vista there is no graphical view of the progress as the application works.


Defrag in Vista

Defrag in XP
Screenshots showing how to access Disk Defragmenter in Windows Vista (above) and Windows XP.
(Click images for larger screens)

It May Take a While
The Disk Defragmenter tool can take anywhere from minutes to hours to run, depending on the size of your hard drive and also how fragmented the drive is. One way to run the Disk Defragmenter and not lose any computing time is to leave the system and run the Disk Defragmenter during a time when the system can be left on but is not be in use (e.g., 3 or 4 a.m.). You can simply use the steps above to launch Disk Defragmenter when your computing tasks are done for the day or you can have the Windows Task Scheduler automatically run the Disk Defragmenter on a certain day and time each week or month. In Windows XP or Windows Vista you can access the Task Scheduler tool through the following steps: Click Start, select All Programs, select Accessories, select System Tools, click Task Scheduler.

Tips for Getting the Best Results

  • Ensure you have no applications running when you start the Disk Defragmenter. If you system is accessing applications the Defragmenter will not stay running. Be sure to turn off your screensaver also.
  • Delete your Temporary Internet Files and other files you do not use. You can also uninstall unused programs. In the Properties tab of your hard drive you can access "Disk Cleanup," which will help you get rid of unused and unnecessary files.
  • Run the Disk Defragmenter at regular intervals. However you can also run the tool if you add a lot of files to the disk at one time or find you are running low on disk space.

Vangie 'Aurora' Beal
Writer, www.Webopedia.com
Last updated: January 16, 2008


Related Links

Webopedia Quick reference: Tips to Fix a Slow Running Computer
There are many reasons why your computer could be running slowly, but here are some easy steps you can take to figure out what is causing the slow down.

Webopedia Quick Reference: How to Clean Your Computer
From dusty computer fans to fingerprints on compact discs, computer parts and devices can get awfully dirty. Here are some tips to help keep things clean.

Webopedia's "Did You Know...Formatting a Hard Disk Drive"
When installing a hard disk drive (commonly called a hard drive) for the first time, attempting to remove errors from your drive, getting rid of a nasty virus, or even cleaning a hard drive because you are selling or donating your computer . those are just a few of the many reasons why one might consider formatting their hard drive.

Webopedia's "Did You Know... Preventative Maintenance Tips for Your PC"
The following tips will serve as a basic guideline to keep your PC maintained to run efficiently, increase component lifespan and also will help lessen the likelihood of PC failure


Webopedia's "Did You Know...All About Monitors: CRT vs. LCD"
The two types of monitor technologies available to consumers are available in CRT monitors and LCD monitors. There are big differences between LCD and CRT, and while LCD technology has advanced to the point where its viewing quality is comparable to CRTs, many people today still choose to purchase a CRT monitor.

Webopedia's "Did You Know...The Difference Between a Virus, Worm and Trojan Horse"
Viruses, worms and Trojan Horses are all malicious programs that can cause damage to your computer, but there are differences among the three, and knowing those differences can help you to better protect your computer from their often damaging effects.

Webopedia's "Did You Know...Formatting a Hard Disk Drive"
When installing a hard disk drive (commonly called a hard drive) for the first time, attempting to remove errors from your drive, getting rid of a nasty virus, or even cleaning a hard drive because you are selling or donating your computer . those are just a few of the many reasons why one might consider formatting their hard drive.


Webopedia's "Did You Know...How to Completely Erase a Hard Disk Drive"  
Simply erasing all the data on your hard drive and formatting it is not enough security. You can spend hours going through your hard drive and deleting all the files and documents you want, but using the delete key on your keyboard in Windows basically only removes the shortcuts to the files making them invisible to users. Deleted files still reside on the hard drive and a quick Google search will show many options for system recovery software will allow anyone to reinstate that data.

Webopedia's "Did You Know...Static Electricity and Computers" 
Whenever the casing of a computer is opened and its internal workings are exposed (to change a hard drive or add memory chips, for example), there is a danger of damaging the computer with the buildup of static electricity that is held by the human body.




Do you have an interesting piece of computer-related trivia that you would like us to explore?
Tell us about it.




JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers