Updating HKEY_CURRENT_USER hive from a service
问题 I am writing a network provider (Windows 7) to capture the domain name and username and I have to keep this in HKEY_CURRENT_USER\Software\MyApp\Profile Since the network provider is running as a service the data is stored in HKEY_USER\.Default\Software\MyApp\Profile After successful login if I try to read from my application it genuinely tries to read the data from that user's HKEY_CURRENT_USER which will not have anything. How is this being managed in general? How shall I store the data into