Windows User ID's

Posted on 2009-12-18
Last Modified: 2013-11-25
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?
Question by:JamesonJendreas
    LVL 4

    Accepted Solution

    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!
    LVL 3

    Assisted Solution

    LVL 7

    Assisted Solution

    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
    LVL 8

    Assisted Solution

    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.
    LVL 7

    Assisted Solution

    Download user2sid.exe to C:\Windows and run the following command at command prompt:
    user2sid johndoe
    This will give you the SID for johndoe.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now