Registry keys not identified

chaitanya051

New member
Local time
4:58 PM
Messages
7
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 My Computer

OS
windows 7 32 bit
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 My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Back
Top