I am writing a C # application.
As part of my application, I need to read user profiles.
To get all users, I use Registry.Users.GetSubKey() .
The problem is that in Windows 8 HKEY_USERS contains only registered users! (when there are 2 users who are logged in, I see 2 users in the HKEY_USERS section, but if one of the users logs out, then in HKEY_USERS ) there will be only 1 user)
As a result, I get profiles only for registered users.
I tried to find the entire registry to find where the data is stored, but I canβt find this information anywhere .... it looks like the information will disappear when the user logs out.
Is it design or bug?
If the data is saved - it should be in the registry, but I can not find it ...
Could this be in permissions? Maybe there is information, but it is hidden when the user is not logged in? Is there a flag or something that I can use to read the profile for unregistered users?
source share