Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HKLM registry doubt

My application updates some registry fields related to licensing under HKLM. This is for accessing the information for all users in the system. This makes us to make our application run as administrator. Is there any other location in registry where I can keep information which can be accessed by all users?

like image 480
Maanu Avatar asked Jan 20 '23 14:01

Maanu


1 Answers

Registry HKLM and folder %ALLUSERSPROFILE% are accessible to all users, but meant for writing to at install time (as admin).

Registry HKCU and folder %APPDATA% are accessible to current user and meant for writing to at any time.

Why are you modifying licensing info (shared by all users) during run and not just during install?

like image 90
Danny Varod Avatar answered Jan 25 '23 17:01

Danny Varod