Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

last time user logged in

Status
Not open for further replies.

vttech

Technical User
Jan 28, 2006
297
US
Is their a way to tell the last time a user logged into a windows 2000 pro workstation or give a list of users that have logged in the PC and the time/date stamp
 
For local user
[tt]net user username[/tt]
For domain user
[tt]net user username /domain[/tt]

===
Karlis
ECDL; MCSA
 
thanks..

This command gives me the last time the user logged on to the Domain since the all user accounts are domain accounts on the network.. Is their a way to see the last time the user logged on a workstation.. example on workstation1 I want to tell the last time user10{domain account} logged on to that workstation.

 
you need a monitoring tool - 3rd party software ..
or a login script - everytime the user is loggin the script write the username and the time in that log ..

Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
check their folder under docs and settings, date modified should give you the date and time of login !

Laters, phat, headshape
 
or the ntuser file beneath that folder in case they have changed anything in there - unlikely though

Laters, phat, headshape
 
Theo :
do u mean to check the last change time of the ntuser ?

Good idea ...


Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
Its not pretty but you can see in the Event Viewer under the security tab when a user last logged in. You might have to first enable auditing.
 
this maybe not applicable if the machine in a domain ...
all the events will be on the DC ..

Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top