Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Adding Registry Entry Question

Adding Registry Entry Question

Forum Windows XP : Windows XP General Discussion - Adding Registry Entry Question

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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?

Thanks

Sponsored Links
Register or log in to remove.

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:

HKEY_CLASSES_ROOT\.reg\PersistentHandler

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

change that value to this:

{5e941d80-bf96-11cd-b579-08002b30bfeb}

the whole thing including brackets so it looks like this:

http://img255.imageshack.us/img255/2909/11686686pn3.th.png
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 http://img263.imageshack.us/img263/4492/winknw3.gifhttp://img79.imageshack.us/img79/9609/headbangernu4.gif

Reply to edklite

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?

Reply to Bubacus

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

HKEY_CLASSES_ROOT\regfile\shell\open\command

wordpad.exe or regedit.exe?

Reply to edklite

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

Thanks so much

Reply to Bubacus

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:

HKEY_CLASSES_ROOT\regfile\shell\open\command

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:

http://img339.imageshack.us/img339/3/41716325yw6.th.png
click image to enlarge

Reply to edklite

You da man! Work liked a charm. Thanks so much for your helpful tutorial on this one!

Reply to Bubacus

np its been a pleasure ;) good luck

Reply to edklite
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Adding Registry Entry Question
Go to:

There are 1141 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them