How can I tell which User has which SID?
John Savill
March 4, 1999
1 Min Read
A. Perform the following:
Start the registry editor
Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList
Select each SID under this in turn and look at the ProfileImagePath and at the end of this string is the name of the user
Close the registry editor
If you knew the SID and just wanted to know the user name you could use the REG.EXE command (with Resource Kit Supplement 2), e.g.
reg query "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileListProfileImagePath"
e.g. reg query "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileListS-1-5-21-1843332746-572796286-2118856591-1000ProfileImagePath"
And again this will show the ProfileImagePath giving you the user.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like