In a Windows XP computer, 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 Defragment Now button is unavailable
- When you click Defragment Now, you receive the following error message:
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:
- Click Start, click Run, type %Windir%\Inf, and then click OK.
- Right-click the dfrg.inf file, and then click Install.
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
Other Defrag Issues
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:
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in Windows — delivering support for Microsoft's consumer products. He has been a Microsoft MVP (2003-2012) who contributes to various Windows support forums.