C# Access registry of another user
问题 I'm having a problem with the windows service I work on currently. Basically I store some values in HKCU registry (from a GUI tool run as administrator) and from within that GUI I am starting a service. The service uses SYSTEM account to run and I believe that's my problem - I can't access registry keys stored with my GUI tool inside the service, as it points to a different HKCU! How can I "redirect" the service to use the HKCU of the user it was stored with? (Actually I can pass a user name