When you open the Properties dialog box for the local hard disk and then click the Tools tab, one of the following symptoms may occur:
The Disk Defragmenter is not installed on your computer. To install it, double-click the Add or Remove Programs icon in Control Panel, click the Install/Uninstall tab, and then follow the instructions on your screen.
To resolve this issue, follow these steps:
Alternately, you can reinstall Disk Defragmenter using the following command:
Click Start, Run and type:
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf
Analyze and Defragment buttons in Disk Defragmenter console do nothing, or the following error message appears when running the console Defrag tool (defrag.exe)
Windows cannot connect to the Disk Defragmenter engine
Read the blog post Analyze and Defragment buttons in Disk Defragmenter console do nothing? for the solution.
If the Defrag Snap-in fails to initialize, type these commands in Start, Run dialog one by one: