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
HKCU is read only for LUA ?
5 posts
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
Originally posted by AndersIs it only that key? Are there other "HKCU" keys that I should be watching for?
yeah, I hate that key.
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. 😱
you also have HKCU\software\Policies
Originally posted by AndersThanks Anders.
you also have HKCU\software\Policies