A point of clarification. The use of HKEY_Users only shows the actively logged on accounts. Other accounts/profiles could exist on a computer.

All SIDs that have local profiles can be found here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

_________________________
Home page: http://www.kixhelp.com/hb/