locked
XP Defragmenter Doesn't Complete RRS feed

  • Question

  • Hi;

    I'm somewhat of a beginner in a bit of a bind. I can't seem to get the XP defragmenter to complete the task. Seems to go on forever then hangs up. Any help would be appreciated

    Tuesday, June 21, 2011 10:34 AM

Answers

  • Hi;

    I'm somewhat of a beginner in a bit of a bind. I can't seem to get the XP defragmenter to complete the task. Seems to go on forever then hangs up. Any help would be appreciated

    There are several reasons why the built-in defragger may not work properly:

    1. The disk is too full (you need at least 15% free space, sometimes 20%). Solution: Delete unneeded files and programs till you have more than 20% free space.

    2. The disk is damaged and needs to be repaired. Solution:  
    a. Open "My Computer" and right click on the drive you want to de-frag.  
    b. Select "Properties" and click on the "Tools" tab.  
    c. Select "Check now" to check the disk for errors.  
    d. Select both options and click "start";

    (It may take a while and the PC may re-start so it can do the check at boot time. Be patient and let it complete).

    3. There may be Malware on the PC
    Solution - Run the Antivrus and then the Antispyware scans (can take a while if never done. Be patient):
    a. Scan the whole system with the Anti-Virus & handle whatever found;
    b. Scan the whole system with the  Anti-Spyware & handle whatever found;

    4. Disk Defragmenter may be corrupted, needing a System Restore to correct it. Solution:  

    a. Start - All Programs - Accessories - System Tools - System Restore (click to open);
    b. Select a restore point well before you started having problems with Disk Defragmenter;
    c. Start the restore process and let it complete (Name the restore operation something descriptive like "Defrag Repair").

    5. There are other programs running that interrupt the built-in defragmenter. Solution:
    a. Close all running programs.
    b. If you suspect there may be some programs running in the background,
    c. Press Ctrl+Alt+Delete and
    d. Select "Start Task Manager"
    e. Under the "Applications" tab you will find a list of all running applications -- you can close these by selecting "End Task."

    6. If still no luck, try disabling the screen saver when running Disk Defrag (you should pretty much leave the system alone when running the built-in defrag utility).

    7. If still no go, try running the defragmenter in Safe Mode. If it runs, something is interfering with it in standard mode and tracking the interference down may not be easy.

    8. Disk Defragmenter may no longer be on the system or is so corrupted that it needs a re-install. Solution: Re-install the built-in.

    There are several methods to re-install the built-in defragger:

    A:
    a. Open the "Start" menu.
    b. Type "%Windir%\Inf" in the "Search" box and press "Enter".
    c. In the window that opens, find the file named "dfrg.inf".
    d. Right-click on "dfrg.inf" and "Install."

    B:
    a. Go to "Start > Run" on your computer.
    b. Type "rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf" and press "Enter"
    3. Click "OK" to make the program automatically reinstall itself.

    C:
    a. Go to Start >All Programs>Accessories>Right Click on Command Prompt> select "Run As Administrator"
    b. At command prompt, type "regsvr32 dfrgsnap.dll" and hit "Enter."
    c. Type "regsvr32 dfrgui.dll" and hit "Enter." This will reinstall any missing defragger files.

    Most problems will resolve by #6 above, but if not and if your windows install is otherwise running fine, consider downloading a free trial of a commercial defrag tool as opposed to doing drastic actions to restore the built-in's functionality.

    Third party programs  are more robust and many work in the background so you can use your PC while defragging.
    Most third party programs offer a free, fully-functional trial (the better ones are for 30 days). Installing one of these will disable the built-in and if you decide to uninstall it, removal will replace the built-in, many times repairing it in the process -- it's worth a try. . ..

    9. Here is a recent Top 10 Reviews side-by-side comparison of the best defrag programs available:

    http://disk-defragmenter-software-review.toptenreviews.com/

    a. Select a program and install it. The better defrag programs are automatic and the top placers in the above review can defrag while using the PC. The top placer was the only defrag program that prevented fragmentation (see the review).

    b. Defragment your disk drives.


    Good luck and let us know if you have any questions (post your questions and I'll answer then as best as I can).

    Bill R TechSpec

    PS: If after all this, the PC is still not doing well, repair may involve repairing the windows installation and possibly re-installing windows itself. These are not simple solutions. If needed, state so and directions can be provided.
    ..

    Wednesday, June 22, 2011 4:41 AM

All replies

  • Hi;

    I'm somewhat of a beginner in a bit of a bind. I can't seem to get the XP defragmenter to complete the task. Seems to go on forever then hangs up. Any help would be appreciated

    There are several reasons why the built-in defragger may not work properly:

    1. The disk is too full (you need at least 15% free space, sometimes 20%). Solution: Delete unneeded files and programs till you have more than 20% free space.

    2. The disk is damaged and needs to be repaired. Solution:  
    a. Open "My Computer" and right click on the drive you want to de-frag.  
    b. Select "Properties" and click on the "Tools" tab.  
    c. Select "Check now" to check the disk for errors.  
    d. Select both options and click "start";

    (It may take a while and the PC may re-start so it can do the check at boot time. Be patient and let it complete).

    3. There may be Malware on the PC
    Solution - Run the Antivrus and then the Antispyware scans (can take a while if never done. Be patient):
    a. Scan the whole system with the Anti-Virus & handle whatever found;
    b. Scan the whole system with the  Anti-Spyware & handle whatever found;

    4. Disk Defragmenter may be corrupted, needing a System Restore to correct it. Solution:  

    a. Start - All Programs - Accessories - System Tools - System Restore (click to open);
    b. Select a restore point well before you started having problems with Disk Defragmenter;
    c. Start the restore process and let it complete (Name the restore operation something descriptive like "Defrag Repair").

    5. There are other programs running that interrupt the built-in defragmenter. Solution:
    a. Close all running programs.
    b. If you suspect there may be some programs running in the background,
    c. Press Ctrl+Alt+Delete and
    d. Select "Start Task Manager"
    e. Under the "Applications" tab you will find a list of all running applications -- you can close these by selecting "End Task."

    6. If still no luck, try disabling the screen saver when running Disk Defrag (you should pretty much leave the system alone when running the built-in defrag utility).

    7. If still no go, try running the defragmenter in Safe Mode. If it runs, something is interfering with it in standard mode and tracking the interference down may not be easy.

    8. Disk Defragmenter may no longer be on the system or is so corrupted that it needs a re-install. Solution: Re-install the built-in.

    There are several methods to re-install the built-in defragger:

    A:
    a. Open the "Start" menu.
    b. Type "%Windir%\Inf" in the "Search" box and press "Enter".
    c. In the window that opens, find the file named "dfrg.inf".
    d. Right-click on "dfrg.inf" and "Install."

    B:
    a. Go to "Start > Run" on your computer.
    b. Type "rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf" and press "Enter"
    3. Click "OK" to make the program automatically reinstall itself.

    C:
    a. Go to Start >All Programs>Accessories>Right Click on Command Prompt> select "Run As Administrator"
    b. At command prompt, type "regsvr32 dfrgsnap.dll" and hit "Enter."
    c. Type "regsvr32 dfrgui.dll" and hit "Enter." This will reinstall any missing defragger files.

    Most problems will resolve by #6 above, but if not and if your windows install is otherwise running fine, consider downloading a free trial of a commercial defrag tool as opposed to doing drastic actions to restore the built-in's functionality.

    Third party programs  are more robust and many work in the background so you can use your PC while defragging.
    Most third party programs offer a free, fully-functional trial (the better ones are for 30 days). Installing one of these will disable the built-in and if you decide to uninstall it, removal will replace the built-in, many times repairing it in the process -- it's worth a try. . ..

    9. Here is a recent Top 10 Reviews side-by-side comparison of the best defrag programs available:

    http://disk-defragmenter-software-review.toptenreviews.com/

    a. Select a program and install it. The better defrag programs are automatic and the top placers in the above review can defrag while using the PC. The top placer was the only defrag program that prevented fragmentation (see the review).

    b. Defragment your disk drives.


    Good luck and let us know if you have any questions (post your questions and I'll answer then as best as I can).

    Bill R TechSpec

    PS: If after all this, the PC is still not doing well, repair may involve repairing the windows installation and possibly re-installing windows itself. These are not simple solutions. If needed, state so and directions can be provided.
    ..

    Wednesday, June 22, 2011 4:41 AM
  • Hi,

     

    Thank you for visiting the Microsoft forum. This forum focuses on Perfmon and diagnostic tools. I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.

     

    Thanks.

    Bruce Adamczak


    Bruce Adamczak Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you
    Wednesday, June 22, 2011 1:20 PM