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
This week, our expert answers the question of how to get DVD data off a disc, even if the user's PC doesn't have an optical drive. Continue Reading
This week, our expert answers a question on how to connect a phone or tablet to a USB drive with a micro-USB connector. Continue Reading
Open source and free suites such as LibreOffice and OpenOffice could save organizations money, but not effort in comparison with Microsoft Office. 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.