I’d come to this conclusion through experience and various things I’ve read on this internet, but in stating it to a co-worker, it seems illogical. Can you verify the following statement is true, or provide a counter to it?
On Vista/Win7, two standard (non-elevated users) cannot read/write the same location in the registry.
This is a false statment
But this is true. By default, users only have write access to their own hive (
HKEY_CURRENT_USER) and read access to the machine hive (HKEY_LOCAL_MACHINE).If you want to configure a location where any user can read and write, you can certainly do by configuring a key’s ACL, as @Dark Falcon said. A good place for this is somewhere inside your application’s key in
HKEY_LOCAL_MACHINE, and at install time (when your installer has elevated privileges to do so).