Right-click Defrag for Windows 7

Posted On 2010-03-16 by FortyPoundHead
Tags: Software Hack/Tweak Tip Windows 7
Views: 1829

Do you really want to quickly defragment your drive?, Instead of going through Start menu, programs and etc, use a simple tweak that adds Defrag to the context menu for each hard drive partition.

  1. Open up regedit.exe through the start menu search or run box, and then navigate to the following key: HKEY_CLASSES_ROOT\Drive\shell

  2. You need to create a new key under shell called “runas”, and then set the (Default) value to “Defragment”. If you want to hide this menu item behind the Shift key right-click menu, then add a new string called Extended with no value.

  3. After this, you’ll need to create a key called “command” and set the default value to the following, which is the command to run defrag with the default options but show verbose output: defrag %1 -v

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links