How do you schedule defragmentation using the Windows 2000 defrag tool, Dfrg.msc? It doesn't defrag automatically. Is there a free tool out there that I can use to schedule the defragment?
You can actually create a Windows Scripting Host script to do so. As luck would have it, I recently published a tip that involves using a script that scan be scheduled for defragging. Here it is:
set WshShell = CreateObject("WScript.Shell")
While WshShell.AppActivate("Disk Defragmenter") = FALSE
WshShell.AppActivate "Disk Defragmenter"
While WshShell.AppActivate("Defragmentation Complete") = FALSE
WshShell.AppActivate "Defragmentation Complete"
Dig Deeper on Windows Operating System Management
Related Q&A from Serdar Yegulalp, WinIT
Frustrated admins have been dealing with extend.dat error messages since Outlook 97. Our expert sheds some light on this all-too-common Outlook error.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.