NOTE: This tutorial has been featured by Microsoft. AskVG.com was the first website posting this unique trick.
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:
- Add Your Favorite Application Shortcut in Desktop Context Menu
- Add Useful Shortcuts in Desktop Context Menu
- Add Useful Shortcuts in Desktop Context Menu - II
- Add AskVG.com Link in Desktop Context Menu
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 startmenu search box and press Enter. It'll open Registry Editor.
2. Now go to:
HKEY_CLASSES_ROOT\DesktopBackground\Shell
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

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
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\regedit]
@="Registry Editor"
"Icon"="regedit.exe"
"Position"="Bottom"[HKEY_CLASSES_ROOT\DesktopBackground\Shell\regedit\command]
@="regedit.exe"
Run the file and it'll add the program shortcut in Desktop context menu.
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.

This article was posted by VG in following section: Windows 7.
If you enjoyed this article, you can subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our most popular articles and archive to read other interesting articles. If you have some news or tip to share, please send us.
VG
^^ Use the registry script to restore default settings given at the end of the following topic:
http://www.askvg.com/hacking-screen-resolution-gadgets-and-personalize-options-in-windows-7-desktop-context-menu/
xesique
Thanks for this great post, I've been looking for a solution to shell menu item with icon for a long time.
I have one more question. Can I add some "splitter" to separate my item from system ones?
It would be like the nVidia menu item in http://www.askvg.com/how-to-remove-save-schemes-other-entries-from-desktop-context-menu/:
View
Sort by
Refresh
-----
Paste
-----
My Item
-----
New
.........
Justin Bonnici
Dear Ask VG or Vishal And Team,
I have added my name to my desktop context menu with my own custom icon, when you click on it I have it set to open explorer.exe.
I have been trying to find the command value to have My Computer open rather than explorer.
Can you please help?
My other question was I am trying to make a copy of my genuine Windows 7 Ultimate x64, Tweaked the way I like it with all my reg tweaks, hacked shell32.dll, imageres.dll, All Icons, Diasbling task scheduler, all my disabled services, would like my windows functions I don't use already turned off and so on and so on, the list goes on almost infinitely!!!
Do you have any suggestions on how to make this disc? As it would save me SO MUCH TIME!!!! When I go to do a fresh install. Is there a way to create a windows back up disc that I could use to do a fresh install with? Or m/b just install a fresh copy of win 7 x64 and then use a system image I created before the windows install?
Thank you guys for all your coolness, Love the site and I follow your windows 7 section religiously.
There was one other thing I wanted to mention and that is: wouldn't it be cool to have an Nvidia/ATI Icon in the desktop or computer context menu ( with icons) and when you click on it, it takes you to the Nvidia or ATI driver download site!!
I imagine there are a lot of people out there like me who are constantly updating there Video/sound drivers religouslly like I do. Just a thought.
Again you and your crew are amazing, So I would personally like to thank you all!!!!
You guys are the best.
Sincerely Justin Bonnici
VG
^^ 1. Use following command:
explorer.exe /e,::{20d04fe0-3aea-1069-a2d8-08002b30309d}
2. You can use following:
http://www.askvg.com/rt-seven-lite-tool-to-customize-and-tweak-windows-7-setup-iso/
http://www.askvg.com/7customizer-vlite-replacer-for-windows-7-to-customize-and-tweak-setup-iso/
3. http://www.askvg.com/add-askvgcom-link-in-windows-vista-desktop-context-menu/
Jozen
this is not working at all! what am i doing wrong? do i need to restart my computer?
Abdullah
How to do in its not coming in my comp.
Doe
Greattttt,,,,,,,,!!!!!!!
Eric
:O very nice vg, I use the regedit quite often so this will help me a lot