RegistryEnumKeys on HKEY_LOCAL_MACHINE

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
AntoniusMomac
Junior Coder
Posts: 20
Joined: Fri Dec 07, 2007 7:46 am
Location: New York City, NY

RegistryEnumKeys on HKEY_LOCAL_MACHINE

Post by AntoniusMomac » Thu May 17, 2012 4:47 pm

Hi Y'all,

I'm trying to use RegistryEnumKeys, and RegistryEnumVals to dynamically find the info I need in the registry. Both the above function work without issue if I'm looking under HKEY_CURRENT_USER, but if I'm looking for info under HKEY_LOCAL_MACHINE, it returns nothing.

I'm guessing there's a permissions issue, but my log-on is part of the administrators group. I've been searching, but I'm sure what I should try next.

The OS is Windows 7 Professional, SP1

Here's the code, maybe I'm doing something wrong:

Code: Select all


RegistryEnumKeys>HKEY_LOCAL_MACHINE,SOFTWARE\ORACLE,keys

All ideas/suggested are very much appreciated. MANY THANKS in Advance.
Love Simple!! "Simplicity means the achievement of maximum effect with minimum means" - Dr. Koichi Kawana, Architect, designed the botanical gardens

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