* If you copy and paste this text to search: %windir%\system32\dfrgui.exe and click Enter. Is Windows Defrag there?
* Then if Defrag isn't there you can try System File Checker (SFC scan). The System File Checker tool to determine whether the issue that you are experiencing is caused by one or more system files that are used by Windows 7. The System File Checker tool scans system files and replaces incorrect versions of the system files by using the correct versions.
In search type cmd, then type sfc /scannow . When the scan is complete see if Defrag works by copy this text again to search: %windir%\system32\dfrgui.exe .
* Or you can try running the defragmenter in Safe Mode(Then you start your computer press F8 and in Advanced Boot Options Choose "Safe Mode"). If it runs, something is interfering with it and tracking the interference down may not be easy. Note: Some versions of Win 7 disable the ability to run the built in defragger in safe mode. If disabled, it will say so when trying to run it in safe mode.
* If that doesn't work 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"
c. 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.
The info have I got from this to pages:
http://www.w7forums.com/disk-defragmenter-missing-win7-t9273.htmlhttp://forums.cnet.com/7723-6122_102-537194/missing-disk-defragmenter-task-scheduler-on-pc/http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/windows-7-disk-defragmenter-does-not-work/87965977-1252-e011-8dfc-68b599b31bf5Tomas