I have an application that should read all Windows users' registry keys (folders).
I though this is simple. We have HKEY_USERS, and I know how to translate the SIDs to user names. This is not a problem. The problem is that HKEY_USERS only contains the keys (folders) of users that are currently logged in, and any other users are just missing. (But as soon as I log in with a user, its folder appears in HKEY_USERS).
So my question is how I can access the keys of users that are not currently logged in?
My app is in C#, but that's not really relevant.