/ Sign-up
Your question

Adding Registry Entry Question

  • Registry
  • Extension
  • Windows XP
Last response: in Windows XP
May 20, 2007 8:47:05 PM

I have a file (.reg extension) that I would like to add to my registry. When I double click on the file when I am using one of my PC's (both are using XP) the message pops up and asks if I would like to add the entry to my registry and I simply click yes. On my other XP machine, I double click on it and the file opens up in word pad. Any way to not have word pad open the file and get the dialog box to ask whether or not to enter it into the registry?


More about : adding registry entry question

May 20, 2007 9:13:34 PM

sure you can, on the second PC some where along the line somebody changed the hander for .reg extensions to word pad all we need to do is change it back ;) 

in your registry navigate to this key:


when you look in the right pan you should see word-pad.exe listed.

change that value to this:


the whole thing including brackets so it looks like this:

click image to enlarge

now before you go running and messing with your registry few things to remember/do

1.never mess with the registry without backing up first so first thing you do is save a copy of your entire registry then you go to edit ;) 

2. to edit the registry you need admin rights so make sure you got an admin account.

this change we are making in the registry is no big deal at all and has nothing to do with how your OS runs so don't be worried or nothing but you still need to back up registry.

if you don't' know how to navigate in the registry just let me know and I will show you, its real easy ;) 

good luck
May 20, 2007 9:22:35 PM

Thanks so much for the response. However the value {5e941d80-bf96-11cd-b579-08002b30bfeb} was already there in that entry. I replaced it just in case there might have been something I wasn't seeing. But no luck, the file still opens in word pad. Could it be an application I have on my PC that doing this?
Related resources
Can't find your answer ? Ask !
May 20, 2007 9:36:39 PM

fair enought then its the other one, what do you see in this key?


wordpad.exe or regedit.exe?
May 20, 2007 10:31:02 PM

I see NOTEPAD.exe %1 there....

Thanks so much
May 20, 2007 11:41:01 PM

so its notepad opening it.

ok we need this key to say this instead:

regedit.exe "%1"

just make sure you are in open key in the:


if you are in the right place, then put the rededit.exe from above and copy the whole thing exactly as it is, so it looks like this:

click image to enlarge
May 21, 2007 12:29:25 AM

You da man! Work liked a charm. Thanks so much for your helpful tutorial on this one!
May 21, 2007 3:52:16 AM

np its been a pleasure ;)  good luck