- 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.


Leave a Reply