Defragmentation makes your computer hard disc do extra work so that can slow your computer. Your hard disc can work more efficiently if the defragmenter rearranges the fragmented data. Defragmenter runs on a schedule but you can do it manually also.
Defrag your drive in windows vista
You have to open a Command Prompt as Administrator. For this you have to go to start and then click on all programs and the click accessories. You have to then right click on the command prompt and select the option ” Run as administrator”. To do this you would require administrator privileges on the computer. To see how much your hard drive is fragmented type the following (in this example, your C drive): Defrag c:-a. At the bottom Vista will tell you a “Percent file fragmentation” if you need to defragment the drive or not. It is better to leave the computer and give it time to run and then you are done.
Some more defrag option:
To defrag all drives there are more command line parameters. You can also mention for more options. Just defrag fragments smaller then 64Mb. To get help just type: defrag/?
To help you out here is the output:
For improving system performance locates and consolidates fragmented files on local volume use the command defrag <volume> -a[-v]
Mount point path of the volume or <volume> Specifies drive letter to be defragmented. To defragment all volume of this computer use the –c command and to performs the analysis only use –a. The -r option performs the partial defragmentation. Fragments are smaller than 64Mb and attempts only to consolidate. The -w option does the full defragmentation regardless of their size and attempts only to consolidate all files while the -f option is used when free space is low forces defragmentation of the volume. You can use the -v option for the verbose mode. The analysis output and the defragmentation is more detailed. Some of the examples are defrag d: ; defrag d:volmountpoint -w –f; defrag d: – a – v; defrag -c -v
Only drives E and F were fragmented as it turned out so defragged them and to a text file outputted the result. To perform this use the following command Defrag e: -w –v > c:tempdefrag_e_300108.txt
In windows operating systems earlier version it could take lots of time to cancel defragmentation if the defrag engine was in the middle of a large move request but in Windows Vista a smaller portion of input and output request processed by defrag engine. Therefore the situation where the defrag engine is busy with processing large move request when you cancel a defragment session can be avoidable.
Ability to defragment the volume with less free space:
In Windows Vista you can defragment the volume when they have less free space. Which Is not possible in earlier version of Windows operating system.
Master File Table (MFT) defragmentation:
The defrag engine can combined the MFT fragment during fragmentation if the MFT is speared into multiple fragment.