This guide explains how to defragment the boot and application files in Windows Vista.
- Open the command prompt with administrative privileges by clicking the Start orb, All Programs, Accessories, right-click Command Prompt, and then click Run as Administrator.
- Type defrag c: -b (assuming you want to defragment files on your C: drive) and then press Enter on your keyboard. You could also type defrag –b to defrag boot and application files on all hard drives.
- You won’t see any output in the command prompt during the defrag process.
- When it’s finished defragmenting a new line will appear in the command prompt.
Note: You can stop a defrag running from the command prompt at any time by pressing Ctrl+C on your keyboard.
Still need help? Ask Your Computer Question Now.
Explore other guides about: All • Maintenance • Vista • Windows.

What are the benefits of doing this?
Does disk degfrag not do this already?
Your computer will boot faster. Not disk defragmenter doesn’t do this.
thanks microsoft for not listing the “-b” option when you type in “defrag /?”. typical microsoft.
grrr, i hate their products. i hope google and apple run microsoft out of business.