Windows User ID's

I'm scrubbing the registry of an end user desktop that has had many users for my domain.  What I am looking for is key's that refer to a specific users account.  In the registry, it seems these are referred to by their SID. Does anyone know how to figure out what SID is attached to what username?
Who is Participating?
Not a fun task you have if you do it manually. I would recommend deleting the profile entries from documents and settings, then getting yourself a good registry cleaner that will break the attachment. I recommend CCleaner for this purpose. Good Luck!
Go in to regedit and look at the different SID's assigned to the profiles, you'll see the user name in one of the keys for each sid container

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\Cu rrentVersion\ProfileList
To tell which SID in the registry is related to which user you look through and find their random SID and read one of the keys in the right pane associated with it to determine the user name.

"   1. Open Registry Editor and navigate to:

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion \ProfileList
   2. 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.
Download user2sid.exe to C:\Windows and run the following command at command prompt:
user2sid johndoe
This will give you the SID for johndoe.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.