Quick question: is it possible to use a variable in a Remote Registry query?
I'm trying to read a specific value for a 32-bit program across both x86 and x64 systems, which will either reside in
HKLM\Software\Wow6432Node\Program Name\Keyor
HKLM\Software\Program Name\Keydepending on the OS architecture, but haven't had any luck with trying the bracket / vertical line method, or changing the drop-down value to allow wildcards.
E.g. I've tried
HKLM\Software[Wow6432Node\|\]Program Name\Keywhich in theory would return either of the above, and variations of this, but keep getting No Key returned.
As a workaround I have two separate queries which works, but I'd love to be able to combine these into one column with one query.