- Home
- Windows XP
- Error messages
- How to fix Disk Defragmenter problems in Windows XP
How to fix Disk Defragmenter problems in Windows XP
- Copyright © 2008 Ramesh Srinivasan
- Error messages
Symptoms
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.
Resolution
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:
- regsvr32 dfrgsnap.dll
- regsvr32 dfrgui.dll
Related Articles
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?
12 Responses to "How to fix Disk Defragmenter problems in Windows XP" 
|
said this on 02 Dec 2006 10:25:51 AM PDT
I was having problems getting my defragmenter to defrag the main C drive. That tip about getting the dfrg.inf file from Windows\inf to reinstall disk defragmenter worked great. Thanks for the time-saving tip. Tim
|
|
said this on 08 Dec 2006 2:53:51 PM PDT
Instructions are clear and helped to solve my problem faster than quickly.
Thanks!
|
|
said this on 15 Feb 2007 12:34:35 PM PDT
this worked for my XP
regsvr32 dfrgsnap.dll
from above
|
|
said this on 07 May 2007 11:28:32 AM PDT
Excellent help -after I uninstalled Diskkeeper the defrag snapin wouldn't work but this fixed it the regsvr32 commands that is -thx!
|
|
said this on 02 Oct 2007 4:03:01 PM PDT
Thanks to this article I was able to install my defragmenter with ease. Thanks so much for the help.
-RandoM-
|
|
said this on 18 Nov 2007 2:40:30 PM PDT
Very helpful. Fixed my problem.
|
|
said this on 13 May 2008 5:29:27 AM PDT
Still cannot get my XP Media Pro to run defrag... ZAC - Australia
IT SAYS A SCHEULED RUN IS DUE ON C - BUT IT JUST NEVER HAPPENS
|
|
said this on 09 Aug 2008 8:08:58 AM PDT
Thank you so much!
Helped me in a sec'
Great!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
said this on 06 Sep 2008 5:53:36 AM PDT
still cannot install the defrag?if i try to test this command rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf.the screen shows installation failed?is thier any solution?can i extract the defrag file coming from my xp installer for defrag installer?
|
|
said this on 11 Mar 2009 6:19:40 AM PDT
Awsome look forward to using more help from your site!!!
|

Author)