This video tutorial is to make your computer much easier and more efficient. When you complete this video tutorial, you’ll be able to defragment the hard drive with a simple right-click.
After creating a Video Tutorial on how to add Disk Cleanup to the Right-click menu of a drive, I thought that maybe I should also create one on how to add Defragment to the right click menu. With a simple registry script.
Disk Defragmenter is an application in the Microsoft Windows which increases the speed of the system by rearranging the flies stored on a disk. Its purpose is to optimize the time in the storing of files and speed up the processing of the computer. In this Video tutorial I will show you how to add the disk defragmenter to the right click menu for a drive. It is a very easy technique and can be done with a simple registry script.
Note: When you apply the Registry script, you will see a new shortcut on the right-click menu for your drives.This will start up the command line interface version of the Disk Defragmenter (after accepting the User Account Control prompt)
To create the Registry Hack Manually
Firstly open up the regedit.exe from your start menu search or run box, and then browse down to the following key:
Make a new key under the shell called ‘runas’, and after that set the (Default) value to ‘Defragment’. If you want this menu item to be hidden behind the Shift key right-click menu, then you will have to add a new string known as Extended with no value.
Next, you will have to create a key called ‘command’ and set the default value to the following, which is the command to run the defragmenter with the default options but show effusive output.
defrag %1 -v
You can also alternately choose from one of the other defrag switches of your own choice.
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. I cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.