How to Find a User’s SID With WMIC

Follow these easy steps to display a table of usernames and their corresponding SIDs. It’ll probably only take a minute, maybe less, to find a user’s SID in Windows via WMIC: Now that you’re confident a particular user name corresponds to a particular SID, you can make whatever changes you need to in the registry or do whatever else you needed this information for. If you’re using a keyboard and mouse in Windows 11/10/8, the fastest way is through the Power User Menu, accessible with the WIN+X shortcut. If you don’t see Command Prompt there, type cmd into the search bar in the Start menu, and select Command Prompt when you see it. …and then press Enter.

Finding the Username Using the SID

If you happen to have a case where you need to find the user name but all you have is the security identifier, you can “reverse” the command like this (just replace this SID with the one in question): …to get a result like this:

How to Find a User’s SID in the Registry

You can also determine a user’s SID by looking through the ProfileImagePath values in each S-1-5-21 prefixed SID listed under this key: The ProfileImagePath value within each SID-named registry key lists the profile directory, which includes the username. For example, the value under the S-1-5-21-992878714-4041223874-2616370337-1001 key on the computer you see above is C:\Users\jonfi, so we know that’s the SID for that user.