RE: Unknown Account
From: diasmith [MSFT] (diasmith_at_microsoft.com)
Date: 10/30/03
- Next message: diasmith [MSFT]: "RE: TRUSTS"
- Previous message: diasmith [MSFT]: "RE: Network Folders"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 30 Oct 2003 20:50:30 GMT
Hello,
Yes, you can use the sid2name utility:
Microsoft Technical Support has a command-line tool available that will
resolve a fully qualified SID to a user account against a local or remote
user account database. Sid2name.exe was recently built to resolve SID
references in Security Audit Logs.
SID2NAME is a utility program to look up the user account name associated
with a Windows NT, or higher, security identifier (SID). The command takes
one argument, the SID, and performs a lookup in the Windows NT account
database. An optional command argument can specify on which Windows NT
computer to perform the lookup for computer-specific (local) accounts.
The generic form of the command is:
sid2name <sid> [\\ComputerName] | [ComputerName]
Example:
To find out what user account name is associated with the SID
S-1-5-21-456721184-3344012123-1234567890-1234, type the following line at
the command prompt:
sid2name S-1-5-21-456721184-3344012123-1234567890-1234
The information that is returned will be similar to the following
DOMAIN\fred, is a user.
where DOMAIN is the domain name, or computer name, for the user account.
SID2NAME also identifies SIDs for security principals that are groups.
Additional Examples:
- When this line is typed at the command prompt sid2name
S-1-5-21-2092848103-1120294241-1737835142-1001
you may see DOMAINNAME\randy, is a user.
- When this line is typed at the command prompt sid2name
S-1-5-21-2092848103-1120294241-1737835142-1001 randy2
you may see DOMAINNAME\randy, is a user.
- When this line is typed at the command prompt sid2name
S-1-5-21-2092848103-1120294241-1737835142-1001 \\randy2
you may see DOMAINNAME\randy, is a user.
PS. I have attached the file to this email.
Thank You.
Diana.
diasmith@online.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights.
- application/octet-stream attachment: sid2name.zip
- Next message: diasmith [MSFT]: "RE: TRUSTS"
- Previous message: diasmith [MSFT]: "RE: Network Folders"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|