Skip to content

Fix My XP

Increase font size  Decrease font size  Default font size 
You are here:    Home arrow Site Navigation arrow Windows XP Fixes arrow Windows XP Fixes arrow Repair the Defrag Utility

Login

Welcome, Guest. Please login or register.
May 16, 2008, 11:24:04 AM
Username: Password:
Login with username, password and session length

Forgot your password?
forumhelpmodule.jpg

Translate

 

Repair the Defrag Utility Print
Written by windowsxp550   
Tuesday, 10 April 2007
Please Enter New Tags Separated By Comma's
  Or Close

defragment  degfrag  repair defrag 

Image Defragging your hard drive is important. Over time, files on your disk become fragmented which results in lower hard drive performance. If your Windows XP Defrag Utility has been not working properly, you will be pleased to know that you can repair it without resorting to a repair install.


Disclaimer: Warning Serious problems might occur if you modify system files located in your System32 folder incorrectly. If you choose to follow this guide, you understand that any changes made to your system files are done so at your own risk, Every effort has been made to ensure that the suggested changes are correct and safe. Furthermore, you agree that FixMyXP.com cannot be held responsible for any potential damage done to your system by using this guide.


What you will need:

  • Access to a Windows XP Disk
  • Logged into Windows XP as a user with Admin permissions
  • Some time : About 5-10 mins

Next, we need to grab the XP defrag files from the Windows XP Disk. Stick your XP Disk into your CD Drive, then when the autoplay box pops up, close it.

Now we need to launch a command prompt window, so click backupreg_01.jpg then backupreg_02.jpg Type cmd then click backupreg_03.jpg

Now, we need to get the XP defrag files off of the CD, to do this we will use the Expand command.



Please note that the commands I have listed below work if your main drive is C:\ and the CD Drive is D:\ . You will have to check to see what drive letter your main drive and your CD Drive is before you continue. If your main drive and/or your CD Drive is assigned to a different letter, please adjust the command accordingly. (Note: after each line Hit the Enter Key, if you get a message asking if you want to replace an existing file, type y for yes)

expand D:\i386\dfrg.ms_ C:\windows\system32\dfrg.msc            
expand D:\i386\dfrgfat.ex_ C:\windows\system32\dfrgfat.exe        
expand D:\i386\dfrgntfs.ex_ C:\windows\system32\dfrgntfs.exe    
expand D:\i386\dfrgres.dl_ C:\windows\system32\dfrgres.dll       
expand D:\i386\dfrgsnap.dl_ C:\windows\system32\dfrgsnap.dll     
expand D:\i386\dfrgui.dl_ C:\windows\system32\dfrgui.dll            
expand D:\i386\defrag.ex_ C:\windows\system32\defrag.exe      

Finally, we need to re-register our Dlls, so we need to launch a command prompt window, so click the start button then run, then type CMD and then hit enter.

Type the following commands (hitting Enter at the end of each line). Note: You will get a pop up box confirming that the dll has registered successfully

CD C:\Windows\System32      
regsvr32 dfrgui.dll                    
regsvr32 dfrgsnap.dll               
regsvr32 dfrgres.dll                  

Comments (7)Add Comment
...
written by eightwpm, December 03, 2007
after all this fails?
almost there .... again .. fixed!
written by goz, October 07, 2007
Hi,
FYI, meanwhile I found help to my problem elsewhere:
Using Windows Explorer browse to your windowsinf folder.
In there you will find a file called dfrg.inf right click this file, and select Install.
If the dfrg.inf is missing, it can be expanded from the install CD or from windowsi386 directory.
almost there .... again
written by goz, October 07, 2007
Hi, many thanks for writing this advice. However I have the same problem as guardianseraph77:
"dfrgres.dll was loaded, but the DLLRegisterServer entry point was not found. This file can not be registered."

I think it is not because of spelling, I have the DLL correctly expanded and I see it in system32 directory. What else can be wrong?

Many thanks in advance for help.
almost there...
written by guardianseraph77, September 23, 2007
your help on this matter is invaluable! i've been looking for weeks for aid such as this, and so i want to thank you so much! however, i have been unable to finish the final step, where under C:WindowsSystem32, i type in the cmd to regsvr32 dfrgres.dll and i get a pop up that says

"dfrgres.dll was loaded, but the DLLRegisterServer entry point was not found.
This file can not be registered."

what do i do now?
defrag repair
written by peter kelly, September 04, 2007
I do not have windows xp cd. Sony provided me to make recovery disks only. recover disk formats my dive. Is there any other way to repair my defrag.exe file. It is in my sys32 folder but does not load.
Spelling error
written by ryan, August 03, 2007
You need to check the spelling on your expand path.
C:Windowssystem32...

The missing "s" in system makes a difference to the copy/pasters smilies/wink.gif

------
Admin: This has been corrected. Thanks for letting me know
...
written by ranse, April 11, 2007
I have switched from the inbuilt defragmenter to Diskeeper after i checked it out on my friend's machine, its a whole lot faster and has some advanced features like defragging while the system is working and defragging as and when fragmentation occurs on the drive

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

security code
Write the displayed characters


busy