in reply to Re: Reading key from registry (32 and 64 Bit)
in thread Reading key from registry (32 and 64 Bit)

Thanks - But how can i read keys on x64 machine from

HKEY_LOCAL_MACHINE\SOFTWARE\Intel

and not from

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

Wow6432Node folder?

Replies are listed 'Best First'.
Re^3: Reading key from registry (32 and 64 Bit)
by BrowserUk (Patriarch) on Mar 01, 2012 at 07:14 UTC
    Thanks - But how can i read keys on x64 machine from HKEY_LOCAL_MACHINE\SOFTWARE\Intel and not from HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node Wow6432Node folder?

    My interpretation of this:

    To disable and enable registry reflection for a particular key, use the RegDisableReflectionKey and RegEnableReflectionKey functions. Applications should disable reflection only for the registry keys that they create and not attempt to disable reflection for the predefined keys such as HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. To determine which keys are on the reflection list, use the RegQueryReflectionKey function.

    Is that you shouldn't -- even if you can work out a way to do so.

    The rules are there for good reason -- the configuration of things will often need to be different for the 32-bit and 64-bit versions of the same software.

    If you choose to ignore the rules, then you will likely end up breaking something. At best, it will be your own program. At worst, it could be the OS.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      How can i do it with perl?

      Hi,

      Can you please advice how to implement it with perl - How can i run RegDisableReflectionKey and RegEnableReflectionKey Windows functions.

      How can i use/canged Wow6432Node or Wow6432Node.

      Thanks

        The advice from Microsoft is that you should not do it. Therefore I have never tried to do it. Therefore I do not know how to do it.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?