Each application's subkey in HKEY_CLASSES_ROOT\Applications controls whether that particular application will show up on the dialog box.
If you want to ban a particular program from the Open With dialog box, look for the application's subkey underneath
HKEY_CLASSES_ROOT\Applications,
add a String value named NoOpenWith, and leave
the value blank. There will be no more “Open With” menu for that item.........