Desktop Tweaks - Add Defragmentation to Context Menu

This tweak will add the Defragmentation Utility on the Context Menu in the Windows Explorer.

To do this, follow the next steps:

  1. Open the Registry Editor click on the Start button on your taskbar, then click on Run and type "regedit" and click on OK to start the regedit utility.
  2. Expand HKEY_CLASSES_ROOT\Drive\shell\ (see picture 1).

    Picture 1
  3. Create a new key "Defragmentation".
  4. Create a new key "Command".
  5. Double-click on the default value and add the value Defrag %1 -f -v.
  6. There is no need to reboot.



Lex van der Horst

Date Added:


Last Reviewed: