Latest Posts

Most Popular Posts

I find adding common tasks to the shell menu a great timesaver when I am running between stations. It is also easier to direct users to simply “right-click” on something rather than walk them through a maze of menus…or even have them find the “run” box.

  1. Click Start -> type “regedit” in the Search command box.
  2. Navigate to HKEY_CLASSES_ROOT\Drive\shell.
  3. Right-click on “shell” and select New -> Key. Name it “runas” and set the default value to “Defragment”.
  4. Right-click on “runas” and select New -> Key. Name it “command” and set the default value to “defrag %1 -v“.
  5. If you ever wish to remove this functionality, just delete the “runas” key.

 

Add Defrag to the shell menu registry edit

 

You can also paste the following into Notepad and save it as: RightClickDefragment.reg or you can download the zipped RightClickDefragment.reg here. Double-click on the .reg file and click “yes” when asked to enter it into the registry.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shell\runas]
@=”Defragment”

[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
@=”defrag %1 -v”

 

Defragment Command Screen

Related posts:

  1. Print Directory Listing in Windows
  2. Windows Vista Service Pack 1 Released: Improvements!
  3. Disabling Windows Search in Vista: Stop hard drive running constantly
  4. Windows: Scheduling Tasks via Command Line
  5. Windows 2008 / Vista Service Pack 2 Beta Download Available NOW


(No Ratings Yet)

Leave a reply


How often do you back up your important files?

View Results

Loading ... Loading ...