Question

Locked

What registry location applies to "All Users", and is read/write?

By xenmachine ·
I need to store a read/write string in the registry. First I tried putting it in HKLM, because I figured it would be available to any user that logged on. It's there, but they can't write it. Then I read some more about the registry, and decided that HKCU is a better place, but I get the same "access denied" when I try to write to it.

Where am I supposed to put this thing?

Possibility (I haven't tried it yet):

1. Write the string as Admin into HKLM
2. Read as normal user from HKLM
3. Write as normal user to HKU

-- would that work?

TIA

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Maybe I'm particularly dense tonight ...

by OldER Mycroft In reply to What registry location ap ...

But you have completely lost me.

Collapse -

Using the Registry

Using the Registry

Applications may use the registry for storing read/write application data and configuration files.

The HKCU registry is appropriate for storing small amounts of data (less than 64KB) and for policy settings that are per user.

Avoid writing to HKLM during runtime, because normal Users have Read Only access to the entire HKLM tree by default.

Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums