RE: SID question
Yes you can trace them but before that you have to convert the SID to object
name using a some freeware tools like sidtoname, which can be downloaded from
here.
http://www.joeware.net/freetools/tools/sidtoname/index.htm
After that
You can get the creation date for each account from Active Directory. Every
AD object has a WhenCreated and WhenChanged attribute. You can dump these
attributes into a flat file using the LDIFDE utility, or you can dump them
into a comma-delimited file using CSVDE (both utilities come with Windows
Support tools).
Here's the syntax to dump the two attributes for the user objects in an OU
called Phoenix in a domain called Company.com to the console for viewing (the
entire entry should typed as a single line):
ldifde -d ou=phoenix,dc=company,dc=com -l whencreated, whenchanged -p
onelevel -r "(ObjectCategory=user)"
-f con
If you wanted to save the dump to a file, change the -f switch from con to a
file name.
The last logon timestamp uses this format: YYYYMMDDHHMMSS, with the hour
shown in Universal Coordinated Time. A time stamp of 20040115182937.0Z
corresponds to Jan 15 2004 18:29:37 UCT.
USRSTAT is slow, and the report you get has to be merged with the LDIFDE
dump. So, I put together a script that searches for user objects at each
domain controller, then lists the local logon time and the creation time. The
user logon timestamp requires conversion from a long integer.
http://www.mcpmag.com/columns/article.asp?EditorialsID=660
Thanks for Understanding
--
We Dont want to be average We Want to be Great
"Samuel" wrote:
> Hi,
>
> I have 4 SID's in AD. Is their any way I can trace around what time they
> were created?
>
>
>
> The SID's are
>
> The SID's are
>
> S-1-5-21-1993962763-1035525444-725345543-2156
>
> S-1-5-21-1993962763-1035525444-725345543-2197
>
> S-1-5-21-1993962763-1035525444-725345543-2251
>
> S-1-5-21-1993962763-1035525444-725345543-2449
>
>
>
> Is it safe to assume that 2156 is created first, and then 2197. ie are
> they created in some sequence or what?
>
> Thx
>
>