Microsoft windows comes with a powerful defragmentation utility, there might be instances when you would want to defragment your hard drives using the command line. This is very simple and easiest way to fragment the local drives.Running the disk defragmenter in command-line uses less system rescources than the GUI version and often completes faster.
Follow the simple steps :
1.Open the start menu, and click on “Run”. After this, type in cmd . A command-line window will appear.
2.To run the Windows Disk defragmenter, simply type in defrag <volume you wish to defragment> ie: If you want to defragment C drive then just type defrag c:
Microsoft has provided the additional parameters to simplified the Defragmentation of drives. So you can use this options in the command line.
Parameters :
/a : Analyzes the volume and displays a summary of the analysis report.
/v : Displays the complete analysis and defragmentation reports.
When used in combination with /a, displays only the analysis report. When used alone, displays both the analysis and defragmentation reports.
/f : Forces defragmentation of the volume regardless of whether it needs to be defragmented.
/? : Displays help at the command prompt.
Syntax :
- defrag volume
- defrag volume [/a]
- defrag volume [/a] [/v]
- defrag volume [/v]
- defrag volume [/f]
Give a try to this simple method and Defragment your hard drives to increase the system performance.
Jus go to command prompt… type “defrag/?” to know the details…
Hey Mathes,
Thanks for the tip 🙂
Defragmentation is really improtant when comes to the issue of computer maintainence. To defragment hard disk, I prefer to use third party defrag softwares as most of them are much faster and effective than the Windows bulid-in defragment. Here is another good article that may offer you more tips on the computer optimization: http://ezinearticles.com/?How-to-Speed-Up-Computer—6-Easy-Steps-to-Boost-PC-Performance&id=3258161
Thanks for the tip dude
Nice trick for advanced users, but I think Basic users can also try this because it is well explained here. I will recommend Auslogics Disk Defrag utility will is very faster than any other defragment utilities. And it is free of cost. ^_^
Thanks for your comment Suraj