I am writing a utility program in c++ which scans through every user in HKEY_USERS and returns information for system administration purposes on the users registered on the server.
However, when running under a domain admin user such as DOMAIN\fredbloggs, the hives for other users are not visible. When I log out and login a DOMAIN\joebloggs, only joebloggs is visible in HKEY_USERS
I know i can enumerate all users from
But I really want to be able to open up the HKEY_USERS for each one of those, to read settings inside that Hive
Is there any way, through windows api, to open up these hives and get settings from them for all users on the system ?