Disk Fragmentation occurs naturally when you use a hard disk drive frequently and is important especially for users who install lots of programs or perform lots of read and write operations on their hard drives.Read operations waste more time because all the bits that make the file are not in one place but scattered around the complete hard drive. Defragmenting the drive moves them closer to each other to speed up loading times. Here is a simple trick to add Defragment to the right click context menu of a drive:
Go to Start and run regedit,exe and locate this Key:
Once you reach to shell, create a new key named runas with the default value to Defragment.HKEY_CLASSES_ROOT\Drive\shell
Now right-click on defragnow and create a new subkey called command.
Double-Click the Default entry on the left side again and enter the following value: defrag.exe %1 -v
You can alternately choose from one of the other defrag switches here if you'd like.That is it. Close the registry and get back to desktop.Now test it by right clicking a drive defrag option appears or not. If it is there,click on it, and see a new window should appear and the defragmentation should automatically start.


Reply With Quote

Bookmarks