I would like to share a small amount of data between All Users in the Windows Registry. For shared read and write access between any user that logs into the machine or a service on the machine. Is there a location where this can be done? I have tried using "HKEY_USERS\.DEFAULT\Software\" but this seems to be blocked by the Vista UAC rules.
+2
A:
HKEY_LOCAL_MACHINE
should be the place to store data between users. There's a good, short explanation here about which folders/hives are used for what.
Andy Mikula
2009-06-17 18:24:12
That's going to be blocked by UAC, in my experience.I asked this question before (I was trying to find MY question when I saw yours <g>). I have not found any location that ALL users can write/read to without Admin privileges.
Clay Nichols
2009-12-06 22:14:26
If you relax the privileges on the key that you add under HKLM\Software, that'll give you the location that you need without UAC interfering. Short of going back to using .INI files (which, apparently, Microsoft is advocating these days), I don't see any other choice.
RobH
2010-04-28 22:53:32
+1
A:
You can put all users data in HKEY_LOCAL_MACHINE
hive, but you'll need to adjust the permissions on the key to in order to make it writable by all users, as your question states.
Factor Mystic
2009-07-23 22:56:10