Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

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

Reply
 
Old 01-21-2009   #1 (permalink)
Ondrej Sevecek


 
 

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

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.


"Emmanuel Stapf [ES]" <manus@xxxxxx> wrote in message
news:OAEqJxzeJHA.1336@xxxxxx
Quote:

> 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
>
>

My System SpecsSystem Spec
Old 01-21-2009   #2 (permalink)
FromTheRafters


 
 

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

http://msdn.microsoft.com/en-us/library/aa965884.aspx

Maybe you could clear the virtual store key and get it working
again?

"Emmanuel Stapf [ES]" <manus@xxxxxx> wrote in message
news:OAEqJxzeJHA.1336@xxxxxx
Quote:

> 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
>
>

My System SpecsSystem Spec
Old 01-22-2009   #3 (permalink)
Emmanuel Stapf [ES]


 
 

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

Ondrej Sevecek wrote:
Quote:

> 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
Quote:

> is the program in question running with Elevated privileges, or just
> without?
>
> ondra.
>
>
> "Emmanuel Stapf [ES]" <manus@xxxxxx> wrote in message
> news:OAEqJxzeJHA.1336@xxxxxx
Quote:

>> 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
>>
>>
>
My System SpecsSystem Spec
Old 01-22-2009   #4 (permalink)
Emmanuel Stapf [ES]


 
 

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

FromTheRafters wrote:
Quote:

> http://msdn.microsoft.com/en-us/library/aa965884.aspx
>
> Maybe you could clear the virtual store key and get it working
> again?
As far as I can tell the virtual store is empty or at least does not
contain the key I'm trying to read.

Manu
Quote:

>
> "Emmanuel Stapf [ES]" <manus@xxxxxx> wrote in message
> news:OAEqJxzeJHA.1336@xxxxxx
Quote:

>> 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
>>
>>
>
>
My System SpecsSystem Spec
Old 01-22-2009   #5 (permalink)
Emmanuel Stapf [ES]


 
 

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

FromTheRafters wrote:
Quote:

> http://msdn.microsoft.com/en-us/library/aa965884.aspx
>
> Maybe you could clear the virtual store key and get it working
> again?
As far as I can tell the virtual store is empty or at least does not
contain the key I'm trying to read.

Manu
Quote:

>
> "Emmanuel Stapf [ES]" <manus@xxxxxx> wrote in message
> news:OAEqJxzeJHA.1336@xxxxxx
Quote:

>> 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
>>
>>
>
>
My System SpecsSystem Spec
Old 01-23-2009   #6 (permalink)
FromTheRafters


 
 

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

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.


"Emmanuel Stapf [ES]" <manus@xxxxxx> wrote in message
news:urFeGMGfJHA.1288@xxxxxx
Quote:

> FromTheRafters wrote:
Quote:

>> http://msdn.microsoft.com/en-us/library/aa965884.aspx
>>
>> Maybe you could clear the virtual store key and get it working
>> again?
>
> As far as I can tell the virtual store is empty or at least does not
> contain the key I'm trying to read.
>
> Manu
>
Quote:

>>
>> "Emmanuel Stapf [ES]" <manus@xxxxxx> wrote in message
>> news:OAEqJxzeJHA.1336@xxxxxx
Quote:

>>> 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
>>>
>>>
>>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Vista Registry Keys Vista General
Unable to access HKLM registry key remotely Vista General
Remotely reading HKLM registry key Vista security
UAC and permissions on HKLM registry Vista security
how can I delete registry key value in HKLM Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46