When you start the Disk Defragmenter console, the following error message may be displayed and the Disk Defragmenter user interface may be missing:

Navigation to the webpage was canceled


Click Start, Run and type:

regsvr32 dfrgsnap.dll

Press Enter. Then run the following command and press Enter:

regsvr32 dfrgui.dll

If the DLL registration procedure went successfully, you'll see the message DllRegisterServer in <filename.dll> succeeded, on each occasion.

Errors occur when registering the DLLs?

If you receive one of the following error messages, then it indicates that the specific DLL is either corrupt or completely missing in your system:

LoadLibrary("Dllname") failed - The specified module could not be found.


Dllname is not an executable file and no registration helper is registered for this file type

Get a fresh copy of the file from DllCache folder

To resolve the problem, backup the existing DLL to a safe location, and then delete the specific DLL from Windows\System32 folder. Windows will restore a new copy of the file automatically from the DllCache folder. After the file is restored, try registering the DLL again.

Expand a copy of the DLL from the Windows XP CD

If that does not help, expand a fresh copy of the DLL from the Windows XP CD or from the ServicePackFiles path, which ever is applicable. To expand the two DLLs from Windows XP CD, open a Command Prompt window (CMD.EXE), and then type these commands:



Where X:\ is your CD-ROM drive letter. The above command assumes Windows is installed in C:\ drive. If not, change the drive letter / Path accordingly.