Here is a simple tweak on how to add Defrag.exe to the right click context menu.The tweak works only with win. xp and home.

Open Notepad and paste in the following code :

[version]
signature=”$CHICAGO$”
[DefaultInstall]
AddReg=AddMe
[AddMe]
HKCR,”Drive\Shell\Defrag\command”,,,”DEFRAG.EXE %1″

When you are done click Save file as,choose a location,choose to save file as All files and save it as context_defrag.INF
When that’s done, right click on context_defrag.INF file and click install.

Now go to one of your hard drives and right click.You’ll now see Defrag.exe on the right click menu.



4 Comments to “How to add Defrag.exe to right click context menu”

  1. Nancy | December 3rd, 2006 at 8:15 pm

    After fixing up word wrap and checking my quotes after pasting, it worked like a dream. Thanks for the tip.

  2. carol | December 3rd, 2006 at 9:37 pm

    Glad it worked Nancy.
    If you want something that works without you doing anything,then download Iobit SmartDefrag.
    Set it and he’ll do the job for you.

  3. How to Add Defrag Command in Windows XP Context Menu at Shivaranjan’s Blog | December 6th, 2006 at 7:07 pm

    […] Found via Carol’s Vault Technorati Tags: command line, defrag, defragmentation, how to, Microsoft, Tutorial, Windows, windows xp, xpShare and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. […]

  4. Shivaranjan | December 7th, 2006 at 9:58 am

    I had to add this to make it work

    ; context_defrag.INF

Leave a Comment

Close
E-mail It