Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a log file for Windows (Storage) Server 2008 built in defragmenter? I can not find a log file, event ID, or anything that gives a reference to the status of the defragmenter.

From the built in Disk Defragmenter program, there is a "Last Run" date and time, but I dont know if that is the equivalent of completed.

Anyone know where to look?

share|improve this question
dont know why someone just downvoted without a reason – Keltari Feb 10 '15 at 20:36

The command line version of defrag cannot write to the event log, so Microsoft suggests using scripts in combination with defrag's exit codes to create event log entries if log entries are desired. Also, for client machines a defrag is a scheduled task, so the last run time would be there, not sure about the server OSes though.

Disclaimer: I could have guaranteed it was a sched task in Vista/7, but checking my 7 machine it's not there, and I don't remember deleting it. Other sites also say it's a scheduled task in 7.

share|improve this answer
FYI Was not using the command line version, but the application the application on the tools menu from the drive properties. – Keltari Apr 25 '13 at 12:18
i just looked at the article, it applies only to XP, but MS articles are smart and said it didnt apply to my OS (win 7) and to click a link... So I will open it up on server 2k8 when I get into work, and see if it offers a link – Keltari Apr 25 '13 at 12:20
@Keltari okay, whenever I've seen that link and clicked it I'm taken to some generic Windows support page, as opposed to a .NET documentation when I can choose the version of .NET I'm using, and be taken to the same documentation but the specific .NET version I need, but YMMV. Clicking the link for Windows 7 took me here, for example. – BigHomie Apr 25 '13 at 12:34
@Keltari also, I think the gui just calls the commandline anyway, but I could be wrong. – BigHomie Apr 25 '13 at 12:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.