How can I read 64-bit registry key from a 32-bit process?

后端 未结 4 2009
轻奢々
轻奢々 2020-12-16 03:01

I\'ve been using the value of key MachineGuid from HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Cryptography to uniquely identify hosts, but from 32-b

4条回答
  •  自闭症患者
    2020-12-16 03:17

    Call reg.exe using this path C:\Windows\sysnative\reg.exe For example:

    C:\Windows\sysnative\reg.exe QUERY "HKLM\SOFTWARE\JavaSoft\JDK" /v CurrentVersion
    

    source: https://stackoverflow.com/a/25103599

提交回复
热议问题