Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Listing User and PC last logged on

HTVi
TV Discussion Newsgroups

Listing User and PC last logged on
poboy_n.o_style 5/10/2007 8:17:01 PM
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.
Re: Listing User and PC last logged on
"Richard Mueller [MVP]" <rlmueller-nospam[ at ]ameritech.nospam.net> 5/11/2007 12:04:33 AM

"poboy_n.o_style" <gryphonfoo[ at ]hotmail.com> wrote in message
news:9300434C-2584-4F03-829C-65B49C8F9F51[ at ]microsoft.com...
[Quoted Text]
> 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
--



Re: Listing User and PC last logged on
poboy_n.o_style 5/11/2007 5:35:01 PM
thanks for the info, quite helpful

"Richard Mueller [MVP]" wrote:

[Quoted Text]
>
> "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
> --
>
>
>
>
Re: Listing User and PC last logged on
"Al Dunbar" <AlanDrub[ at ]hotmail.com.nospaam> 5/12/2007 4:10:59 AM
It might be possible to determine what you are looking for by examining the
security event log of each computer. Seems like a lot of work, though...

/Al

"poboy_n.o_style" <gryphonfoo[ at ]hotmail.com> wrote in message
news:8F392F5A-8D57-464D-ACD9-55C8DD1EC7EC[ at ]microsoft.com...
[Quoted Text]
> 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
>> --
>>
>>
>>
>>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen