> thanks for the info, quite helpful
>
> "Richard Mueller [MVP]" wrote:
>
>>
>> "poboy_n.o_style" <gryphonfoo[ at ]hotmail.com> wrote in message
>> news:9300434C-2584-4F03-829C-65B49C8F9F51[ at ]microsoft.com...
>> > In a nutshell, I need a list of users and what pc's they last logged
>> > into.
>> > Or the reverse, a list of PC's and what users last logged into it.
>>
>> Active Directory does not keep track of which computer each user logs
>> onto
>> the domain with. I know of no way to retrieve this information after the
>> fact. It's not even feasible to reliably determine who is currently using
>> each computer at a given moment.
>>
>> One solution is a logon script that logs the user name, computer name,
>> and
>> date/time to a log file. I have an example VBScript logon script that
>> does
>> this linked here:
>>
>>
http://www.rlmueller.net/Logon5.htm>>
>> The log file can be imported into a spreadsheet for analysis. I used a
>> similar logon script for years to track logons per day (and per shift),
>> how
>> many people used each computer, how many times each computers was used
>> per
>> day, which computers were not used much, etc.
>>
>> It might also be possible to search all profiles on a computer to see
>> which
>> was used last, but I doubt even an administrator would have permission to
>> do
>> this on newer OS's.
>>
>> --
>> Richard Mueller
>> Microsoft MVP Scripting and ADSI
>> Hilltop Lab -
http://www.rlmueller.net>> --
>>
>>
>>
>>