How to Find a User's SID Using Registry Editor

preview_player
Показать описание
How to Find a User's SID in the Registry
You can also determine a user's SID by looking through the ProfileImagePath values in each S-1-5-21 prefixed SID listed under this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
The ProfileImagePath value within each SID-named registry key lists the profile directory, which includes the username.
For example, the value under the S-1-5-21-992878714-4041223874-2616370337-1001 key on the computer you see above is C:\Users\jonfi, so we know that's the SID for that user.
Note:This method of matching users to SIDs will only show those users who are logged in or have logged in and switched users. To continue to use the registry method for determining other user's SIDs, you'll need to log in as each user on the system and repeat these steps. This is a big drawback; assuming you're able, you're much better off using the wmic command method above.
#registryeditor #registryeditorwindows #sid #usresident #users #howtofind
Рекомендации по теме