SEARCH

How-To Geek

How to Add Any Application to the Windows Desktop Right-Click Menu

image

If you want really quick access to launch a frequently used application without putting extra icons on your desktop, you can add that application to the context menu for the desktop with a simple registry hack. Here’s how to do it.

Naturally, we’ve also covered the opposite scenario—how to clean up your messy Windows context menu, which is an equally useful read if you’ve got a bunch of items you want to remove from the menu.

This technique should work in Windows 7, 8, or Vista. We don’t have an XP computer to test it on, but we’re guessing it doesn’t work there.

Adding Applications to the Desktop Context Menu

For today’s lesson we’ll show you how to add Notepad to the menu, but you could add any applications you want instead. The first thing you’ll want to do is open up regedit.exe through the Start Menu search or run box, and then browse down to the following key:

HKEY_CLASSES_ROOT\Directory\Background\shell

image

The screen should look similar to this one if you are in the right place.

Next, you’ll want to create a new key underneath the shell key, the name of which is exactly what is going to show up on the desktop menu. Right-click on the “shell” key, and then choose New \ Key from the menu.

image

Give the new key the name that you want to show up on the desktop context menu. For this example we’ll be using Notepad.

image
Optional: If you want to assign an “Alt” key to this menu entry for quicker access, you can change the (Default) value on the right and put an & character in front of the key you want to use. For instance, if you wanted to be able to just use the N key to launch Notepad once the desktop context menu pops up, you can do this:

image

Personally I don’t find this terribly useful since you have to use the mouse to right-click on the desktop… may as well just use the mouse to click the item. Still, for completeness I’ve included it.

Next you’ll need to create the command key that will actually hold the command used to launch the application. Right-click on the new Notepad key, and then choose New \ Key from the menu.

image

Give this key the name “command” in lowercase.

image

To complete this step you’ll need the full path to the application that you want to launch. You can use Shift + Right-Click to get the Copy as Path menu item to find this more quickly. Note: of course, for Notepad you wouldn’t need the full path, but this is just an example.

image

Now click on “command” on the left side, and then double-click on the (Default) key in the right side to edit the string value.

image

Paste in the full path to the executable that you got from the “Copy as Path” step above, or you can put in the full path yourself if you’d like.

Once it’s done, it should look like this:

image

And right-clicking on the desktop will produce the new menu item… naturally, using this menu item should launch Notepad.

image

You can add as many applications to the desktop context menu as you’d like, just repeat the steps again with a new menu item name.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 08/24/14
  • W. Schroeder

    Good tutorial for people that know how to handle the registry. For the common layman, I would add a warning regarding the risks of manipulating the registry and suggest either a registry backup or an image before they venture into the activity. Then they can always backpaddle.

  • Lowell Heddings

    That's a good idea. I will add a mention of creating a restore point.

  • W. Schroeder

    Sounds good, thanks.

  • BEBE

    Make things even a little simpler.

    Instead of mucking around to get to the registry key if you use Firefox:Install this Add/On: Open RegEdit Key Version 0.2.0 At: https://addons.mozilla.org/en-US/firefox/addon/open-regedit-key/?src=userprofileHigh light the link name > HKEY_CLASSES_ROOT\Directory\Background\shell >Right Click > Select Open RegEdit Key > It will take you right to it!

    It a BIG time saver when working with the registry and you have the link.

  • hameedtweet1989

    This shows how to add Applications but I was wondering if I could add commands like Hibernate or shutdown to the right click menu

  • William Steele

    Try file menu tools. You don't have to mess with the registry and you can add your own programs to the menu as well. http://www.lopesoft.com/en/filemenutools

  • Xu-B

    You can make a .bat file for your power-down commands and Point your 'Shutdown" command to the bat file to shutdown your pc.

    To make such a .bat file, open notepadCopy this to notepad

    shutdown.exe /s /f /t 00

    Save the file anywhere with a .bat extension. An example would be Shutdown.bat

    For hibernate, the command is

    shutdown.exe /h /f /t 00

  • CogniView

    I love the idea of being able to manipulate my system to work the way I want it to without installing a bunch of add-ons ... this is a really helpful tip. I'm always looking for ways to circumnavigate the Start menu for regular programs (preferring to use it mainly for apps), and this works beautifully!

Enter Your Email Here to Get Access for Free:

Go check your email!