Is it possible to have a registry script to install keys to 32 and 64 bit locations?

1

I'm wondering if I have the ability to have a .reg file install keys to both the 32bit and 64bit locations in the registry??

Sinaesthetic

Posted 2013-03-26T17:39:10.300

Reputation: 135

Answers

1

Yes, why not?

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\FOO]
"FOO"="BAR"

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\FOO]
"FOO"="BAR"

the first sets the 64Bit value and the 2nd sets the 32Bit value. Change it to what ever you want to insert.

magicandre1981

Posted 2013-03-26T17:39:10.300

Reputation: 86 560

When I double click on the .reg file, it installs all the keys into WOW6432Node hive. I don't know what I'm doing wrong. – username – 2015-01-15T16:20:17.833

1run the 64Bit regedit.exe from C:\Windows\sysnative (only visible from 32Bit file manager) – magicandre1981 – 2015-01-15T17:04:30.093