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: How to make .reg file to create entries in both nodes?

08 Feb 2010   #1
pbsdis

Windows 7
 
 
How to make .reg file to create entries in both nodes?

Hi,

I have an existing .reg file that works fine on 32-bit systems. Now we are trying it on 64-bit systems, and found it only creates entries on 64-bit node (i.e. HKLM/TestKey/TestEntry), we also want it to create entries on 32-bit node (because our application is 32-bit), i.e. we want HKLM/Wow6432Node/TestKey/TestEntry. What is the proper way to do it?

Should we change the .reg file to add the part for Wow6432Node, or there is some flag/variable we can use to avoid the duplicate of all our data entries, or it can be controlled by the execution (parameters/options) command?

The existing .reg file looks like:

Quote:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\TestKey\TestEntry]
"SampleEntry1"="Sample Data1"
"SampleEntry2"="Sample Data2"
.....

Thanks,
PB


My System SpecsSystem Spec
.
08 Feb 2010   #2
Capt.Jack Sparrow

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 

Quote   Quote: Originally Posted by pbsdis View Post
Hi,

I have an existing .reg file that works fine on 32-bit systems. Now we are trying it on 64-bit systems, and found it only creates entries on 64-bit node (i.e. HKLM/TestKey/TestEntry), we also want it to create entries on 32-bit node (because our application is 32-bit), i.e. we want HKLM/Wow6432Node/TestKey/TestEntry. What is the proper way to do it?

Should we change the .reg file to add the part for Wow6432Node, or there is some flag/variable we can use to avoid the duplicate of all our data entries, or it can be controlled by the execution (parameters/options) command?

The existing .reg file looks like:

Quote:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\TestKey\TestEntry]
"SampleEntry1"="Sample Data1"
"SampleEntry2"="Sample Data2"
.....

Thanks,
PB
Hello PB,

Just add the Wow6432Node to that Reg file should Take it to the 64-bit i.e.[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TestKey\TestEntry]

So

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TestKey\TestEntry]
"SampleEntry1"="Sample Data1"
"SampleEntry2"="Sample Data2"

And save it as Reg file should do the trick

Good Luck,
Captain
My System SpecsSystem Spec
Reply

 How to make .reg file to create entries in both nodes?




Thread Tools




Similar help and support threads
Thread Forum
HOSTS File: anyone know what these entries signify?
I know I should get out more. But it's raining. So I've just been tootling about with my Kerish Doctor (the only sw of its type I'd ever allow near this pooter.) I've had Kerish for years but never bothered to meander through all its options. Anyway. I'm browsing through them and come across...
General Discussion
DNS entries in hosts file are being ignored
I have a webserver in my network with the address 192.168.10.110 with several websites running on it. To play around with all the different websites but without having to change the DNS server in our company, I'm using the hosts file: %SystemRoot%\System32\drivers\etc\hosts Right now it's like...
Network & Sharing
why do i have 2 explorer entries for the same file?
Hi why have i 2 explorer entries for the same files ? file xml i have even restore the defualt extension with https://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html Windows Registry Editor Version 5.00
General Discussion
does reinstallation of a software make double entries in registry
just a stupid question. for some reason, if i have to reinstall a software. say uninstall it from Add/Remove first, then a reboot, then install it again, does this make double entries in registry?
Software
How to Delete my entries from File Repository
Hello. while installing my device related files some entries are created in C:\Windows\System32\DriverStore\FileRepository. can any one tell me how to delete those entries using some specified application. Regards, SAIKRISHNA.R
General Discussion


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 11:47.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App