Skip to main content

Add Defragment to the Right-Click Menu for a Drive


After writing the article last week about how to add Disk Cleanup to the context menu for a drive, I received several requests for how to add another menu item for Defrag instead. With a simple registry hack we can do just that.


After manually applying or downloading the hack, you’ll have a new item on the right-click menu for your drives…
image
Which will start up the command-line version of Disk Defragmenter (after accepting the UAC prompt)
 
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
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.
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.

Comments

Post a Comment

Popular posts from this blog

Edit tiles in Windows 8

If you’ve recently installed or upgraded to Windows 8 and have started customizing programs onto its new Start Menu UI, you’ll notice that the program icons are the same old icons placed in an oversized box. You’ll see the program name under it and will be in awe at  how out of place the newly added icons are with the rest   of the Windows 8 theme. We’ve found a handy program to spruce things up by  creating awesome-looking tiles that match the look of Windows 8 apps  on the Start Menu, something like what you see below. And you can get that look using   OblyTile . First thing’s first, the icons you see above are works from users of deviantART. OblyTile only sets up your tiles; you have to provide the icons or images for the tile. But not to worry, we’ll provide you with  a few links which we’ve found to recreate the look and feel  of the screenshot you see above. Getting Started With OblyTile Run OblyTile (no insta...

STEALING PASSWORD WITH GOOGLE HACK

Google is a treasure trove full of important information, especially for  the underground  world. This Potential fact can also be utilized in the data for the username and password stored on a server. If the administrator save important data not in the  complete system authentifikasi folder, then most likely be reached by the google search engine. If data is successfully steal in by the unauthorized person, then the will be in misuse. Here, some google search syntax to crawl the password: 1.  "Login: *" "password =*" filetype: xls  (searching data command to the system files that are stored in  Microsoft Excel ) 2.  allinurl: auth_user_file.txt  (to find files auth_user_file.txt containing password on server). 3.  filetype: xls inurl: "password.xls"  (looking for username and password in ms excel format). This command can change with admin.xls) 4.  intitle: login password  (get link to the  login ...

Bump Your Desktop Into 3D With BumpTop

Your desktop doesn’t have to be a boring graveyard for lost and forgotten files anymore! Transform it with BumpTop into 3D desktop that help you keep organized. Like a real desk. Create the desktop that suits your needs and style. There’s nothing about the installation, you just keep on pressing “Forward” and you are done. When you launch BumpTop for the first time, you’ll be taken in tutorial to show you how to use BumpTop efficiently, it doesn’t last more than a minute so make sure you watch it. Features: Right after the tutorial you’ll see you shiny new 3D desktop. Let’s start using the new desktop by learning  some basics. Right-Click Options: You right-click menu is now replaced by BumTop’s menu, but you can still access your normal menu by choosing more. Piles: You can make piles of files, photos and folders just like how you do in real life. You can do this by selecting them and drag across the pile icon that appears without letting go of the mous...