PaulSpoerry.com

You found me… insights on technology, philosophy, Windows, hacking and more.
  • rss
  • Home
  • Links
  • Contact
  • Categories
  • Search
  • Snazzy Archives
  • About
  • Photos

Add Defragment to a Drives Right-Click Menu

PaulSpoerry | July 29, 2008

Direct from HowToGeek comes instructions on adding a simple registry tweak that will allow you to add “Defragment” to the context menu on any drive when you right click it.

After manually applying or downloading the hack, you’ll have a new item on the right-click menu for your drives…

image106 Add Defragment to a Drives Right-Click Menu

Which will start up the command-line version of Disk Defragmenter (after accepting the UAC prompt)

image107 Add Defragment to a Drives Right-Click Menu

Manual Registry Hack

Open up regedit.exe through the start menu search or run box, and then browse down to the following key:

HKEY_CLASSES_ROOT\Drive\shell

image108 Add Defragment to a Drives Right-Click Menu

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.

image109 Add Defragment to a Drives Right-Click Menu

Next, 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

You can alternately choose from one of the other defrag switches here if you’d like.

Downloadable Registry Hack

HowToGeek provides a downloadable registry hack to do all of this for you. Simply download, extract, and double-click on either AddDefragToDriveMenu.reg (for the regular menu) or AddDefragToExtendedDriveMenu.reg (to hide behind the Shift key). There’s also an included removal script that will remove either one.

Comments
No Comments »
Categories
Tech, Vista Tweaks, Windows
Tags
command line version, context menu, default options, disk defragmenter, hkey classes root, howtogeek, menu search, registry hack, registry tweak, right click menu, root drive, shell, start menu, switches, vista tweak, Vista Tweaks, windows registry hack, windows vista
Comments rss Comments rss
Trackback Trackback

Content

  • Popular Posts
  • Recent Posts
  • TagCloud
  • Comments

Popular Posts

  • Download Wordpress plugins
  • Guitar Hero: Metallica due by Q1 2009
  • IPod Touch with 9 inch screen coming in 2009
  • How to get an invite to what.cd
  • Be your own IT - Free Computer Repair Tools

Recent Posts

  • Windows 7 Beta Available as Free Download
  • Online ping test - JustPing
  • Windows 7 slaughters Vista and XP in performance
  • 7-Zip 4.64 Released
  • Google OS in 2010

Tag Cloud

ajax amazon apple barack obama bittorrent blog facebook firefox Gadgets Gmail google Google Chrome HTC Touch humor iGoogle internet explorer iphone JavaScript john mccain Linux mac os x menu search microsoft microsoft windows Mozilla Firefox open source operating system Politics Ron Paul Sprint Touch start menu united states user interface video Vista vista tweak Vista Tweaks web browser Windows Windows 7 Windows Mobile windows vista windows xp Wordpress youtube

Recent Comments

  • Windows 7 Beta Available as Free Download | PaulSpoerry.com on Download a copy of Windows 7 from Bittorrent
  • [BLOCKED BY STBV] guitar on Guitar Hero: Metallica due by Q1 2009
  • The Year Open Mobile OSses Mature - Not! | Playout Intelligence on Google OS in 2010
  • themaze on Paste Special As Unformatted text - must DIE
  • Whalecore on How to get an invite to what.cd

Google Search

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox