PsGetsid
enables an administrator to translate SIDs to their display name and vice
versa. It works on builtin accounts, domain accounts, and local accounts.
Usage: psgetsid [\\computer[,computer[,...] | @file] [-u
username [-p password]]] [account|SID]
If administrator is in
need to see a computer's SID just pass the computer's name as a command-line
argument. If administrator’s requirement is to see a user's SID, name the
account (e.g. "administrator") on the command-line and an optional
computer name.
Administrator needs to
specify a user name if the account he is running running from doesn't have
administrative privileges on the computer he wants to query. If administrator
doesn't specify a password as an option, PsGetSid will prompt for it so that administrator
can type it in without any issue.
PsGetSid is part of Sysinternals command-line tools named “PsTools” and
can be downloaded from here.
Comments
Post a Comment
Appreciate your Feedbacks\Comments