RegistryReadKey fails to read values under 'HKLM\Software'

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
jiby
Junior Coder
Posts: 30
Joined: Fri Feb 26, 2010 12:26 pm

RegistryReadKey fails to read values under 'HKLM\Software'

Post by jiby » Sat Jul 10, 2010 3:25 pm

Hi,

I am using Vista Ultimate 64 with Service Pack 2. I am not able to fetch anything under 'HKLM\Software' key branch. Can anyone do that.

Thanks
jiby.

User avatar
Marcus Tettmar
Site Admin
Posts: 7391
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Jul 12, 2010 9:38 am

Hi,

To read from the 64 bit registry hive you need to set REG_64 to 1.

Let>REG_64=1
RegistryReadKey>HKEY_LOCAL_MACHINE,Software\.......

This requires v12.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts