Prev Previous Post   Next Post Next

Cannot read registry keys under HKLM with UAC enabled on Vista?

Posted: 01-20-2009, 08:18 PM
Hi,

I have a program that worked successfully for quite some time and just
recently it stopped working. I tracked it down to a reading of a
registry key located in HKLM\Software where I get an error from the
Win32 API `RegOpenKeyEx' which returns with a value of 2 (that is to say
there is no such entries). But there is such an entry so this is very
puzzling.

What is happening? Why was it working before and not now? The same
program works fine under another vista machine which is more or less
configured the same way.

Of course disabling UAC works but that's out of the question.

Thanks,
Manu


Reply With Quote

Responses to "Cannot read registry keys under HKLM with UAC enabled on Vista?"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
UAC and permissions on HKLM registry Doug Walch Windows Vista Security 3 10-28-2006 02:59 PM
how can I delete registry key value in HKLM Rastlin Chen Windows Vista Security 2 09-08-2006 02:42 PM
WMIC command to read registry Uninstall keys ... Joe Windows XP WMI 2 01-25-2005 05:35 AM
Cannot see HKCU or HKLM keys Windows XP Security & Administration 2 11-18-2003 09:58 PM
What is the default registry permission for HKLM? ML Chin Windows XP Security & Administration 3 09-30-2003 11:01 PM