Monday, 24 June 2013

Find User SID

Sometimes you need to find out a user's SID...
c:\> wmic useraccount get name,sid
Or you could do it the Microsoft Way, but that's more difficult for some reason.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Under the ProfileList key, you will see the SIDs. By selecting each one individually, you can look at the value entry and see what user name is associated with that particular SID. 


0 comments: