cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Alex_W
Level 6

How to retrieve from HKEY_USERS?

Hi All

Is there a simple way to find user ID for the current user in the registry under HKEY_USERS? I’m trying to retrieve a key value under HKEY_USERS\S-user id number\Software…, but RegDBQueryKey() gets cranky with partial paths.
Labels (1)
0 Kudos
(1) Reply
Christopher_Pai
Level 16

Hkey_current_user
0 Kudos