Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Registry Problem

06 May 2010   #1

Registry Problem

I made a programm and wanted it to appear on the right click windows menu, of all files and folders, so i added it to registry in the following places :

For admin users, i added it to

To add it to all files :
- HKEY_CLASSES_ROOT\*\shell\Open With My program\command

To add it to all folders :
- HKEY_CLASSES_ROOT\Directory\shell\Open With My program\command

For users that are not admin (if they have rights to write in the registry) :

To add it to all files :
- HKEY_CURRENT_USER\Software\Classes\*\Shell\Open With My program\command

To add it to all folders :
- HKEY_CURRENT_USER\Software\Classes\Folder\Shell\Open With My program\command

It's working as supposed, i mean it appears on the right click menu in windows for all files and folders, BUT THE PROBLEM IS :

When i make double click with "LEFT" mouse, on any file that is not associated to an application in my pc (.swf, .vbw etc..), my program is launched automatically !!
USUALLY, when we do this, we have the open with form that appears, but since i added my program as described above , it's my program that run automatically , why and how to prevent this ?
If i am not in the right Forum/Section, please tell me where can i post my question

ps: It's the same problem on Win XP and Vista !

My System SpecsSystem Spec
06 May 2010   #2

Windows 10 Pro (x64)

Shouldn't your context menu go into "shellex\ContextMenuHandlers" ?
My System SpecsSystem Spec
06 May 2010   #3


I don't have experience in registry, I asked before i added my program some people in forums, how to add my program to the registry to make it appear on right click of all files and folders,they told me to put it in the registry that i mentioned above, I did and it appeared as expected wich is what i want, but the surprise was that each time you click on unknow extension my program is launched, so can you tell me what is the difference between the key where i put and the one you propose ?
I prefere not to mess with the registry that's why i am asking you because you have more experience in that

Thanks a lot again for your support
My System SpecsSystem Spec

06 May 2010   #4

Windows 8.1 Pro RTM x64

Hi JustGreat and welcome to Windows 7 Forums

Have a look at this Tutorial: Context Menu - Add Shortcuts with Icons
My System SpecsSystem Spec
07 May 2010   #5


Thanks for the link, the problem is not how to add for me ,i already add and it's added correctly, my problem is that it's launching the program when i left click on a file (unknown extension)
My System SpecsSystem Spec
22 Feb 2011   #6
Duke Dextor

Windows 7 Ultimate 32bit

Hi, my name Dextor. I got problem with my HUAWEI Mobile Modem that I could not eject it when i using window 7, the Huawei mobile in safely remove icon turn grey, under it "Eject CD Drive: Metfone 3G." when i click eject it, nothing happened. However, I could eject it properly when i use window vista or XP.

Are there any solutions? please send me the link too about how to solve my problem.
My System SpecsSystem Spec

 Registry Problem

Thread Tools

Similar help and support threads
Thread Forum
Registry problem?
See the attachment please. As you can see it is a screenshot of my situation. I click on wmp, choose listen to favorites, wmp randomly chooses from my library and plays them in order. Nice - I like that. As per the screenshot - if I want to make any changes while the music is playing all I...
Music, Pictures & Video
Help with Registry Problem
Windows 7 Professional My CD/DVD drive has suddenly stopped working. The error message in Device Manager is: Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. (Code 19) Just before this happened, I uninstalled iTunes and...
Backup and Restore
Blurry Text problem, EDID and registry editing problem on an AMD card.
EDIT:I have found a solution, using a DVI to HDMI cable on an amd card will fix this problem, this thread can now die, hopefully someone else will find it if they have this problem. Basically, i know what the problem is, but not how to rectify it. My tv (Sceptre X235BV-FHD, a rebranded sony...
Graphic Cards
Registry problem after windows update and registry optimization tool
Hello sevenforum, I've already spend some time on this forum today but I can't find the solution to a particular registry problem I'm having. While windows was uploading some updates yesterday, I cleaned my registry using Iolo's system mechanic tool and that's where the problems started. (I...
Backup and Restore

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:51.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App