What portions of the registry are accessible by a standard user to read and write? I know of several sections that aren't but it would be nice to just kind of have a general breakdown of everything that is and isn't.
New: KiCad (Mar 25, 2025), Platform 30.0.2 (Mar 27, 2025)
1,100+ portable packages, 1.1 billion downloads
Ad Free! Please donate today
Accessible to a standard user? That's easy: Everything under HKEY_CURRENT_USER. Everything else requires administrative privileges.
Thanks. I'm working on an app that looks like it writes identical entries to HKCU and HKU, probably default settings in HKU and then each user actually edits their own entries in HKCU. Also, I'm not sure if the HKU entries are just created by the installer (meaning I don't know if a portable version would actually create these values, there are also a TON of other entries that appear to have been created by the installer with no effect on runtime). So basically, if a standard user cannot write these values and IF (still not sure) they actually are default settings that are just superseded by the copy in HKCU, can I just ignore handling these values because the app won't ever be able to create them running as a standard user?
Quamquam omniam nescio, nec nihil scio.
is actually the collection of the HKCU keys for each user account on the machine--or more correctly, HKCU is shorthand for the active user's designated HKU subkey. Therefore most of the keys under HKU will probably only be writable by admins and the user they belong to.
This is why it looks like identical keys are being created under HKU and HKCU--you're actually looking at the same physical place in the registry, you just took a different path to get there.
Thanks, that makes more sense. Also makes it easier.
Quamquam omniam nescio, nec nihil scio.
For the portability standards here, do we need to clean up the entries for DirectX MostRecentApplication keys and MUI cache?
Quamquam omniam nescio, nec nihil scio.
MUICache and system MRU lists get ignored. I think DirectX ones also will be ignored.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Thanks
Quamquam omniam nescio, nec nihil scio.