View Single Post
Old 02-28-2007   #2 (permalink)
Jesper


 
 

RE: Why can my app write successfully to HKLM\Software under Vista?

> Everything I read consistently tells me that if UAC is enabled under Vista
> (which it is on my PC) an ordinary application (post-install) which does not
> have any kind of manifest at all, cannot write to the HKLM\Software area of
> the registry. Instead, what is supposed to happen is that Virtualization is
> supposed to redirect the write to
>
> HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\Software
>
> Well it doesn't.


First, you are running the app non-elevated right? If so, check the ACL on
the key in HKLM. There are areas that ordinary users can write to still.
Virtualization only happens if the user gets an access denied on write.
My System SpecsSystem Spec