How to Reinstall Defrag in Windows XPby Contributing Writer
Regularly defragmenting your hard drive is an easy way to keep it running smoothly. Windows comes with a basic yet effective defragmentation program. That program may sometimes stop working, and Microsoft does not make it available for download. Fortunately, it is simple to repair.
Is your Defrag missing, or just broken?
Open \"My Computer,\" right-click on a hard drive and go to \"Properties.\" Navigate to the \"Tools\" tab.
Your Defrag is missing and needs reinstalling if: 1) the \"Defragment Now...\" button is missing or grayed-out, or 2) when you click on it you get an error message reading, \"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. Skip to \"Reinstalling Defrag.\"
Your Defrag is broken and needs repairing if: 1)you are able to open the Defrag program, but nothing happens when you click \"Analyze\" or \"Defragment,\" or 2)You receive the error message, \"Windows cannot connect to the Disk Defragmenter engine.\" Skip to \"Repairing Defrag.\"
In your main hard drive, find the c:\Windows\Inf directory. If your system directory is not on your c: drive or not named Windows, find it by clicking on \"Start,\" then \"Run\" and typing %Windir%\Inf in the box.
Find the file named dfrg.inf.
Right click the file and select \"Install.\"
Click \"Start,\" then \"Run,\" and run this command: regsvr32 dfrgsnap.dll
Click \"Start,\" then \"Run,\" and run this command: regsvr32 dfrgui.dll
- check If Defrag does not work after repairing or reinstalling it, and you have Service Pack 2 installed, try clicking \"Control Panel,\" then \"Administrative Tools\" and then \"Services.\" Find the \"DCOM Server Process Launcher\" and set its startup type to \"Automatic.\"
- check The most common cause of Defrag malfunctions is installing, running and reinstalling a third-party defragmentation software.
- check Another common error message associated with Defrag malfunctions is \"Snap-in failed to initialize.\"