First of all frequently you must find it throughout the start menu, or else explore the window’s drive properties, when you need to access the Defragment menu. As a substitute of going into all that, we will be able to utilize a simple registry hack to put a menu item to the drive menu by right clicking mouse.

After downloading or by hand submitting the hack, you will be able to basically right click by mouse on a drive for which you have to apply this and select ‘Defragment’ from the menu:

Name:  image106.png
Views: 36
Size:  18.1 KB

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

Name:  image107.jpg
Views: 101
Size:  21.2 KB

Manual Registry Hack

Explore regedit.exe throughout the start menu search or run box, and after that browse down to the below key:

HKEY_CLASSES_ROOT\Drive\shell

Name:  image108.jpg
Views: 105
Size:  19.8 KB

Create a new tab below shell known as ‘runas’, and after that put the (Default) value to “Defragment”. If you need to disable this menu item behind the Shift key right-click menu, then place an extended new string having no value.

Name:  image109.jpg
Views: 99
Size:  20.7 KB

Next, you will want to make key known as ‘command’ and put the default value to below, which is the command to execute defrag with the default features but show verbose output.

defrag %1 -v

If you would want, here you will be able to alternately select from one of the other defrag switches.