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

  • Thread starter Thread starter Emmanuel Stapf [ES]
  • Start date Start date
E

Emmanuel Stapf [ES]

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
 
what about registry virtualization? is that enabled or disabled and what
about the feature on the other Vista machine?

is the program in question running with Elevated privileges, or just
without?

ondra.
 
Ondrej said:
what about registry virtualization? is that enabled or disabled and what
about the feature on the other Vista machine?

It is set to CLEAR for the DONT_VIRTUALIZE flag. So I guess it is
virtualized because my program is run with elevated priviliges.

Regards,
Manu
 
So, the program runs elevated? Vista compatible?

Wild geese and red herring for dinner!?

UAC also affects the integrity level mechanism - but that wouldn't
explain how it worked before but not now.

Sorry, I'm lost...
....maybe tech support could help you.
 
Back
Top