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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

See where a user is logged on

Status
Not open for further replies.

peterve

IS-IT--Management
Mar 19, 2000
1,348
NL
I read some threads about people asking how to see where a certain user is logged on
I did it this way :

In the login script, I detected on what computer the user is logged on, (using Kix32 from the NT4 resource kit, the variable used is WKSTA)
then I wrote the username & the computername to a file called
'username'.bat -> username = real username
and saved that file onto a certain share
(I'm putting all those files on the same share)
Now when you do a search in that share, you can easily retrieve on what computer the user is logged on...

Of course, you can add certain stuff to allow users to log on to multiple computers (by adding the logon information to the file instead of overwriting it; and using the logoff script to delete the file after logging off...)

I hope this can help...

Peter Van Eeckhoutte
peter.ve@pandora.be

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top