How to Add Program Shortcuts and Other Useful Shortcuts with Icons in Desktop Context Menu in Windows 7 and Later?

UPDATE: This tutorial will also work in Windows 8 and later OS versions.

Today we'll learn how to add any desired program shortcut in Desktop context menu. Also we'll learn to add other useful shortcuts like "Change Wallpaper", "Screensaver", etc.

We have posted a few similar tutorials long time back:

Above tutorials do the same job but there is some difference between these old methods and the new one which we'll discuss today.

In old method, we can't define program icon and the option position in context menu but this new method will allow you to set an icon for the shortcut as well as define its position like on top or bottom.

So here we start the tutorial:

1. Type regedit in RUN or Start Menu search box and press Enter. It'll open Registry Editor.

2. Now go to:


3. Now we'll need to create a new key under "Shell" key. Right-click on "Shell" key and select "New -> Key". Give the new key any desired name e.g. "Registry Editor" (without quotes).

4. Now we'll need to create another new key. Right-click on the new key which we created in the last step e.g. Registry Editor and select "New -> Key". Give the new key name of command.

5. Now select "command" key and in right-side pane, you'll see "Default" String value. Double-click on it and set its value to the path of desired program's EXE file. For example, if you want to add "Registry Editor" shortcut, then set value of "Default" to regedit.exe


NOTE: If you want to add a shortcut to any desired folder for example E:\Downloads, then put explorer "E:\Downloads" in value of (Default) under command key. Here double-quotes "" are necessary.

6. Now the new shortcut will start appearing in Desktop Context Menu.


7. Now some advanced options!

You can now define the shortcut icon and position.

To set an icon for the shortcut, select the key created in Step 3 and in right-side pane, create a new String value "Icon". Set its value to your desired icon or simply put the path of program's EXE file and it'll automatically show its default icon.

To set its position in the context menu, create a new String value "Position" and set its value to:

Top (To show it at top)
Bottom (To show it at bottom)


That's it. Now you'll see an icon near the program shortcut and its new position.


8. If you want a ready-made registry script to do the task automatically, then copy paste following code in Notepad and save the file with name "AskVG.REG" (including quotes).

Windows Registry Editor Version 5.00

@="Registry Editor"


Run the file and it'll add the program shortcut in Desktop context menu.

To add shortcut of a folder, use following registry code:

Windows Registry Editor Version 5.00


@="explorer \"D:\\Downloads\""

If you want to add other program shortcut, then simply change the BOLD part in the script.

NOTE: You can use this method to add any desired program shortcut or to add various useful shortcuts in Desktop context menu. You just need to simply change the Key name and the value of "command" key to the correct path.

Change_Wallpaper.png Change_Screensaver.png System_Properties-1.png

Also Check:

Add Cascading Menus for Programs in Desktop and Computer Context Menus in Windows

Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Windows 7, Windows 8 / 8.1

Other similar articles that may interest you


  • i have a file having extension .blt . i have created one application through which u can open this file . Now my application can be opened in 2 mode , one is GUI mode and other is console mode to make the user comfortbale with my application i want to add this 2 option in my context menu .
    could you please give me some idea how to do it

    please do reply soon........

    Thankx in adv .

  • VG

    ^^ You just need to give correct path of your application using Step 5.

  • I want to have a context menu specifically for when I right-click on certain files anywhere in windows.

    For example, if I click on a .zip or .rar file, I automatically get "extract here", "extract to folder", "extract to..." options in the right-click menu. I want to add a right-click option whenever I click on .png, .gif, .pdf files to add the file to pngwinout to automatically shrink the png. How would I do this?

  • VG

    ^^ Please check following:

  • Hey Vishal!
    Just created my first custom W 7 Ultimate x64 Disc using RT Seven Lite, since installing to my new SSD only certain reg files will work. Ones that work are: Take ownership, restore ownership, open with notepad and restart explorer with a batch file in the root of my drive, also open in new window and copy to as well as move to both work as well.

    The other entries have been properly added to the registry but no item appears in right click context menu! Lots of these are scripts downloaded from your site and I have double checked to be sure they are correct and even taken permissions on the registry key (properly) that Ive needed to, such as the example below:
    I have tried Under H_K_L_M\Software\Classes\CLSID\20D04FE0.....\shell entries I have tried adding to this key are windows update, services, reg edit, device manager,
    the items appear in the registry but nothing shows in my computer context menu. Very confused even tried researching to no avail. Please help! Sorry if I should have contacted another way rather than comment, your team and you FREAKING rock! ANY help would be so kindly appreciated.

    Keep up the good work Vishal and team! Amazing stuff!

  • VG

    ^^ Sorry to say but there is nothing to do when you install a customized version of Windows. Did you remove any component from Windows setup? It might be possible that some Registry keys or files are missing from your Windows installation which are causing this issue.

  • Is there a possibility to open files with extensions like .txt, .vbs etc.?

  • omg this worked!!!!! :D Stuff you start menu, my new friend CONTeXT MeNU is here mwahahahahaha!

  • Hi VG,

    I created a context menu which launches Google Chrome with a hard-coded url (all good)
    The command looks like this:"C:\Program Files (x86)\Google\Chrome\Application\new_chrome.exe"

    it works fine

    I would like to launch the browser by right-click in a textbox which contains a url and pass it to Google Chrome. something like this
    "C:\Program Files (x86)\Google\Chrome\Application\new_chrome.exe" http:// & parameterFromTextbox

    Is it possible?

  • VG

    ^^ Sorry but I dont think its possible. May be achieved by writing some programming code but I cant help much.

  • Would it be possible to show the context menu item in Bold text?

  • VG

    ^^ No.

  • How do I create a context to restart Windows Explorer?

  • VG

    ^^ Check following:

  • How can I create a context menu item to open My computer in windows 7?
    I had followed your steps but still when I type explorer.exe computer or explorer.exe "computer" or
    my computer & my computer's name, it opens Documents, & when I type explorer.exe , it opens libraries.
    What to do in this case?
    Thanks in advance

  • VG

    ^^ Please check following:

  • I've added two context menus "Select" and "Compare" to a particular file type and this is the order of menu:
    But I want them to be in this order
    Other default options

    I tried using Top value for Position but it is making "Open" to come down. Is there any way to
    get the desired order of Menu

    thanks in advance

  • VG

    ^^ When you create new key, set its name starting with a number such as 1, 2 and so on. It'll put those options at top of others in context menu.

  • I have custom software which pops up when I use the keyboard shortcut "Alt+C". I would like to put the "Alt+C" feature in the right click menu. I understand how to add this to the right click menu but I don't know how to get the "Alt+C" command to work. Also, how can I execute this by hovering instead of clicking?
    I would appreciate any suggestions.
    Thank you.

Leave a Comment