- 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
Enjoyed the post? Subscribe to our feed to get frequent updates. We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems! (Click on the Feed icon on the left and subscribe.)
If you prefer an Email subscription, here is the subscription form:
Spread The Word
Related Articles
13 Responses to "How to fix Disk Defragmenter problems in Windows XP" 
|
said this on 01 Oct 2006 8:45:06 AM PDT
The article is excellent, the way you present the problem and explaination is very clear to understand, thank you.. bhadresh
|
|
said this on 05 Oct 2006 2:37:57 AM PDT
I tray this procedure, but on my machine no changes.I can open defragmenter, press analyze, i have message can`t run.
|
|
said this on 06 Oct 2006 7:43:17 PM PDT
How do i install the dfrg module? Mine seemes to be missing
|
|
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
|

Author)