Registry keys not identified


  1. Posts : 7
    windows 7 32 bit
       #1

    Registry keys not identified


    Hello All,
    I have been trying to create a registry entry which my Script searches for and performs a certain action upon successfully identifying it.
    HKLM/Software/XYZ
    Say XYZ is the key I am creating. XYZ also has a subkey making it
    HKLM/Software/XYZ/ABC
    Now I am adding a string value to ABC as say LMN which has a value data in it as say 123.
    Now my Script searches for the presence of '123' in this path
    HKLM/Software/XYZ/ABC. Upon finding it and verifying, it performs a pre-programmed action.
    All this works fine on 32 bit version of Win7.
    But, in Win7 64 bit, it is not being identified. For that matter no key under HKLM/Software is being recognised, except for the keys under HKLM/Software/WOW6432node.
    Please help me here.
    How can I make those keys under Software visible and actively recognizable.

    Any help would be appreciated.

    Thanks in advance.
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    I just created the keys you described manually then exported it as XYZ.reg and this is what it looks like:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\XYZ]

    [HKEY_LOCAL_MACHINE\SOFTWARE\XYZ\ABC]
    "data"="123"


    I then deleted the XYZ key and verified it was gone, then right clicked on the XYZ.reg file and selected Merge, then verified it was again in the registry.

    Not sure how you are doing this but a .reg file might be the way to go.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 00:34.
Find Us