Ok, I misunderstood this, but ...
...actually...
I don't think this is a good idea.
And I think, you will agree...
On my computer a .jpeg file will open by default in an application, which identifies itself as Photos.exe.
Now look at the registry key you were referring to: