Windows XP: Scheduling defrag.exe
Programs like Diskeeper allow you to schedule defragmentation scans and keep the bits (pieces) of files together. This helps your system perform better because it’s not having to search for every piece of a file on different places on the drive.
What if you just want to use the built-in Windows defrag program on a schedule? I know what you’re thinking. “Duh, just open Task Scheduler and choose it from the list of programs.” Well, you’d be wrong. Go ahead and look in the Scheduled Task Wizard and you won’t find defrag in that list. I don’t know why Microsoft removed it but they did. Here is how to make it work.
C:\WINDOWS\system32\defrag.exe C:. Click the Set password… button and type the password (twice) that matches the username located next to Run as:. Click OK and you’re done.Congratulations, you created a task to defrag your hard drive. Unfortunately, one of the limitations is that you can only set one drive volumne (C:, D:, etc.) at a time. This is probably fine for the average Joe or Jane user. If you have more than one drive you want defragged, you will have to either create another task or purchase software (like Diskeeper) that allows scheduling multiple drive defragmentation.
You can have a defrag report generated by appending /v >report.txt to the end of the Run: command. This would defrag C: and put a report, called DefragReport.txt, in the root directory (C:) when it finished:
C:\WINDOWS\system32\defrag.exe C: /V >C:\DefragReport.txt.
In case you didn’t know, the defrag program built into Windows XP was developed by the same company, Executive Software, that markets Diskeeper. It’s not as feature rich as Diskeeper but it does a very good job of organizing the data.
(Article 1, Day 1)
You can leave a response, or trackback from your own site.
























Clock’s ticking……. where’s #2?
Hey! I said “14 articles in 14 days”….not “1 article every day for 14 days”
I’m working on #2 right now. It should be up within the next couple of hours. Remember, I’m on CST time so I’ve still got 4.5 hours.