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. 

Post a Comment

Previous Post Next Post