Results 1 to 3 of 3

Thread: Add Defragment to context menu for a drive

  1. #1
    Join Date
    Apr 2008
    Posts
    586

    Add Defragment to context menu for a drive

    Disk Fragmentation occurs naturally when you use a hard disk drive frequently and is important especially for users who install lots of programs or perform lots of read and write operations on their hard drives.Read operations waste more time because all the bits that make the file are not in one place but scattered around the complete hard drive. Defragmenting the drive moves them closer to each other to speed up loading times. Here is a simple trick to add Defragment to the right click context menu of a drive:

    Go to Start and run regedit,exe and locate this Key:

    HKEY_CLASSES_ROOT\Drive\shell
    Once you reach to shell, create a new key named runas with the default value to Defragment.

    Now right-click on defragnow and create a new subkey called command.

    Double-Click the Default entry on the left side again and enter the following value: defrag.exe %1 -v

    You can alternately choose from one of the other defrag switches here if you'd like.That is it. Close the registry and get back to desktop.Now test it by right clicking a drive defrag option appears or not. If it is there,click on it, and see a new window should appear and the defragmentation should automatically start.

  2. #2
    Join Date
    Apr 2008
    Posts
    586

    Re: Add Defragment to context menu for a drive

    Remember while browsing the Key key HKEY_CLASSES_ROOT\Drive\shell, If the shell key is missing create it by right-clicking on Drive and selecting NEW, KEY and enter the name shell. Create a subkey the same way naming it defragnow and follo wthe rest of the steps.

  3. #3
    Join Date
    Apr 2008
    Posts
    395

    Re: Add Defragment to context menu for a drive

    you can either add Defragment to context menu by merging this file to the registry values into the Windows registry.Just Download, extract, and double-click on it.

Similar Threads

  1. Remove VLC From Context Menu
    By Nadiaa in forum Windows Software
    Replies: 6
    Last Post: 12-05-2010, 11:37 PM
  2. Remove Adobe CS4 drive from context menu
    By Faiz_4u in forum Windows Software
    Replies: 3
    Last Post: 29-06-2009, 11:46 PM
  3. How to Edit Context menu in Windows
    By Relish in forum Windows Software
    Replies: 3
    Last Post: 11-06-2009, 02:29 PM
  4. How to Add Flip 3D to the Context Menu in Vista
    By aalbaiz in forum Customize Desktop
    Replies: 2
    Last Post: 14-03-2009, 09:57 PM
  5. Context Menu slow to open
    By Leman in forum Operating Systems
    Replies: 1
    Last Post: 26-02-2009, 10:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,393,261.91164 seconds with 16 queries