PsGetSid
Command-line tool that shows the security identifier (SID) for a user account or computer, locally or remotely.
Publisher: Microsoft Corporation
Country of Origin:
United States
Official Website: https://learn.microsoft.com/en-us/sysinternals/downloads/psgetsid
Description
A command-line utility that displays the security identifier (SID) associated with a user account or computer, locally or on a remote system.
PsGetSid is a Windows command-line tool in the Sysinternals PsTools family used to query and display Security Identifiers (SIDs) for accounts and systems. It can retrieve the SID of a local or domain user account, and it can also show the machine (computer) SID of a specified system, including remote computers when appropriate permissions are available. The tool is commonly used for troubleshooting authentication and access-control issues, validating account identity across machines and domains, and diagnosing problems related to duplicated or mismatched SIDs in administrative and scripting workflows.
Output is intended for use in automation and diagnostics, and the utility is typically run from an administrative command prompt or incorporated into scripts.