ronca
11th March 2009 14:01 UTC
HKCU is read only for LUA ?
In my install script I am trying to create a new value in the following registry key:
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
This value never gets written. :(
Using regedit, I checked permissions for this key (XP, both SP2 and SP3) - sure enough the key is ready-only.
Read-only for HKCU ???
What gives?
I thought that HKCU are supposed to be writable by the current user (CU) regardless whether he is LUA or has admin privileges?
Did I miss something?
Thanks,
Ron
Anders
11th March 2009 17:15 UTC
yeah, I hate that key. but it needs to be that way, its there to force a policy on the user. if a normal user could write to it, there would be no point
ronca
11th March 2009 17:30 UTC
Originally posted by Anders
yeah, I hate that key.
Is it only that key? Are there other "HKCU" keys that I should be watching for?
I searched the entire Google & Yahoo regarding this key and there is not a single hint about its trickiness.
By now I know it's not an NSIS subject per-se but the only way I came across this anomaly was by using NSIS. Maybe this information can help other NSIS programmers who don't understand why their script doesn't work. :eek:
Anders
11th March 2009 18:44 UTC
you also have HKCU\software\Policies
ronca
12th March 2009 16:46 UTC
Originally posted by Anders
you also have HKCU\software\Policies
Thanks Anders.