DIGIT-ARC read-only archive · snapshot: July 23, 2026

Need help in registry editing - tweaking context menu

4 posts · originally from https://geek.digit.in/community/threads/need-help-in-registry-editing-tweaking-context-menu.79085/

blackpearl
blackpearl Original post #1
Jan 26, 2008 at 8:15 PM
I'm trying to add some items to my desktop context menu (rt-click menu). But the items are not appearing on the desktop context menu, only on explorer context menu. I tried adding the items on these locations

HKEY_CLASSES_ROOT\*\shell\
HKEY_CLASSES_ROOT\Directory\shell
HKEY_CLASSES_ROOT\Drive\shell
HKEY_CLASSES_ROOT\Folder\shell

But the added item is appearing on every context menu EXCEPT the desktop context menu. And that is exactly where I want it.

Please help!!
Vishal Gupta
Jan 26, 2008 at 8:35 PM
Its not possible in XP. You can't add your desired programs entries in Desktop context menu using registry. I have written a tutorial about adding/removing context menu entries here:

How to Add / Remove Entries in Context Menus

But there is a trick to add only a single program shortcut in Desktop context menu:

Add Your Favorite Program Shortcut in Desktop Context Menu in Windows XP

But its possible in Windows Vista to add as many program shortcuts as you want:

Add Your Favorite Application Shortcut in Desktop Context Menu in Windows Vista
blackpearl
Jan 27, 2008 at 12:24 PM
Is there no other way. How come programs add a shortcut to the desktop menu? Look at my dektop context menu

*img152.imageshack.us/img152/8108/100mi5.gif

See Pikybasket and NVidia. How did they do it? Do some more research Vishal :), there has to be a way.
Vishal Gupta
Jan 27, 2008 at 1:00 PM
^^ I know. They add their entries in following location:

Code:
HKEY_CLASSES_ROOT\Directory\Background\shell

But if you will add your desired program shortcut here, it'll not work. It works in Vista.